Function at 0x48dca0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x80
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x5c7040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
lea esi, [ebp - 0x4c]
mov dword [esi], eax
push esi
call fcn.00493be0
add esp, 4
mov esi, dword [esi]
mov eax, dword [0x5dccf0]
test eax, eax
je 0x48dd04
mov ecx, dword [0x5dccf4]
cmp ecx, esi
setbe cl
mov edi, dword [ebp + 8]
cmp eax, esi
setae al
test cl, al
jne 0x48dd35
mov dword [edi], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f5620
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
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 [0x5dccf0], eax
mov dword [0x5dccf4], ecx
jmp 0x48dcd9
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x48dcea
lea ecx, [ebp - 0x34]
push ecx
push eax
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x48dd5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x48dcea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.004b97f0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x8c], esp
sub esp, 8
mov ebx, esp
call fcn.004b97f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebx + 4], esi
call fcn.004b97f0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x74]
mov dword [ebp - 0x88], ebx
mov dword [ebx], eax
xor edi, edi
dec edi
lea ecx, [ebp - 0x70]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004ba390
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x34], xmm0
lea eax, [ebp - 0x38]
mov dword [eax], edi
xor ecx, ecx
lea edx, [ebp - 0x3c]
mov dword [edx], ecx
lea ebx, [ebp - 0x40]
mov dword [ebx], ecx
lea ecx, [ebp - 0x4c]
mov dword [ecx], fcn.00527f50
mov dword [ebp - 0x84], esi
mov dword [ecx + 4], esi
mov esi, ecx
push ebx
push edx
push eax
lea ebx, [ebp - 0x34]
push ebx
call fcn.004c6200
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
test al, al
je 0x48de5a
pxor xmm0, xmm0
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x80], 0
push esi
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
call fcn.004aea70
add esp, 0xc
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
test al, al
jne 0x48df77
cmp byte [ebp - 0x41], 0
jns 0x48de5a
push dword [ebp - 0x4c]
call fcn.004f50ae
add esp, 4
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
call fcn.0043e670
push 0xc
push esi
push dword [ebp - 0x84]
push eax
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
mov ebx, 0
je 0x48df2f
push 0x2c
call fcn.004f507e
add esp, 4
mov ebx, eax
movsd xmm0, qword [ebp - 0x4c]
movsd qword [ebp - 0x34], xmm0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
xor esi, esi
mov eax, dword [ebp - 0x88]
mov dword [eax + 4], esi
call fcn.004b97f0
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edi, eax
call fcn.004b97f0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebx], fcn.0048e0f0
mov dword [ebx + 4], esi
call fcn.004b97f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp dword [ebx + 4], esi
jne 0x48e0c2
mov eax, dword [ebp - 0x84]
mov dword [ebx + 4], eax
call fcn.004b97f0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x10], eax
movq xmm0, qword [ebp - 0x34]
movq qword [ebx + 8], xmm0
cmp dword [ebp - 0x7c], 0
jns 0x48e0d5
lea ecx, [ebx + 0x14]
push dword [ebp - 0x80]
push dword [ebp - 0x78]
call fcn.004a3ea0
lea eax, [ebp - 0x70]
mov ecx, ebx
add ecx, 0x20
push eax
call fcn.004ba3b0
mov dword [ebp - 0x74], ebx
cmp dword [ebp - 0x7c], 0
mov edi, dword [ebp + 8]
jns 0x48df46
push dword [ebp - 0x78]
call fcn.004f50ae
add esp, 4
lea ecx, [ebp - 0x70]
call fcn.004ba510
mov eax, dword [ebp - 0x88]
mov esi, dword [eax + 4]
test esi, esi
je 0x48df67
call fcn.004b97f0
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esp, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x74]
mov dword [edi], eax
jmp 0x48dcf0
movsx eax, byte [ebp - 0x41]
test eax, eax
cmovs eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
cmovns edx, esi
test eax, eax
js 0x48e0b3
sete cl
test edx, edx
setne ch
or ch, cl
je 0x48e0ac
lea ecx, [ebp - 0x64]
push eax
push edx
call fcn.004ba420
lea esi, [ebp - 0x58]
lea ecx, [ebp - 0x64]
push esi
call fcn.004bb420
lea ecx, [ebp - 0x70]
push esi
call fcn.004ba590
mov ecx, esi
call fcn.004ba510
lea ecx, [ebp - 0x64]
call fcn.004ba510
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
push ebx
push esi
call fcn.0043b300
add esp, 8
movsx eax, byte [esi + 0xb]
test eax, eax
jns 0x48dfed
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x58]
test eax, eax
js 0x48e0b3
sete cl
test esi, esi
setne dl
or dl, cl
lea ebx, [ebp - 0x64]
je 0x48e0ac
lea ecx, [ebp - 0x58]
push ecx
push 3
push 0x5b8668
push eax
push esi
call fcn.0043d7f0
add esp, 0x14
push dword [ebp - 0x38]
mov esi, ebx
push ebx
call fcn.0043e040
add esp, 8
movsx eax, byte [ebp - 0x59]
test eax, eax
jns 0x48e039
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x64]
lea ebx, [ebp - 0x58]
mov ecx, ebx
push eax
push esi
call fcn.004a57f0
cmp byte [ebp - 0x59], 0
jns 0x48e056
push dword [ebp - 0x64]
call fcn.004f50ae
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 0x48e0b3
sete cl
test ebx, ebx
setne dl
or dl, cl
je 0x48e0ac
lea esi, [ebp - 0x64]
push eax
push ebx
push esi
call fcn.004af540
add esp, 0xc
mov eax, dword [esi]
mov dword [ebp - 0x78], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x80], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x7c], eax
cmp byte [ebp - 0x4d], 0
jns 0x48e0a4
push dword [ebp - 0x58]
call fcn.004f50ae
add esp, 4
lea esi, [ebp - 0x4c]
jmp 0x48de49
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 0x48e0b8
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 0x59f83f
call fcn.00526860
call fcn.004b97f0
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x48dee4
mov eax, dword [ebp - 0x78]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x80]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebx + 0x1c], eax
jmp 0x48df21