Function at 0x49dde3
Capabilities:
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
cmp dword [ecx + 0x48], 0
jne 0x49e3d6
lea eax, [esp + 0xc0]
xorps xmm0, xmm0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
and dword [eax + 0x20], 0
movaps xmmword [eax + 0x10], xmm0
movaps xmmword [eax], xmm0
push eax
call sub.KERNEL32.dll_GetSystemInfo
mov eax, SysReAllocString
xor ecx, ecx
mov esi, ebx
cpuid
xchg ebx, esi
cmp eax, reloc.WS2_32.dll_connect
mov dword [esp + 0xc], eax
jb 0x49dee5
push 4
pop ecx
push 0x50
pop edx
call fcn.0045244b
test eax, eax
je 0x49e3e5
mov esi, eax
lea eax, [esp + 0x2c]
mov cl, 1
xor edi, edi
mov dword [eax], esi
mov dword [eax + 4], 5
mov eax, SysReAllocString
test cl, 1
mov dword [esp + 0x34], edi
je 0x49df01
cmp eax, dword [esp + 0xc]
ja 0x49df01
setb byte [esp + 4]
mov dword [esp + 0x28], eax
xor ecx, ecx
mov ebx, ebx
cpuid
xchg ebx, ebx
mov dword [esp + 0x10], ebx
mov ebx, eax
cmp edi, dword [esp + 0x30]
jne 0x49deb9
mov dword [esp + 8], ecx
mov esi, edx
lea ecx, [esp + 0x2c]
mov edx, edi
call fcn.0049c76c
mov edx, esi
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
shl edi, 4
mov dword [esi + edi], ebx
mov dword [esi + edi + 4], eax
mov dword [esi + edi + 8], ecx
mov cl, byte [esp + 4]
mov dword [esi + edi + 0xc], edx
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x34]
movzx eax, cl
add edx, eax
inc edi
mov eax, edx
jmp 0x49de66
xor eax, eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x20], 0
inc eax
mov dword [esp + 8], eax
jmp 0x49e03a
push 0x30
pop ecx
xor edx, edx
xor ebx, ebx
call fcn.0044c587
lea ecx, [esp + 0x14]
shl edi, 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
and dword [ecx + 8], 0
add edi, esi
push 2
pop eax
push 5
pop edx
test bl, 1
je 0x49df35
test edx, edx
je 0x49df93
cmp esi, edi
je 0x49df93
dec edx
jmp 0x49df4f
cmp edx, eax
jbe 0x49df93
mov ecx, edi
sub ecx, esi
shr ecx, 4
cmp ecx, eax
jbe 0x49df93
mov ecx, eax
shl eax, 4
not ecx
add esi, eax
add edx, ecx
mov dword [esp + 4], edx
mov edx, dword [esi]
lea ebx, [esp + 0x14]
lea eax, [esi + 0x10]
mov ecx, ebx
mov dword [esp + 0x10], eax
call fcn.0049e3fa
mov edx, dword [esi + 4]
mov ecx, ebx
call fcn.0049e3fa
mov edx, dword [esi + 8]
mov ecx, ebx
call fcn.0049e3fa
mov edx, dword [esi + 0xc]
mov ecx, ebx
call fcn.0049e3fa
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 4]
xor eax, eax
mov bl, 1
jmp 0x49df25
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
xor eax, eax
cmp edx, eax
je 0x49dfaa
cmp byte [esi + eax], 0
je 0x49dfac
inc eax
jmp 0x49df9d
mov eax, edx
mov ecx, esi
push 0x4eca00
push eax
call fcn.0049e434
pop ecx
pop ecx
mov edi, edx
lea ebx, [esp + 0x58]
mov edx, eax
mov ecx, ebx
push edi
call fcn.00429680
pop eax
cmp dword [ebx], 0
je 0x49dfea
xor eax, eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x20], 0
inc eax
mov dword [esp + 8], eax
jmp 0x49e016
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
xor edx, edx
mov ecx, edi
call fcn.0044c587
mov dword [esp + 0x20], edx
mov dword [esp + 0xc], edi
push edi
push esi
mov dword [esp + 0x10], eax
push eax
call fcn.004ba8e0
add esp, 0xc
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, esi
call fcn.004a8f7f
mov eax, dword [esp + 0x30]
test eax, eax
je 0x49e03a
mov ecx, dword [esp + 0x2c]
shl eax, 4
push 4
pop edx
push eax
call fcn.00408eed
pop eax
xor eax, eax
xor ecx, ecx
mov ebx, ebx
cpuid
xchg ebx, ebx
mov dword [esp + 4], ecx
mov edi, edx
mov eax, dword [esp + 0x3c]
add eax, 0x40
mov dword [esp + 0x80], eax
push 0xc
pop ecx
xor edx, edx
call fcn.0044c587
lea esi, [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 4], edx
and dword [esi + 8], 0
mov ecx, esi
mov edx, ebx
call fcn.0049e3fa
mov ecx, esi
mov edx, edi
call fcn.0049e3fa
mov edx, dword [esp + 4]
mov ecx, esi
call fcn.0049e3fa
mov ecx, dword [esi]
mov edx, dword [esi + 8]
xor eax, eax
cmp edx, eax
je 0x49e0a0
cmp byte [ecx + eax], 0
je 0x49e0a2
inc eax
jmp 0x49e093
mov eax, edx
push 0x4eca10
push eax
call fcn.0049e434
pop ecx
pop ecx
mov esi, edx
lea edi, [esp + 0x58]
mov edx, eax
mov ecx, edi
push esi
call fcn.00429680
pop eax
cmp dword [edi], 0
je 0x49e0e3
movsx eax, word [esp + 0xc0]
cmp eax, 0xe
ja 0x49e0ed
mov edi, dword [eax*4 + 0x5010f8]
cwde
mov esi, dword [eax*4 + 0x501134]
jmp 0x49e0f5
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
jmp 0x49e0f5
mov esi, str.unknownassertion_failed:_successC:UsersAdministrator.WIN7_2021OVWRCZ.cargo_registry_srcmirrors.ustc.edu.cn_12df342d903acd47whoami_1.4.1_srcwindows.rs
push 7
pop edi
mov ecx, edi
xor edx, edx
call fcn.0044c587
mov dword [esp + 0x38], edx
push edi
push esi
mov dword [esp + 0x2c], eax
push eax
call fcn.004ba8e0
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
call fcn.004a8f7f
mov ebx, dword [esp + 0xd4]
cmp byte [esp + 0x40], 0
mov dword [esp + 0x48], edi
je 0x49e14b
lea edi, [esp + 0x84]
mov edx, ebx
mov ecx, edi
call fcn.0049e44d
mov eax, dword [edi]
mov esi, dword [edi + 8]
mov dword [esp + 0x44], eax
jmp 0x49e170
xor edx, edx
mov ecx, ebx
inc edx
call fcn.0049c066
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x8c], ebx
mov esi, ebx
inc ebx
jne 0x49e178
push 8
pop eax
jmp 0x49e1ac
xor ecx, ecx
cmp ebx, 0x2000000
setb al
jae 0x49e3de
mov edx, ebx
shl edx, 6
js 0x49e3de
mov cl, al
mov dword [esp + 4], edx
shl ecx, 3
mov edi, ecx
call fcn.0045244b
test eax, eax
je 0x49e3ed
lea ecx, [esp + 0x4c]
shl esi, 3
mov dword [ecx], eax
mov dword [ecx + 4], ebx
and dword [ecx + 8], 0
xor ebx, ebx
xor edi, edi
inc edi
test esi, esi
je 0x49e329
lea ecx, [esp + 0x70]
mov dword [esp + 0x58], 0x4ecc7c
mov dword [esp + 4], esi
lea esi, [esp + 0x14]
lea edx, [esp + 0x58]
mov dword [esp + 0x28], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dword [esp + 0x18], fcn.00428870
inc ecx
mov dword [esp + 0x5c], ecx
and dword [esp + 0x68], 0
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x2c]
call fcn.00498cc6
mov edx, dword [esp + 0x24]
mov ecx, esi
push dword [esp + 0x48]
call fcn.00426e00
pop eax
mov edx, dword [esp + 8]
lea ecx, [esp + 0x58]
push dword [esp + 0xc]
call fcn.00426e00
pop eax
mov eax, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x2c]
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
cmp ebx, dword [esp + 0x50]
mov ecx, dword [eax + edi*8 - 8]
mov edi, dword [eax + edi*8 - 4]
movsd qword [esp + 0x70], xmm0
movsd xmm0, qword [esp + 0x14]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0xb8], esi
movsd qword [esp + 0xb0], xmm0
movsd xmm0, qword [esp + 0x58]
mov dword [esp + 0xa8], edx
movsd qword [esp + 0xa0], xmm0
jne 0x49e2af
mov esi, ecx
lea ecx, [esp + 0x4c]
mov edx, ebx
call fcn.0049c87e
mov ecx, esi
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 4]
jmp 0x49e2b7
mov esi, dword [esp + 4]
mov eax, dword [esp + 0x28]
shl ebx, 6
add esi, 0xfffffff8
mov dword [eax + ebx + 4], edi
mov dword [eax + ebx], ecx
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x78]
inc edi
mov dword [eax + ebx + 0x10], ecx
movsd xmm0, qword [esp + 0x70]
movsd qword [eax + ebx + 8], xmm0
movsd xmm0, qword [esp + 0xb0]
movsd qword [eax + ebx + 0x14], xmm0
mov ecx, dword [esp + 0xb8]
mov dword [eax + ebx + 0x1c], ecx
mov ecx, dword [esp + 0xa8]
mov dword [eax + ebx + 0x28], ecx
movsd xmm0, qword [esp + 0xa0]
movsd qword [eax + ebx + 0x20], xmm0
and dword [eax + ebx + 0x2c], 0
and dword [eax + ebx + 0x30], 0
mov ebx, dword [esp + 0x54]
inc ebx
mov dword [esp + 0x54], ebx
jmp 0x49e1c1
mov eax, dword [esp + 0x54]
movsd xmm0, qword [esp + 0x4c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x98], eax
movsd qword [esp + 0x90], xmm0
call fcn.0049c2e0
mov edi, dword [esp + 0x3c]
mov esi, dword [edi + 0x40]
mov edx, dword [edi + 0x48]
mov ecx, esi
call fcn.0049c9de
mov edx, dword [edi + 0x44]
mov ecx, esi
call fcn.0049ca1f
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x80]
movsd xmm0, qword [esp + 0x90]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
call fcn.004a8f7f
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], ecx
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
call fcn.004a8f7f
mov eax, dword [esp + 8]
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x40]
mov byte [edi + 0x4c], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00425d50
ud2
push 4
pop ecx
push 0x50
pop edx
jmp 0x49e3f3
mov edx, dword [esp + 4]
mov ecx, edi
call fcn.004c8580
ud2