Function at 0x4823d0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1617
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x4d2a20]
xor eax, ebp
mov dword [ebp - 0x40], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x178], ecx
mov eax, dword [ebp - 0x178]
add eax, 0x8c
push eax
lea ecx, [ebp - 0x14]
call fcn.0043ee3e
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x178]
call fcn.00481ec0
test eax, eax
je 0x48265d
mov ecx, dword [ebp - 0x178]
cmp dword [ecx + 0x1c], 0
jne 0x48265d
push 0x80
call fcn.0047683a
add esp, 4
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x170], 0
je 0x482472
mov ecx, dword [ebp - 0x170]
call fcn.004429b0
mov dword [ebp - 0x17c], eax
jmp 0x48247c
mov dword [ebp - 0x17c], 0
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x16c], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x16c]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 0x178]
mov eax, dword [edx + 0x1c]
mov ecx, dword [ebp - 0x178]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x178]
mov eax, dword [edx + 8]
mov dword [ecx + 0x20], eax
mov edx, dword [edx + 0xc]
mov dword [ecx + 0x24], edx
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x178]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x30], eax
mov edx, dword [edx + 0x14]
mov dword [ecx + 0x34], edx
call fcn.00481470
cdq
mov ecx, dword [ebp - 0x178]
mov ecx, dword [ecx + 0x1c]
mov dword [ecx + 0x58], eax
mov dword [ecx + 0x5c], edx
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
push 0x118
push 0
lea edx, [ebp - 0x160]
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x164]
push eax
call fcn.004814d0
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x48258f
mov ecx, dword [ebp - 0x178]
mov edx, dword [ecx + 0x1c]
mov ax, word [ebp - 0x160]
mov word [edx + 0x38], ax
mov ecx, dword [ebp - 0x178]
mov edx, dword [ecx + 0x1c]
mov ax, word [ebp - 0x15c]
mov word [edx + 0x3a], ax
mov ecx, dword [ebp - 0x178]
mov edx, dword [ecx + 0x1c]
mov ax, word [ebp - 0x50]
mov word [edx + 0x3e], ax
mov ecx, dword [ebp - 0x178]
mov edx, dword [ecx + 0x1c]
mov ax, word [ebp - 0x158]
mov word [edx + 0x3c], ax
jmp 0x4825cb
mov ecx, dword [ebp - 0x178]
mov edx, dword [ecx + 0x1c]
mov word [edx + 0x38], 0
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 0x1c]
mov word [ecx + 0x3a], 0
mov edx, dword [ebp - 0x178]
mov eax, dword [edx + 0x1c]
mov word [eax + 0x3e], 0
mov ecx, dword [ebp - 0x178]
mov edx, dword [ecx + 0x1c]
mov word [edx + 0x3c], 0
mov dword [ebp - 0x3c], 0
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
push 0x4ae19c
push 0x4ae1b0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x482615
lea ecx, [ebp - 0x3c]
push ecx
call dword [ebp - 0x18]
jmp 0x48261f
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 0x1c]
mov dx, word [ebp - 0x3c]
mov word [ecx + 0x40], dx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, dword [ebp - 0x178]
mov edx, dword [ecx + 0x1c]
mov word [edx + 0x42], ax
mov ecx, dword [ebp - 0x178]
call fcn.00482150
mov ecx, dword [ebp - 0x178]
mov ecx, dword [ecx + 0x1c]
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x4c], edx
mov edx, dword [ebp - 0x178]
xor eax, eax
cmp dword [edx + 0x1c], 0
setne al
mov dword [ebp - 0x174], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043ee22
mov eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.0047676d
mov esp, ebp
pop ebp
ret