Function at 0x5e1f50
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.005017e0
add esp, 4
mov esi, dword [esi]
mov eax, dword [0x657d60]
test eax, eax
je 0x5e1f8b
mov ecx, dword [0x657d64]
jmp 0x5e1fba
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 0x5e1fd5
lea ecx, [ebp - 0x80]
mov dword [ecx], 0
xor edx, edx
jmp 0x5e2000
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 0x5e1ff4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x80]
mov dword [ecx], 0
call fcn.005e22e0
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x80]
test ebx, ebx
jne 0x5e2029
mov dword [esi], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00566245
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.005018d0
mov dword [ebp - 0x94], esi
mov ecx, esi
mov edx, ebx
call fcn.005e22e0
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.005609d0
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.005bd690
test al, al
je 0x5e20fe
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.0045a290
add esp, 0xc
test al, al
jne 0x5e2196
cmp byte [ebp - 0x41], 0
jns 0x5e20fe
push dword [ebp - 0x4c]
call fcn.00562f60
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
call fcn.004f2070
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 0x5e2174
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x84], eax
cmp byte [ebp - 0x71], 0
mov esi, dword [ebp + 8]
jns 0x5e2147
push dword [ebp - 0x7c]
call fcn.00562f60
add esp, 4
lea ecx, [ebp - 0x70]
call fcn.0055b010
mov edi, dword [edi]
test edi, edi
je 0x5e2161
call fcn.005018d0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esp, dword [ebp - 0x98]
mov eax, dword [ebp - 0x84]
mov dword [esi], eax
jmp 0x5e2015
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.005e2330
add esp, 0xc
mov eax, dword [ebx]
mov dword [ebp - 0x8c], eax
jmp 0x5e2127
movsx eax, byte [ebp - 0x41]
test eax, eax
cmovs eax, dword [ebp - 0x48]
cmovs ebx, dword [ebp - 0x4c]
test eax, eax
js 0x5e22cf
sete cl
test ebx, ebx
setne dl
or dl, cl
je 0x5e22c8
lea ecx, [ebp - 0x64]
push eax
push ebx
call fcn.00550e10
lea ebx, [ebp - 0x58]
lea ecx, [ebp - 0x64]
push ebx
call fcn.005271e0
lea ecx, [ebp - 0x70]
push ebx
call fcn.0055b030
mov ecx, ebx
call fcn.0055b010
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x88], ecx
call fcn.0055b010
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
push edi
push ebx
call fcn.005b3050
add esp, 8
movsx eax, byte [ebx + 0xb]
test eax, eax
jns 0x5e2210
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x58]
test eax, eax
js 0x5e22cf
sete cl
test ebx, ebx
setne dl
or dl, cl
je 0x5e22c8
lea ecx, [ebp - 0x58]
push ecx
push 3
push 0x638c38
push eax
push ebx
call fcn.005b38e0
add esp, 0x14
push dword [ebp - 0x38]
lea eax, [ebp - 0x64]
push eax
call fcn.00425500
add esp, 8
movsx eax, byte [ebp - 0x59]
test eax, eax
jns 0x5e2260
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.0053d1f0
cmp byte [ebp - 0x59], 0
jns 0x5e2282
push dword [ebp - 0x64]
call fcn.00562f60
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 0x5e22cf
sete cl
test ebx, ebx
setne dl
or dl, cl
je 0x5e22c8
lea ecx, [ebp - 0x7c]
push eax
push ebx
push ecx
call fcn.00543680
add esp, 0xc
cmp byte [ebp - 0x4d], 0
jns 0x5e20ed
push dword [ebp - 0x58]
call fcn.00562f60
add esp, 4
jmp 0x5e20ed
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 0x5e22d4
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.00590170
int3