Function at 0x47e1f0
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9abd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x2c]
mov dword [ebp - 0x160], 1
push edi
mov dword [ebp - 0x164], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [esi + 0x1c], 0
je 0x47e3ff
cmp dword [esi + 0x28], 0
jne 0x47e3ff
push 0x70
call fcn.004a57cf
add esp, 4
mov dword [ebp - 0x15c], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0047df50
mov byte [ebp - 4], 0
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x28], eax
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 8]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0x1c], eax
mov ecx, esi
call fcn.0047e680
mov ecx, dword [esi + 0x28]
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], edx
call fcn.0047f4a0
mov ecx, dword [esi + 0x28]
cdq
push 0x11c
push 0
mov dword [ecx + 0x50], eax
lea eax, [ebp - 0x158]
push eax
mov dword [ecx + 0x54], edx
call fcn.004a83c0
add esp, 0xc
lea ecx, [ebp - 0x158]
call fcn.0047f430
test eax, eax
je 0x47e31a
mov ecx, dword [esi + 0x28]
movzx eax, word [ebp - 0x154]
mov word [ecx + 0x30], ax
mov ecx, dword [esi + 0x28]
movzx eax, word [ebp - 0x150]
mov word [ecx + 0x32], ax
mov ecx, dword [esi + 0x28]
movzx eax, word [ebp - 0x44]
mov word [ecx + 0x36], ax
mov ecx, dword [esi + 0x28]
movzx eax, word [ebp - 0x14c]
mov word [ecx + 0x34], ax
jmp 0x47e338
mov eax, dword [esi + 0x28]
xor ecx, ecx
mov word [eax + 0x30], cx
mov eax, dword [esi + 0x28]
mov word [eax + 0x32], cx
mov eax, dword [esi + 0x28]
mov word [eax + 0x36], cx
mov eax, dword [esi + 0x28]
mov word [eax + 0x34], cx
xorps xmm0, xmm0
mov dword [ebp - 0x168], 0
push str.GetNativeSystemInfo
push str.kernel32.dll
movups xmmword [ebp - 0x188], xmm0
movups xmmword [ebp - 0x178], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47e379
lea ecx, [ebp - 0x188]
push ecx
call eax
jmp 0x47e386
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esi + 0x28]
mov ax, word [ebp - 0x188]
mov word [ecx + 0x38], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, dword [esi + 0x28]
mov word [ecx + 0x3a], ax
call fcn.0047e440
mov ecx, dword [esi + 0x28]
xorps xmm0, xmm0
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], edx
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
mov word [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.0046bfa0
test eax, eax
je 0x47e3ff
cmp byte [ebp - 0x38], 0
mov edx, dword [esi + 0x28]
jne 0x47e3d9
xor eax, eax
jmp 0x47e3f2
lea eax, [ebp - 0x38]
lea ecx, [eax + 1]
mov dword [ebp - 0x15c], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47e3e5
sub eax, dword [ebp - 0x15c]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [edx + 0x58]
call fcn.00438c00
xor eax, eax
cmp dword [esi + 0x28], eax
push edi
setne al
mov dword [ebp - 0x15c], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret