Function at 0x4b43d0
Capabilities:
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x5f3024]
xor ecx, ebp
mov dword [esp + 0x78], ecx
lea esi, [esp + 0x38]
mov dword [esi], eax
push esi
call fcn.004c5c00
add esp, 4
mov esi, dword [esi]
mov eax, dword [0x608e2c]
test eax, eax
je 0x4b4413
mov ecx, dword [0x608e30]
jmp 0x4b4443
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x50]
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
mov dword [edi + 0x20], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov dword [0x608e2c], eax
mov dword [0x608e30], ecx
cmp ecx, esi
ja 0x4b4648
cmp eax, esi
jb 0x4b4648
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4b4648
lea ecx, [esp + 0x50]
push ecx
push eax
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x4b447f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
test eax, eax
je 0x4b4648
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov edi, eax
call fcn.004cfef0
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
call ebx
mov dword [esp + 0x10], esp
call fcn.004cfef0
call esi
mov edi, eax
call fcn.004cfef0
push edi
call ebx
xor esi, esi
dec esi
lea ecx, [esp + 0x14]
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
call fcn.004ced90
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
lea eax, [esp + 0x4c]
mov dword [eax], esi
xor ecx, ecx
lea edx, [esp + 0x48]
mov dword [edx], ecx
lea edi, [esp + 0x44]
mov dword [edi], ecx
lea ecx, [esp + 0x38]
mov dword [ecx], fcn.00541810
mov ebx, dword [esp + 0xc]
mov dword [ecx + 4], ebx
push edi
mov edi, ecx
push edx
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0048ab40
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
test al, al
je 0x4b457a
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 4], 0
mov dword [esp + 0x40], eax
push edi
push dword [esp + 0x48]
push dword [esp + 0x50]
call fcn.00460680
add esp, 0xc
mov dword [esp], 0
mov dword [esp + 8], 0
test al, al
jne 0x4b46a4
cmp byte [esp + 0x43], 0
jns 0x4b457a
push dword [esp + 0x38]
call fcn.0050d60e
add esp, 4
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call fcn.00468760
push 0xc
push edi
mov edi, dword [esp + 0x14]
push edi
push eax
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
je 0x4b4650
push 0x2c
call fcn.0050d5de
add esp, 4
mov ebx, eax
movsd xmm0, qword [esp + 0x38]
movsd qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x58], eax
call fcn.004cfef0
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov esi, edi
mov edi, eax
call fcn.004cfef0
push edi
mov eax, dword [sym.imp.KERNEL32.dll_SetLastError]
call eax
mov dword [ebx], fcn.004b47f0
mov dword [ebx + 4], 0
call fcn.004cfef0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebx + 4], esi
call fcn.004cfef0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x10], eax
movq xmm0, qword [esp + 0x50]
movq qword [ebx + 8], xmm0
mov esi, dword [esp + 8]
test esi, esi
jns 0x4b47cf
lea ecx, [ebx + 0x14]
push dword [esp + 4]
push dword [esp + 4]
call fcn.00450630
mov ecx, ebx
add ecx, 0x20
lea eax, [esp + 0x14]
push eax
call fcn.004cedb0
xor edi, edi
jmp 0x4b4656
mov dword [ebx], 0
jmp 0x4b468f
mov esi, dword [esp + 8]
xor ebx, ebx
mov dword [esp + 0x50], ebx
test esi, esi
jns 0x4b4669
push dword [esp]
call fcn.0050d60e
add esp, 4
lea ecx, [esp + 0x14]
call fcn.004cefd0
test edi, edi
mov ebx, dword [ebp + 8]
je 0x4b4685
call fcn.004cfef0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esp, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
mov dword [ebx], eax
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.0050dc12
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [esp + 0x43]
test al, al
jns 0x4b46b7
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
jmp 0x4b46bc
and eax, 0x7f
mov edx, edi
lea ecx, [esp + 0x20]
push eax
push edx
call fcn.004ceea0
lea ebx, [esp + 0x2c]
lea ecx, [esp + 0x20]
push ebx
call fcn.004cf110
lea ecx, [esp + 0x14]
push ebx
call fcn.004558e0
mov ecx, ebx
call fcn.004cefd0
lea ecx, [esp + 0x20]
call fcn.004cefd0
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
lea eax, [esp + 0x50]
push eax
push ebx
call fcn.0046ac40
add esp, 8
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4b4717
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
jmp 0x4b471c
and eax, 0x7f
mov ecx, ebx
push ebx
push 3
push 0x5e7c78
push eax
push ecx
call fcn.00468de0
add esp, 0x14
push dword [esp + 0x4c]
lea eax, [esp + 0x24]
push eax
call fcn.00468ab0
add esp, 8
movzx eax, byte [esp + 0x2b]
test al, al
jns 0x4b4752
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
jmp 0x4b4759
and eax, 0x7f
lea edx, [esp + 0x20]
lea ecx, [esp + 0x2c]
push eax
push edx
call fcn.00451a60
cmp byte [esp + 0x2b], 0
jns 0x4b4777
push dword [esp + 0x20]
call fcn.0050d60e
add esp, 4
movzx eax, byte [esp + 0x37]
test al, al
jns 0x4b478a
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
jmp 0x4b4791
and eax, 0x7f
lea ecx, [esp + 0x2c]
lea ebx, [esp + 0x20]
push eax
push ecx
push ebx
call fcn.004d9bb0
add esp, 0xc
mov eax, dword [ebx]
mov dword [esp], eax
mov eax, dword [ebx + 4]
mov dword [esp + 4], eax
mov eax, dword [ebx + 8]
mov dword [esp + 8], eax
cmp byte [esp + 0x37], 0
jns 0x4b4567
push dword [esp + 0x2c]
call fcn.0050d60e
add esp, 4
jmp 0x4b4567
mov eax, dword [esp]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 4]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
jmp 0x4b4635