Function at 0x601190
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x8c
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x64a040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
lea esi, [ebp - 0x4c]
mov dword [esi], eax
push esi
call fcn.00505000
add esp, 4
mov esi, dword [esi]
mov eax, dword [0x65dd40]
test eax, eax
je 0x6011cb
mov ecx, dword [0x65dd44]
jmp 0x6011fa
pcmpeqd xmm0, xmm0
lea edi, [ebp - 0x34]
movdqu xmmword [edi + 0x10], xmm0
movdqu xmmword [edi], xmm0
mov dword [edi + 0x20], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov dword [0x65dd40], eax
mov dword [0x65dd44], ecx
cmp ecx, esi
ja 0x60122f
cmp eax, esi
jb 0x60122f
lea eax, [ebp - 0x34]
mov dword [eax], 0
push eax
push dword [ebp - 0x4c]
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x601221
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x80]
mov dword [ecx], 0
jmp 0x60123a
lea ecx, [ebp - 0x80]
mov dword [ecx], 0
xor edx, edx
call fcn.00601510
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x80]
test ebx, ebx
jne 0x601263
mov dword [esi], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005810d5
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x98], esp
sub esp, 8
mov edi, esp
lea esi, [edi + 4]
xor eax, eax
mov dword [edi + 4], eax
call fcn.005050f0
mov dword [ebp - 0x94], esi
mov ecx, esi
mov edx, ebx
call fcn.00601510
lea eax, [ebp - 0x84]
mov dword [edi], eax
xor esi, esi
dec esi
lea ecx, [ebp - 0x70]
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
call fcn.0057b7b0
xor ebx, ebx
mov dword [ebp - 0x74], ebx
pxor xmm0, xmm0
movq qword [ebp - 0x7c], xmm0
mov ecx, dword [edi + 4]
pcmpeqd xmm0, xmm0
lea eax, [ebp - 0x34]
movdqu xmmword [eax], xmm0
lea eax, [ebp - 0x38]
mov dword [eax], esi
lea edx, [ebp - 0x3c]
mov dword [edx], ebx
xor ebx, ebx
lea edi, [ebp - 0x40]
mov dword [ebp - 0x8c], 0
mov dword [edi], ebx
lea ebx, [ebp - 0x4c]
mov dword [ebx], 0x6294a0
mov dword [ebp - 0x90], ecx
mov dword [ebx + 4], ecx
mov ecx, ebx
push edi
lea edi, [ebp - 0x34]
push edx
push eax
push edi
call fcn.005e1400
test al, al
je 0x601338
pxor xmm0, xmm0
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], 0
push ebx
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
call fcn.005daa00
add esp, 0xc
test al, al
jne 0x6013d0
cmp byte [ebp - 0x41], 0
jns 0x601338
push dword [ebp - 0x4c]
call fcn.0057dc2b
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
call fcn.00501fb0
push 0xc
push edi
push dword [ebp - 0x90]
push eax
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
mov eax, edi
mov edi, dword [ebp - 0x94]
jne 0x6013ae
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x84], eax
cmp byte [ebp - 0x71], 0
mov esi, dword [ebp + 8]
jns 0x601381
push dword [ebp - 0x7c]
call fcn.0057dc2b
add esp, 4
lea ecx, [ebp - 0x70]
call fcn.0053cc40
mov edi, dword [edi]
test edi, edi
je 0x60139b
call fcn.005050f0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esp, dword [ebp - 0x98]
mov eax, dword [ebp - 0x84]
mov dword [esi], eax
jmp 0x60124f
lea ebx, [ebp - 0x4c]
mov ecx, ebx
mov edx, edi
lea esi, [ebp - 0x70]
push esi
lea esi, [ebp - 0x7c]
push esi
push eax
call fcn.00601560
add esp, 0xc
mov eax, dword [ebx]
mov dword [ebp - 0x8c], eax
jmp 0x601361
movsx eax, byte [ebp - 0x41]
test eax, eax
cmovs eax, dword [ebp - 0x48]
cmovs ebx, dword [ebp - 0x4c]
test eax, eax
js 0x6014f8
je 0x6013f0
test ebx, ebx
je 0x6014f1
lea ecx, [ebp - 0x64]
push eax
push ebx
call fcn.0056adc0
lea ebx, [ebp - 0x58]
lea ecx, [ebp - 0x64]
push ebx
call fcn.00545430
lea ecx, [ebp - 0x70]
push ebx
call fcn.00573a30
mov ecx, ebx
call fcn.0053cc40
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x88], ecx
call fcn.0053cc40
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
push edi
push ebx
call fcn.005d7350
mov edx, ebx
add esp, 8
movsx eax, byte [ebx + 0xb]
test eax, eax
jns 0x601446
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
test eax, eax
js 0x6014f8
je 0x601458
test edx, edx
je 0x6014f1
lea ecx, [ebp - 0x58]
mov ebx, ecx
push ecx
push 3
push 0x63f0ac
push eax
push edx
call fcn.005d7a70
add esp, 0x14
push dword [ebp - 0x38]
lea eax, [ebp - 0x64]
push eax
call fcn.0043b310
add esp, 8
movsx eax, byte [ebp - 0x59]
test eax, eax
jns 0x601492
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x88], ecx
mov ecx, ebx
push eax
push dword [ebp - 0x88]
call fcn.0054e9f0
cmp byte [ebp - 0x59], 0
jns 0x6014b1
push dword [ebp - 0x64]
call fcn.0057dc2b
add esp, 4
movsx eax, byte [ebp - 0x4d]
test eax, eax
cmovs eax, dword [ebp - 0x54]
cmovs ebx, dword [ebp - 0x58]
test eax, eax
js 0x6014f8
je 0x6014c9
test ebx, ebx
je 0x6014f1
lea ecx, [ebp - 0x7c]
push eax
push ebx
push ecx
call fcn.00557410
add esp, 0xc
cmp byte [ebp - 0x4d], 0
jns 0x601327
push dword [ebp - 0x58]
call fcn.0057dc2b
add esp, 4
jmp 0x601327
push str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x6014fd
push str....._third_partylibc_srcinclude_string_view:314:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
push 0x62a183
call fcn.005aacb0
int3