Function at 0x45e760
Capabilities:
Get disk size
Get memory capacity
Get system information on windows

Disassembly:
sub esp, 0x29c
push ebx
push ebp
push esi
push edi
call fcn.0045e750
mov edi, dword [esp + 0x2b4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xac]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._Check_For_Other_Instances
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xac]
xor ebx, ebx
push eax
and ecx, 3
push ebx
push ebx
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateEventA]
call dword [sym.imp.KERNEL32.dll_GetLastError_1]
cmp eax, 0xb7
jne 0x45e7f4
push ebx
call fcn.0048b6f0
add esp, 4
mov ecx, dword [esp + 0x2b0]
push ecx
call fcn.00460410
add esp, 4
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [esp + 0x48], bx
jne 0x45e833
cmp dword [esp + 0x60], 0x1e6
jae 0x45e833
call fcn.0048b5a0
test eax, eax
jne 0x45e833
push 1
call fcn.0048b6f0
add esp, 4
lea eax, [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
push 0x4a4d54
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x45e8e5
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
fild qword [esp + 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x20]
fmul qword [0x491298]
fild qword [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
fmul qword [0x491298]
fmulp st(1)
fild qword [esp + 0x10]
fmulp st(1)
fcom qword [0x491290]
fnstsw ax
test ah, 1
je 0x45e8e3
call fcn.0047d75c
push eax
push str._d_M
lea ecx, [esp + 0x74]
push 0x40
push ecx
call fcn.00489aa0
lea edx, [esp + 0x7c]
push edx
push 0x45ea60
push 0x70
call fcn.00489a50
add esp, 0x1c
cmp eax, 1
je 0x45e8e5
push 1
call fcn.0048b6f0
add esp, 4
jmp 0x45e8e5
fstp st(0)
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0x30]
cmp eax, 0xd00000
jae 0x45e930
push eax
push str._d_bytes
lea ecx, [esp + 0x74]
push 0x40
push ecx
call fcn.00489aa0
lea edx, [esp + 0x7c]
push edx
push 0x45ea60
push 0x6d
call fcn.00489a50
add esp, 0x1c
cmp eax, 1
je 0x45e959
jmp 0x45e94f
cmp dword [esp + 0x38], 0x1e00000
jae 0x45e959
push ebx
push 0x45ea60
push 0x6f
call fcn.00489a50
add esp, 0xc
cmp eax, 1
je 0x45e959
push 1
call fcn.0048b6f0
add esp, 4
push 0x45eb90
call fcn.00488930
mov edi, dword [sym.imp.USER32.dll_GetForegroundWindow]
add esp, 4
call edi
mov ebp, dword [sym.imp.USER32.dll_PostMessageA]
mov esi, eax
cmp esi, ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
je 0x45e9d4
lea eax, [esp + 0xac]
push 0x200
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x45e9b1
lea ecx, [esp + 0xac]
push str.MOM_Parent
push ecx
call fcn.0047c900
add esp, 8
test eax, eax
je 0x45e9be
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x45e980
jmp 0x45e9d4
test esi, esi
je 0x45e9d4
push 0
push 0
push 0x10
push esi
call ebp
push 0
push 0
push 0x12
push esi
call ebp
xor edx, edx
test esi, esi
setne dl
mov dword [0x4ce78c], edx
call edi
mov esi, eax
test esi, esi
je 0x45ea3d
lea eax, [esp + 0xac]
push 0x200
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x45ea1a
lea ecx, [esp + 0xac]
push str.Find_Fast_Indexer
push ecx
call fcn.0047c900
add esp, 8
test eax, eax
je 0x45ea27
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x45e9e9
jmp 0x45ea3d
test esi, esi
je 0x45ea3d
push 0
push 0
push 0x10
push esi
call ebp
push 0
push 0
push 0x12
push esi
call ebp
xor edx, edx
pop edi
test esi, esi
setne dl
pop esi
pop ebp
mov dword [0x4ce790], edx
pop ebx
add esp, 0x29c
ret