Function at 0x4453df
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
call 0x4453f7
pop eax
jne 0x445b5a
mov edi, ecx
lea ecx, [esp + 0xc0]
xorps xmm0, xmm0
mov dword [esp + 0x14], eax
and dword [ecx + 0x20], 0
movaps xmmword [ecx + 0x10], xmm0
movaps xmmword [ecx], xmm0
push ecx
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, 0x80000000
xor ecx, ecx
mov esi, ebx
cpuid
xchg ebx, esi
cmp eax, 0x80000003
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], edi
jbe 0x4454f1
push 0x50
pop ecx
push 4
pop edx
call fcn.00440a20
test eax, eax
je 0x445b96
mov ebx, eax
lea eax, [esp + 0x30]
xor esi, esi
xor ecx, ecx
mov dword [eax], ebx
mov dword [eax + 4], 5
mov eax, 0x80000000
test cl, cl
mov dword [esp + 0x38], esi
jne 0x44550f
cmp eax, dword [esp + 0x18]
ja 0x44550f
setae cl
mov edi, eax
mov dword [esp + 0xc], ebx
mov dword [esp + 4], ecx
adc edi, 0
xor ecx, ecx
mov ebx, ebx
cpuid
xchg ebx, ebx
mov dword [esp + 8], ebx
cmp esi, dword [esp + 0x34]
jne 0x4454c7
mov dword [esp + 0xc], ecx
mov ebx, edx
mov edx, esi
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.00440ed0
mov eax, esi
mov edx, ebx
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
jmp 0x4454cb
mov ebx, dword [esp + 0xc]
shl esi, 4
mov dword [ebx + esi], eax
mov eax, dword [esp + 8]
mov dword [ebx + esi + 4], eax
mov dword [ebx + esi + 8], ecx
mov dword [ebx + esi + 0xc], edx
mov ecx, dword [esp + 4]
mov eax, edi
mov esi, dword [esp + 0x38]
inc esi
jmp 0x44546a
mov eax, dword [0x452bc8]
mov dword [esp + 0x58], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
jmp 0x44564f
push 0x30
pop ecx
call fcn.0040f97a
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
shl esi, 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
and dword [ecx + 8], 0
add esi, edi
push 2
pop eax
push 5
pop ecx
mov dword [esp + 4], ecx
xor ecx, ecx
test cl, 1
je 0x445544
mov ebx, dword [esp + 4]
jmp 0x445563
mov ebx, dword [esp + 4]
lea ecx, [eax - 1]
cmp ebx, ecx
jbe 0x4455ac
mov edx, esi
sub edx, edi
shr edx, 4
cmp edx, ecx
jbe 0x4455ac
shl ecx, 4
sub ebx, eax
lea edi, [edi + ecx + 0x10]
test ebx, ebx
je 0x4455ac
cmp edi, esi
je 0x4455ac
mov edx, dword [edi]
dec ebx
lea eax, [edi + 0x10]
mov dword [esp + 4], ebx
lea ebx, [esp + 0x1c]
mov dword [esp + 8], eax
mov ecx, ebx
call fcn.00445bdc
mov edx, dword [edi + 4]
mov ecx, ebx
call fcn.00445bdc
mov edx, dword [edi + 8]
mov ecx, ebx
call fcn.00445bdc
mov edx, dword [edi + 0xc]
mov ecx, ebx
call fcn.00445bdc
mov edi, dword [esp + 8]
xor eax, eax
mov cl, 1
jmp 0x445539
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
xor ecx, ecx
cmp edx, ecx
je 0x4455c5
cmp byte [eax + ecx], 0
je 0x4455c3
inc ecx
jmp 0x4455b6
mov edx, ecx
lea ecx, [esp + 0x1c]
push 0x452910
call fcn.00445c20
pop ecx
mov esi, edx
lea edi, [esp + 0x70]
mov edx, eax
mov ecx, edi
push esi
call fcn.0040ad50
pop eax
cmp dword [edi], 0
je 0x4455ff
mov eax, dword [0x452bc8]
xor ebx, ebx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
jmp 0x445623
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov ecx, edi
call fcn.0040f97a
mov ebx, edx
mov dword [esp + 0x2c], edi
push edi
push esi
mov dword [esp + 0x30], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x1c]
call fcn.004100bb
mov edx, dword [esp + 0x34]
test edx, edx
je 0x44564b
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x44564b
shl edx, 4
push 4
call fcn.00441104
pop eax
mov dword [esp + 0x58], ebx
lea eax, [edi + 0x40]
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x68], eax
xor eax, eax
mov edi, ebx
cpuid
xchg ebx, edi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
push 0x10
pop ecx
call fcn.0040f97a
lea esi, [esp + 0x1c]
mov dword [esi], eax
mov dword [esi + 4], edx
and dword [esi + 8], 0
mov ecx, esi
mov edx, edi
call fcn.00445bdc
mov edx, dword [esp + 8]
mov ecx, esi
call fcn.00445bdc
mov edx, dword [esp + 4]
mov ecx, esi
call fcn.00445bdc
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp edx, ebx
je 0x4456b2
cmp byte [eax + ebx], 0
je 0x4456b0
inc ebx
jmp 0x4456a3
mov edx, ebx
lea ecx, [esp + 0x1c]
push 0x452920
call fcn.00445c20
pop ecx
mov esi, edx
lea edi, [esp + 0x70]
mov edx, eax
mov ecx, edi
push esi
call fcn.0040ad50
pop eax
cmp dword [edi], 1
jne 0x445710
mov esi, 0x45288d
push 7
pop eax
mov dword [esp], eax
movzx eax, word [esp + 0xc0]
cmp eax, 0xe
ja 0x44577e
push 4
pop ecx
mov edi, dword [esp + 0x14]
add edi, dword [eax*4 + 0x445ba0]
push 0x17
pop edx
push 3
pop eax
jmp edi
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov ecx, edi
call fcn.0040f97a
mov dword [esp + 0x54], edx
mov dword [esp], edi
jmp 0x44578c
mov edi, dword [esp]
mov ecx, edi
call fcn.0040f97a
mov dword [esp + 0x54], edx
push edi
push esi
mov dword [esp + 0x48], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.004100bb
mov ebx, dword [esp + 0xd4]
cmp ebx, 0xaaaaaaa
ja 0x445b7f
imul edi, ebx, 0x18
test edi, edi
js 0x445b7f
push 4
pop edx
mov ecx, edi
call fcn.00440a20
test eax, eax
je 0x445b86
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
and dword [esp + 0x24], 0
mov esi, eax
push edi
push eax
push 0
push 0
push 0xb
call sub.powrprof.dll_CallNtPowerInformation
test eax, eax
je 0x445826
xor edx, edx
mov ecx, ebx
inc edx
call fcn.00440a93
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov esi, eax
mov dword [esp + 0x4c], ebx
call fcn.0044118c
mov dword [esp + 0x50], esi
mov dword [esp + 4], esi
mov dword [esp + 0x10], ebx
jmp 0x445935
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
push 0x18
pop ecx
mov eax, edi
cdq
idiv ecx
mov dword [esp + 0x10], 0
mov ecx, eax
xor edx, edx
mov esi, eax
call fcn.00440a93
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
and dword [esp + 0x4c], 0
mov ebx, eax
cmp edx, esi
jae 0x4458ca
lea eax, [edx + edx]
mov ecx, edx
cmp eax, esi
cmova esi, eax
cmp esi, 5
push 4
pop eax
cmovae eax, esi
mov dword [esp + 0x14], eax
push 8
pop edx
mul edx
mov esi, ebx
mov edx, eax
mov eax, 0
setno al
shl eax, 3
test ecx, ecx
mov dword [esp + 0xc], eax
lea eax, [ecx*8]
cmove esi, ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x18], eax
push 8
pop eax
push eax
push dword [esp + 0x1c]
push esi
push dword [esp + 0x18]
call fcn.0040cf78
add esp, 0x10
lea eax, [esp + 0x70]
cmp dword [eax], 1
jne 0x4458d0
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
xor ecx, ecx
inc ecx
jmp 0x4458e2
mov esi, dword [esp + 8]
jmp 0x4458ed
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], eax
mov esi, dword [esp + 8]
push eax
call fcn.00440bae
pop eax
mov eax, esi
test edi, edi
je 0x44590f
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
add eax, 0x18
add edi, 0xffffffe8
and dword [ebx + edx*8 + 4], 0
mov dword [ebx + edx*8], ecx
inc edx
mov dword [esp + 0x10], edx
jmp 0x4458ef
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 4]
lea ecx, [esp + 0x70]
mov dword [ecx], esi
mov dword [esp + 0x4c], eax
mov dword [ecx + 4], edx
call fcn.0044118c
mov eax, dword [esp + 0x44]
mov dword [esp + 0x50], eax
mov dword [esp + 4], eax
mov esi, dword [esp + 0xd4]
inc esi
push 0x40
pop ecx
mov eax, esi
mul ecx
jo 0x445b7f
mov edi, eax
test eax, eax
js 0x445b7f
push 8
pop edx
mov ecx, edi
call fcn.00440a20
test eax, eax
je 0x445b8a
mov ebx, eax
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x30]
xor edx, edx
mov dword [esp + 8], 0
mov dword [eax], ebx
mov dword [eax + 4], esi
and dword [eax + 8], 0
mov eax, dword [esp + 0xd4]
lea esi, [esp + 0xb4]
sub eax, 1
jb 0x445aab
mov dword [esp + 0x18], eax
lea eax, [edx + 1]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 0x452ab4
lea ebx, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x20], fcn.00408370
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], eax
xor eax, eax
inc eax
mov dword [esp + 0x74], eax
and dword [esp + 0x78], 0
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], eax
lea eax, [esp + 0x70]
mov ebx, ecx
mov ecx, esi
mov edx, eax
call fcn.00407be0
mov esi, dword [esp + 0xb4]
mov edi, dword [esp + 0xbc]
mov edx, dword [esp + 0x40]
mov ecx, ebx
push dword [esp]
call fcn.00408230
pop eax
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x1c]
push dword [esp + 0x2c]
call fcn.00408230
pop eax
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x10]
je 0x445b6c
mov eax, dword [esp + 4]
mov edx, esi
lea ecx, [esp + 0x70]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x24]
push eax
push ebx
push edi
call fcn.00445229
add esp, 0x14
mov edx, dword [esp + 8]
cmp edx, dword [esp + 0x60]
jne 0x445a6a
lea ecx, [esp + 0x5c]
call fcn.00440e44
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
jmp 0x445a6e
mov ebx, dword [esp + 0x6c]
mov edi, edx
shl edi, 6
add edi, ebx
push 0x10
pop ecx
lea esi, [esp + 0x70]
inc edx
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xb4]
mov dword [esp + 8], edx
mov dword [esp + 0x64], edx
mov ecx, esi
call fcn.004100bb
add dword [esp + 4], 8
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x30]
jmp 0x445991
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x64]
movsd xmm0, qword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
test edx, edx
mov dword [esp + 0x78], eax
movsd qword [esp + 0x70], xmm0
je 0x445ada
test ecx, ecx
je 0x445ada
shl edx, 3
push 8
call fcn.00441104
pop eax
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x78]
movsd xmm0, qword [esp + 0x70]
mov ecx, esi
mov dword [esp + 0xc8], eax
movsd qword [esp + 0xc0], xmm0
call fcn.00445c3d
mov ecx, esi
call fcn.00441132
mov eax, dword [esp + 0xc8]
movsd xmm0, qword [esp + 0xc0]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
mov esi, dword [esp + 0x3c]
lea ecx, [esi + 0x24]
call fcn.004100bb
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], ecx
lea ecx, [esi + 0x30]
call fcn.004100bb
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x10]
mov edx, ecx
push 0x452abc
call fcn.00408310
pop eax
ud2
call fcn.00407a90
ud2
push 4
jmp 0x445b8c
push 8
pop edx
mov ecx, edi
call fcn.00407ab0
ud2
push 0x50
pop ecx
push 4
pop edx
jmp 0x445b8f