Function at 0x5e37f0
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 [0x646040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
lea esi, [ebp - 0x4c]
mov dword [esi], eax
push esi
call fcn.004ffdf0
add esp, 4
mov esi, dword [esi]
mov eax, dword [0x659d60]
test eax, eax
je 0x5e382b
mov ecx, dword [0x659d64]
jmp 0x5e385a
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 [0x659d60], eax
mov dword [0x659d64], ecx
cmp ecx, esi
setbe cl
cmp eax, esi
setae al
test cl, al
jne 0x5e3875
lea ecx, [ebp - 0x80]
mov dword [ecx], 0
xor edx, edx
jmp 0x5e38a0
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 0x5e3894
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x80]
mov dword [ecx], 0
call fcn.005e3b80
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x80]
test ebx, ebx
jne 0x5e38c9
mov dword [esi], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00567335
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.004ffee0
mov dword [ebp - 0x94], esi
mov ecx, esi
mov edx, ebx
call fcn.005e3b80
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.005618c0
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], 0x624350
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.005bea90
test al, al
je 0x5e399e
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.004590d0
add esp, 0xc
test al, al
jne 0x5e3a36
cmp byte [ebp - 0x41], 0
jns 0x5e399e
push dword [ebp - 0x4c]
call fcn.00564050
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
call fcn.004f0f40
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 0x5e3a14
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x84], eax
cmp byte [ebp - 0x71], 0
mov esi, dword [ebp + 8]
jns 0x5e39e7
push dword [ebp - 0x7c]
call fcn.00564050
add esp, 4
lea ecx, [ebp - 0x70]
call fcn.0055c200
mov edi, dword [edi]
test edi, edi
je 0x5e3a01
call fcn.004ffee0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esp, dword [ebp - 0x98]
mov eax, dword [ebp - 0x84]
mov dword [esi], eax
jmp 0x5e38b5
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.005e3bd0
add esp, 0xc
mov eax, dword [ebx]
mov dword [ebp - 0x8c], eax
jmp 0x5e39c7
movsx eax, byte [ebp - 0x41]
test eax, eax
cmovs eax, dword [ebp - 0x48]
cmovs ebx, dword [ebp - 0x4c]
test eax, eax
js 0x5e3b6f
sete cl
test ebx, ebx
setne dl
or dl, cl
je 0x5e3b68
lea ecx, [ebp - 0x64]
push eax
push ebx
call fcn.00550a00
lea ebx, [ebp - 0x58]
lea ecx, [ebp - 0x64]
push ebx
call fcn.0052a290
lea ecx, [ebp - 0x70]
push ebx
call fcn.0055c220
mov ecx, ebx
call fcn.0055c200
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x88], ecx
call fcn.0055c200
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
push edi
push ebx
call fcn.005b44e0
add esp, 8
movsx eax, byte [ebx + 0xb]
test eax, eax
jns 0x5e3ab0
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x58]
test eax, eax
js 0x5e3b6f
sete cl
test ebx, ebx
setne dl
or dl, cl
je 0x5e3b68
lea ecx, [ebp - 0x58]
push ecx
push 3
push 0x63ac58
push eax
push ebx
call fcn.005b4d70
add esp, 0x14
push dword [ebp - 0x38]
lea eax, [ebp - 0x64]
push eax
call fcn.004243b0
add esp, 8
movsx eax, byte [ebp - 0x59]
test eax, eax
jns 0x5e3b00
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x88], ecx
lea ebx, [ebp - 0x58]
mov ecx, ebx
push eax
push dword [ebp - 0x88]
call fcn.0053bb20
cmp byte [ebp - 0x59], 0
jns 0x5e3b22
push dword [ebp - 0x64]
call fcn.00564050
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 0x5e3b6f
sete cl
test ebx, ebx
setne dl
or dl, cl
je 0x5e3b68
lea ecx, [ebp - 0x7c]
push eax
push ebx
push ecx
call fcn.005426d0
add esp, 0xc
cmp byte [ebp - 0x4d], 0
jns 0x5e398d
push dword [ebp - 0x58]
call fcn.00564050
add esp, 4
jmp 0x5e398d
push str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x5e3b74
push str....._third_partylibc_srcinclude_string_view:318:_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 0x624e92
call fcn.005912b0
int3