Function at 0x421230
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4ae0
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x645154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x19c]
push eax
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0xe0], 0x5db094
mov dword [ebp - 0xd0], 0x5db09c
push 0
lea eax, [ebp - 0xc8]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 1
push eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x7c], 0x50
movlpd qword [ebp - 0xd8], xmm0
call fcn.004122b0
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xd4], eax
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xe4], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 4], 5
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe4], eax
lea eax, [ebp - 0xc8]
mov ecx, eax
mov dword [ebp - 0x30], eax
call fcn.0040e870
mov dword [ebp - 0xc8], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
push dword [ebp - 0x188]
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 7
call fcn.0041dec0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00412f80
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 8
jb 0x4213a8
mov edx, dword [edx]
test edx, edx
jne 0x4213b0
xor ecx, ecx
jmp 0x4213c4
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4213b5
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00402822
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4213e2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040745d
cmp dword [ebp - 0x188], 1
seta al
mov byte [edi + 4], al
call fcn.00421aa0
fstp dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x2c]
call fcn.00596490
mov esi, eax
mov dword [ebp - 0x178], 0x5dbe2c
push 0
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x2c], 0x11
mov dword [ebp - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x12c], 0x48
call fcn.004122b0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 4], 0xb
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x17c], eax
lea eax, [ebp - 0x174]
mov ecx, eax
mov dword [ebp - 0x30], eax
call fcn.0040e870
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 4
push 0x5dbe34
push esi
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0xd
call fcn.0041dec0
push eax
call fcn.0040dcd0
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x178]
push eax
call fcn.00421be0
cmp dword [eax + 0x14], 8
jb 0x4214d1
mov eax, dword [eax]
push eax
lea ecx, [edi + 8]
call fcn.00446c70
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4214ef
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040745d
lea ecx, [ebp - 0x128]
call fcn.00420940
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0xe
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00598183
add esp, 4
lea ecx, [ebp - 0x78]
call fcn.0040ee80
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 0xf
push eax
mov dword [ebp - 0x78], vtable.std::ios_base.0
call fcn.00598183
add esp, 4
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.00595c5d
mov esp, ebp
pop ebp
ret