Function at 0x5e25a0
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.004ef3c0
add esp, 4
mov esi, dword [esi]
mov eax, dword [0x657d40]
test eax, eax
je 0x5e25db
mov ecx, dword [0x657d44]
jmp 0x5e260a
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 [0x657d40], eax
mov dword [0x657d44], ecx
cmp ecx, esi
ja 0x5e263f
cmp eax, esi
jb 0x5e263f
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 0x5e2631
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x80]
mov dword [ecx], 0
jmp 0x5e264a
lea ecx, [ebp - 0x80]
mov dword [ecx], 0
xor edx, edx
call fcn.005e2920
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x80]
test ebx, ebx
jne 0x5e2673
mov dword [esi], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
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.004ef4b0
mov dword [ebp - 0x94], esi
mov ecx, esi
mov edx, ebx
call fcn.005e2920
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.00563150
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], 0x623490
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.005bfc90
test al, al
je 0x5e2748
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.004519d0
add esp, 0xc
test al, al
jne 0x5e27e0
cmp byte [ebp - 0x41], 0
jns 0x5e2748
push dword [ebp - 0x4c]
call fcn.00564ea0
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
call fcn.004ecb50
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 0x5e27be
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x84], eax
cmp byte [ebp - 0x71], 0
mov esi, dword [ebp + 8]
jns 0x5e2791
push dword [ebp - 0x7c]
call fcn.00564ea0
add esp, 4
lea ecx, [ebp - 0x70]
call fcn.00558c00
mov edi, dword [edi]
test edi, edi
je 0x5e27ab
call fcn.004ef4b0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esp, dword [ebp - 0x98]
mov eax, dword [ebp - 0x84]
mov dword [esi], eax
jmp 0x5e265f
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.005e2970
add esp, 0xc
mov eax, dword [ebx]
mov dword [ebp - 0x8c], eax
jmp 0x5e2771
movsx eax, byte [ebp - 0x41]
test eax, eax
cmovs eax, dword [ebp - 0x48]
cmovs ebx, dword [ebp - 0x4c]
test eax, eax
js 0x5e2908
je 0x5e2800
test ebx, ebx
je 0x5e2901
lea ecx, [ebp - 0x64]
push eax
push ebx
call fcn.0054e8c0
lea ebx, [ebp - 0x58]
lea ecx, [ebp - 0x64]
push ebx
call fcn.00525da0
lea ecx, [ebp - 0x70]
push ebx
call fcn.00558c20
mov ecx, ebx
call fcn.00558c00
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x88], ecx
call fcn.00558c00
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
push edi
push ebx
call fcn.005b5e40
mov edx, ebx
add esp, 8
movsx eax, byte [ebx + 0xb]
test eax, eax
jns 0x5e2856
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
test eax, eax
js 0x5e2908
je 0x5e2868
test edx, edx
je 0x5e2901
lea ecx, [ebp - 0x58]
mov ebx, ecx
push ecx
push 3
push 0x63914c
push eax
push edx
call fcn.005b6550
add esp, 0x14
push dword [ebp - 0x38]
lea eax, [ebp - 0x64]
push eax
call fcn.004202d0
add esp, 8
movsx eax, byte [ebp - 0x59]
test eax, eax
jns 0x5e28a2
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.00539af0
cmp byte [ebp - 0x59], 0
jns 0x5e28c1
push dword [ebp - 0x64]
call fcn.00564ea0
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 0x5e2908
je 0x5e28d9
test ebx, ebx
je 0x5e2901
lea ecx, [ebp - 0x7c]
push eax
push ebx
push ecx
call fcn.00530a10
add esp, 0xc
cmp byte [ebp - 0x4d], 0
jns 0x5e2737
push dword [ebp - 0x58]
call fcn.00564ea0
add esp, 4
jmp 0x5e2737
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 0x5e290d
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 0x624173
call fcn.00591ed0
int3