Function at 0x43d780
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f0ad
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x472100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edx, dword [esi + 0x248]
mov eax, dword [esi + 0x240]
mov eax, dword [eax + 4]
lea ecx, [esi + 0x240]
push edx
push ebx
call eax
add esi, 0xc
call fcn.00455a20
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x44]
or eax, 0xffffffff
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x44], ebx
mov dword [esi + 4], 4
cmp ebx, dword [ebp + 0x14]
mov dword [ebp - 0x14], ebx
jge 0x43d9a2
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + ebx*4]
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], ecx
xor esi, esi
cmp word [edx + esi*2], 0
je 0x43d824
add esi, 1
jmp 0x43d818
lea eax, [esi + 1]
cmp eax, ecx
je 0x43d883
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041000f
add esp, 4
cmp dword [ebp - 0x1c], 0
mov ebx, eax
jle 0x43d86c
xor eax, eax
mov edi, edi
xor ecx, ecx
cmp eax, ecx
jge 0x43d863
mov cx, word [edi + eax*2]
mov word [ebx + eax*2], cx
add eax, 1
jmp 0x43d850
push edi
call fcn.00410615
add esp, 4
mov edx, dword [ebp - 0x18]
xor eax, eax
mov word [ebx + eax*2], ax
mov edi, ebx
mov ebx, dword [ebp - 0x14]
lea eax, [esi + 1]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], eax
mov ecx, edi
movzx eax, word [edx]
mov word [ecx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x43d885
mov dword [ebp - 0x20], esi
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_CharUpperW]
test esi, esi
jne 0x43d8ca
push edi
call fcn.00410615
add esp, 4
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, ebx
shl eax, 4
add eax, dword [ebp + 0x10]
cmp word [edi], 0x42
jne 0x43d979
mov eax, 1
cmp esi, eax
jge 0x43d8eb
test esi, esi
mov eax, esi
jle 0x43d902
sub esi, eax
lea edx, [esi + esi + 2]
push edx
lea eax, [edi + eax*2]
push eax
push edi
call fcn.00412e40
add esp, 0xc
mov dword [ebp - 0x20], esi
lea ebx, [ebp - 0x34]
lea edi, [ebp - 0x24]
call fcn.0043d250
mov esi, eax
test esi, esi
je 0x43d935
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00410615
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [ebp + 8]
add eax, 0x240
call fcn.0040a940
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x24]
push edx
call fcn.00410615
mov ebx, dword [ebp - 0x14]
add esp, 4
add ebx, 1
jmp 0x43d7f7
push eax
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
mov ecx, edi
call fcn.00456a70
mov esi, eax
test esi, esi
push edi
jne 0x43d917
mov byte [ebp - 4], al
call fcn.00410615
add esp, 4
add ebx, 1
jmp 0x43d7f7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10