Function at 0x410550
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41324d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x87f03c]
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, ecx
mov dword [ebp - 0x48], esi
mov eax, dword [ebp + 8]
push eax
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esi + 0x214], eax
test eax, eax
jne 0x410679
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
push 0x20
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x28], xmm0
call fcn.00403290
movups xmm0, xmmword [str.Fatal:_Could_not_open_process_n]
mov edx, eax
mov dword [ebp - 0x18], 0x1e
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x14], 0x1f
movups xmmword [edx], xmm0
movq xmm0, qword [0x87ae80]
movq qword [edx + 0x10], xmm0
mov ecx, dword [0x87ae88]
mov dword [edx + 0x18], ecx
mov ax, word [0x87ae8c]
mov word [edx + 0x1c], ax
mov byte [edx + 0x1e], 0
cmp dword [esi + 0x238], 0
mov dword [ebp - 4], 0
je 0x410641
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
call fcn.0040a180
push edx
push eax
call fcn.0040ad50
mov ecx, dword [esi + 0x238]
lea eax, [ebp - 0x28]
add esp, 0x10
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
push eax
call fcn.00403340
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x410879
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41086f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41086f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x6c], 9
jne 0x41078f
lea eax, [ebp - 0x44]
push eax
push dword [esi + 0x214]
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
jne 0x4107ae
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
push 0x40
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x28], xmm0
call fcn.00403290
movups xmm0, xmmword [str.Warning:_Could_not_determine_bitness_of_target_process_n]
mov ecx, eax
mov dword [ebp - 0x18], 0x37
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], 0x3f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x87aea0]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x87aeb0]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [0x87aec0]
mov dword [ecx + 0x30], eax
mov ax, word [0x87aec4]
mov word [ecx + 0x34], ax
mov al, byte [0x87aec6]
mov byte [ecx + 0x36], al
mov byte [ecx + 0x37], 0
cmp dword [esi + 0x238], 0
mov dword [ebp - 4], 1
je 0x410759
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
call fcn.0040a180
push edx
push eax
call fcn.0040ad50
mov ecx, dword [esi + 0x238]
lea eax, [ebp - 0x28]
add esp, 0x10
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
push eax
call fcn.00403340
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x41078f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410785
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x410785
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040e25c
add esp, 8
mov al, 1
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.0040e6c4
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x44], 0
jne 0x41078f
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x40
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
movups xmmword [ebp - 0x40], xmm0
call fcn.00403290
mov dword [ebp - 0x40], eax
mov ecx, 0xf
mov dword [ebp - 0x30], 0x3f
mov esi, str.Fatal:_Can_not_inject_into_64_bit_process_from_32_bit_injector_n
mov dword [ebp - 0x2c], 0x3f
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov byte [eax + 0x3f], 0
mov esi, dword [ebp - 0x48]
mov dword [ebp - 4], 2
cmp dword [esi + 0x238], 0
je 0x410843
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push 0
call fcn.0040a180
push edx
push eax
call fcn.0040ad50
mov ecx, dword [esi + 0x238]
lea eax, [ebp - 0x40]
add esp, 0x10
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push dword [ebp - 0x30]
push eax
call fcn.00403340
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x410879
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41086f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41086f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040e25c
add esp, 8
xor al, al
jmp 0x410791