Function at 0x43d770
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45efad
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.00455940
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 0x43d992
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 0x43d814
add esi, 1
jmp 0x43d808
lea eax, [esi + 1]
cmp eax, ecx
je 0x43d873
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 0x43d85c
xor eax, eax
mov edi, edi
xor ecx, ecx
cmp eax, ecx
jge 0x43d853
mov cx, word [edi + eax*2]
mov word [ebx + eax*2], cx
add eax, 1
jmp 0x43d840
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 0x43d875
mov dword [ebp - 0x20], esi
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_CharUpperW]
test esi, esi
jne 0x43d8ba
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 0x43d969
mov eax, 1
cmp esi, eax
jge 0x43d8db
test esi, esi
mov eax, esi
jle 0x43d8f2
sub esi, eax
lea edx, [esi + esi + 2]
push edx
lea eax, [edi + eax*2]
push eax
push edi
call fcn.00412e30
add esp, 0xc
mov dword [ebp - 0x20], esi
lea ebx, [ebp - 0x34]
lea edi, [ebp - 0x24]
call fcn.0043d240
mov esi, eax
test esi, esi
je 0x43d925
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.0040ab10
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 0x43d7e7
push eax
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
mov ecx, edi
call fcn.00456990
mov esi, eax
test esi, esi
push edi
jne 0x43d907
mov byte [ebp - 4], al
call fcn.00410615
add esp, 4
add ebx, 1
jmp 0x43d7e7
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