Function at 0x5e20e0
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 [0x644040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
lea esi, [ebp - 0x4c]
mov dword [esi], eax
push esi
call fcn.00501440
add esp, 4
mov esi, dword [esi]
mov eax, dword [0x657d60]
test eax, eax
je 0x5e211b
mov ecx, dword [0x657d64]
jmp 0x5e214a
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 [0x657d60], eax
mov dword [0x657d64], ecx
cmp ecx, esi
setbe cl
cmp eax, esi
setae al
test cl, al
jne 0x5e2165
lea ecx, [ebp - 0x80]
mov dword [ecx], 0
xor edx, edx
jmp 0x5e2190
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 0x5e2184
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x80]
mov dword [ecx], 0
call fcn.005e2470
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x80]
test ebx, ebx
jne 0x5e21b9
mov dword [esi], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565ea5
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.00501530
mov dword [ebp - 0x94], esi
mov ecx, esi
mov edx, ebx
call fcn.005e2470
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.00560630
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], 0x622350
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.005bd310
test al, al
je 0x5e228e
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.0045a100
add esp, 0xc
test al, al
jne 0x5e2326
cmp byte [ebp - 0x41], 0
jns 0x5e228e
push dword [ebp - 0x4c]
call fcn.00562bc0
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
call fcn.004f20c0
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 0x5e2304
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x84], eax
cmp byte [ebp - 0x71], 0
mov esi, dword [ebp + 8]
jns 0x5e22d7
push dword [ebp - 0x7c]
call fcn.00562bc0
add esp, 4
lea ecx, [ebp - 0x70]
call fcn.0055ac70
mov edi, dword [edi]
test edi, edi
je 0x5e22f1
call fcn.00501530
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esp, dword [ebp - 0x98]
mov eax, dword [ebp - 0x84]
mov dword [esi], eax
jmp 0x5e21a5
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.005e24c0
add esp, 0xc
mov eax, dword [ebx]
mov dword [ebp - 0x8c], eax
jmp 0x5e22b7
movsx eax, byte [ebp - 0x41]
test eax, eax
cmovs eax, dword [ebp - 0x48]
cmovs ebx, dword [ebp - 0x4c]
test eax, eax
js 0x5e245f
sete cl
test ebx, ebx
setne dl
or dl, cl
je 0x5e2458
lea ecx, [ebp - 0x64]
push eax
push ebx
call fcn.00550450
lea ebx, [ebp - 0x58]
lea ecx, [ebp - 0x64]
push ebx
call fcn.00526f00
lea ecx, [ebp - 0x70]
push ebx
call fcn.0055ac90
mov ecx, ebx
call fcn.0055ac70
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x88], ecx
call fcn.0055ac70
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
push edi
push ebx
call fcn.005b2cd0
add esp, 8
movsx eax, byte [ebx + 0xb]
test eax, eax
jns 0x5e23a0
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x58]
test eax, eax
js 0x5e245f
sete cl
test ebx, ebx
setne dl
or dl, cl
je 0x5e2458
lea ecx, [ebp - 0x58]
push ecx
push 3
push 0x638c58
push eax
push ebx
call fcn.005b3560
add esp, 0x14
push dword [ebp - 0x38]
lea eax, [ebp - 0x64]
push eax
call fcn.00424720
add esp, 8
movsx eax, byte [ebp - 0x59]
test eax, eax
jns 0x5e23f0
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.0053d9b0
cmp byte [ebp - 0x59], 0
jns 0x5e2412
push dword [ebp - 0x64]
call fcn.00562bc0
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 0x5e245f
sete cl
test ebx, ebx
setne dl
or dl, cl
je 0x5e2458
lea ecx, [ebp - 0x7c]
push eax
push ebx
push ecx
call fcn.00530880
add esp, 0xc
cmp byte [ebp - 0x4d], 0
jns 0x5e227d
push dword [ebp - 0x58]
call fcn.00562bc0
add esp, 4
jmp 0x5e227d
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 0x5e2464
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 0x622e92
call fcn.0058fdd0
int3