Function at 0x43f0d6
Capabilities:
Get system information on windows

Disassembly:
push ebp
sub esp, 0xb8
lea ebp, [esp - 4]
mov eax, dword [0x4c3360]
xor eax, ebp
mov dword [ebp + 0xb8], eax
push 0x44
mov eax, 0x499f67
call fcn.00454d31
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x18], esi
cmp dword [esi + 0xc], ebx
jne 0x43f13a
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x43f133
test byte [eax + 0x1c], 1
je 0x43f133
cmp byte [eax + 0x19], 2
jb 0x43f133
push 0x4a406c
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0042524a
add esp, 0x10
xor eax, eax
jmp 0x43f4b3
mov ecx, dword [esi + 8]
mov edi, dword [ebp + 0xc4]
cmp ecx, edi
jne 0x43f17c
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x43f174
test byte [eax + 0x1c], 1
je 0x43f174
cmp byte [eax + 0x19], 3
jb 0x43f174
push 0x4a406c
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0042524a
add esp, 0x10
mov eax, dword [esi + 0xc]
jmp 0x43f4b3
mov eax, dword [esi + 4]
dec eax
dec eax
je 0x43f433
dec eax
je 0x43f39c
dec eax
je 0x43f354
dec eax
je 0x43f1dd
dec eax
je 0x43f433
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x43f4b1
test byte [eax + 0x1c], 1
je 0x43f4b1
cmp byte [eax + 0x19], 2
jb 0x43f4b1
push 0x4a406c
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0042524a
add esp, 0x10
jmp 0x43f4b1
cmp edi, 0x80
jbe 0x43f34f
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x3c]
call fcn.0043d9d0
and dword [ebp - 4], 0
push edi
mov byte [ebp - 4], 1
call fcn.00435e81
pop ecx
mov dword [esi + 0xc], eax
test eax, eax
jne 0x43f30a
lea ecx, [ebp - 0x50]
call fcn.0040fe34
push 0x4ba0d0
lea eax, [ebp - 0x50]
push eax
call fcn.004548cc
push 0x13
lea ecx, [ebp - 0x3c]
call fcn.0043d98b
push 0x4b0538
lea ecx, [ebp - 0x3c]
call fcn.0043d995
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
call dword [eax + 4]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0043da28
push 0x4a4080
lea ecx, [ebp - 0x3c]
call fcn.0043d977
push 0x175
lea ecx, [ebp - 0x3c]
call fcn.0043d981
lea ecx, [ebp - 0x3c]
call fcn.0043d9ac
push eax
lea ecx, [ebp - 0x3c]
call fcn.0043d99f
push eax
call fcn.004251dc
pop ecx
pop ecx
mov eax, 0x43f301
ret
lea ecx, [ebp - 0x3c]
call fcn.0043d9a3
test al, al
je 0x43f31e
lea eax, [esi + 0x10]
mov dword [esi + 0xc], eax
jmp 0x43f345
push edi
push 0
push dword [esi + 0xc]
mov dword [esi + 4], 2
mov dword [esi + 8], edi
call fcn.004501b0
push dword [ebp - 0x14]
lea eax, [esi + 0x10]
push eax
push dword [esi + 0xc]
call fcn.00450c90
add esp, 0x18
lea ecx, [ebp - 0x3c]
call fcn.0043d9b0
jmp 0x43f394
mov dword [esi + 8], edi
jmp 0x43f394
mov ecx, dword [0x4c69e8]
cmp ecx, ebx
jne 0x43f36f
push 0x4c69e4
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [0x4c69e8]
xor edx, edx
mov eax, edi
div ecx
imul eax, ecx
cmp dword [esi + 8], eax
jbe 0x43f433
xor ebx, ebx
cmp ebx, edx
sbb edx, edx
and edx, ecx
add edx, eax
cmp edx, dword [esi + 8]
jb 0x43f433
mov ebx, dword [esi + 0xc]
jmp 0x43f4b1
push edi
push dword [esi + 0xc]
cmp edi, 0x80
jbe 0x43f406
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ebx, eax
test ebx, ebx
jne 0x43f3ef
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x43f4b1
test byte [eax + 0x1c], 1
je 0x43f4b1
cmp byte [eax + 0x19], 2
jb 0x43f4b1
push 0x4a406c
push 0x14
jmp 0x43f1ca
push ebx
push 0
mov dword [esi + 0xc], ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapSize]
mov dword [esi + 8], eax
jmp 0x43f4b1
lea ebx, [esi + 0x10]
push ebx
mov dword [esi + 4], 5
mov dword [esi + 8], edi
call fcn.00450c90
add esp, 0xc
push dword [esi + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi + 0xc], ebx
jmp 0x43f4b1
lea ecx, [ebp]
call fcn.0043ea68
push edi
push dword [esi + 4]
lea ecx, [ebp]
call fcn.0043eeb6
test eax, eax
jne 0x43f47a
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x43f4a2
test byte [eax + 0x1c], 1
je 0x43f4a2
cmp byte [eax + 0x19], 2
jb 0x43f4a2
push 0x4a406c
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0042524a
add esp, 0x10
jmp 0x43f4a2
mov eax, dword [esi + 8]
cmp dword [ebp + 8], eax
jae 0x43f485
mov eax, dword [ebp + 8]
push eax
push dword [esi + 0xc]
push dword [ebp + 0xc]
call fcn.00450c90
add esp, 0xc
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.0043f04f
mov ebx, dword [esi + 0xc]
lea ecx, [ebp]
mov dword [ebp], 0x4a407c
call fcn.0043ea88
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xb8]
xor ecx, ebp
call fcn.0044fc8e
add ebp, 0xbc
leave
ret 4