Function at 0x439250
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d29e0
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x507254]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4392ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1b
push str.failed_to_get_module_handle
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 0
mov esi, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
call fcn.00403c60
mov dword [edi], esi
movups xmm0, xmmword [ebp - 0x80]
mov dword [edi + 4], 0x507d40
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
movups xmmword [edi + 8], xmm0
movq xmm0, qword [ebp - 0x70]
movq qword [edi + 0x18], xmm0
mov byte [edi + 0x20], 1
jmp 0x43953d
push str.IsWow64Process2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4394bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x68], eax
cmp eax, 0x7f
je 0x43933b
push 0x1f
push str.failed_to_get_wow64_proc_adress
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
call fcn.00403c60
mov eax, dword [ebp - 0x68]
mov dword [edi], eax
jmp 0x4392be
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
jne 0x43942e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x21
push str.failed_to_check_for_wow64_process
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 0
mov esi, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
call fcn.00403c60
movups xmm1, xmmword [ebp - 0x80]
lea ecx, [ebp - 0x88]
mov dword [edi], esi
movq xmm0, qword [ebp - 0x70]
mov dword [edi + 4], 0x507d40
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
movups xmmword [edi + 8], xmm1
mov dword [ebp - 0xa8], esi
movq qword [ebp - 0x90], xmm0
movq qword [ebp - 0x70], xmm0
movups xmmword [ebp - 0xa0], xmm1
mov dword [ebp - 0xa4], 0x507d40
movups xmmword [ebp - 0x80], xmm1
mov dword [ebp - 0x88], esi
movq qword [edi + 0x18], xmm0
mov dword [ebp - 0x84], 0x507d40
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov byte [edi + 0x20], 1
call fcn.00417140
lea ecx, [ebp - 0xa8]
call fcn.00417140
jmp 0x43953d
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x64]
push eax
movups xmmword [ebp - 0x64], xmm0
movups xmmword [ebp - 0x54], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x40]
call fcn.00439130
cmp byte [ebp - 0x20], 0
lea ecx, [ebp - 0x40]
je 0x439490
call fcn.0043b3d0
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.00427ac0
push eax
mov ecx, edi
call fcn.00428500
lea ecx, [ebp - 0xa8]
call fcn.00417140
lea ecx, [ebp - 0x40]
call fcn.00422970
jmp 0x43953d
mov eax, dword [ebp - 0x18]
neg eax
sbb eax, eax
and eax, 0x14c
mov word [ebp - 0x68], ax
call fcn.00420ac0
lea ecx, [ebp - 0x40]
mov ax, word [eax]
mov word [ebp - 0x66], ax
mov eax, dword [ebp - 0x68]
mov dword [edi], eax
mov byte [edi + 0x20], 0
call fcn.00422970
jmp 0x43953d
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push ecx
push esi
call eax
test eax, eax
jne 0x439524
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.failed_to_check_for_wow64_process
mov edx, eax
lea ecx, [ebp - 0xe8]
call fcn.00427b70
add esp, 4
lea ecx, [ebp - 0xc8]
mov edx, eax
call fcn.00427ac0
push eax
mov ecx, edi
call fcn.00428500
lea ecx, [ebp - 0xc8]
call fcn.00417140
lea ecx, [ebp - 0xe8]
call fcn.00417140
jmp 0x43953d
movzx eax, word [ebp - 0x14]
mov word [ebp - 0x14], ax
movzx eax, word [ebp - 0x1c]
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
mov byte [edi + 0x20], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6256
mov esp, ebp
pop ebp
ret