Function at 0x491f0c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50b25b
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x5ff740]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea esi, [edi + 0x74]
call fcn.004955cd
fldz
mov eax, dword [0x609920]
fst qword [esp + 0x44]
xor esi, esi
fst qword [esp + 0x3c]
cmp dword [eax + 0x5c], esi
mov dword [esp + 0x14], esi
mov ebx, 0x5afd90
jle 0x492233
xor edi, edi
mov ecx, dword [eax + 0x58]
add ecx, edi
cmp dword [ecx], esi
jne 0x491f8a
mov edx, dword [ecx + 0xc]
cmp edx, esi
je 0x491f82
dec edx
mov dword [ecx], 1
mov dword [ecx + 8], edx
cmp dword [ecx], esi
je 0x4921e9
mov ecx, dword [ebp + 8]
fstp st(0)
push esi
push esi
push esi
push esi
push ebx
push dword [esp + 0x28]
add ecx, 0x74
push 3
call fcn.004cb8dd
mov eax, dword [0x609920]
mov eax, dword [eax + 0x58]
lea eax, [eax + edi + 0x20]
push eax
lea ecx, [esp + 0x30]
call fcn.00402305
mov dword [esp + 0x60], esi
mov ecx, dword [0x609920]
mov eax, dword [ecx + 0x58]
lea edx, [edi + eax]
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
cmp eax, 1
mov dword [esp + 0x24], eax
jl 0x491fe0
mov edx, dword [ecx + 0x58]
cmp eax, dword [edi + edx + 0xc]
jl 0x491fef
mov eax, dword [ecx + 0x58]
add eax, edi
mov ecx, dword [eax + 8]
sub ecx, dword [eax + 0xc]
mov dword [esp + 0x24], ecx
call fcn.004be6f3
push eax
lea ecx, [esp + 0x24]
call fcn.004027f9
mov byte [esp + 0x60], 1
fild dword [esp + 0x24]
mov eax, dword [0x609920]
mov eax, dword [eax + 0x58]
fild dword [eax + edi + 0xc]
push ecx
fld st(1)
push ecx
fmul qword [0x5d1258]
fdiv st(1)
fstp qword [esp + 0x54]
fadd qword [esp + 0x4c]
fstp qword [esp + 0x4c]
fadd qword [esp + 0x44]
fstp qword [esp + 0x44]
fld qword [esp + 0x54]
fstp qword [esp]
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str.RESOURCESTRING
call fcn.0040253b
push ecx
mov byte [esp + 0x74], 2
mov ecx, esp
mov dword [esp + 0x38], esp
push str.IDS_FRGMENTATION
call fcn.0040253b
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x78], 1
call fcn.00406ef3
mov byte [esp + 0x68], 3
push dword [eax]
lea eax, [esp + 0x2c]
push eax
call fcn.00402a1d
mov byte [esp + 0x70], 1
mov ecx, dword [esp + 0x40]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040285b
call fcn.004be6f3
push eax
lea ecx, [esp + 0x2c]
call fcn.004027f9
mov byte [esp + 0x60], 4
call fcn.004be6f3
push eax
lea ecx, [esp + 0x20]
call fcn.004027f9
mov byte [esp + 0x60], 5
mov eax, dword [0x609920]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + edi + 8]
cdq
push edx
push eax
lea esi, [esp + 0x30]
call fcn.00491e5d
mov eax, dword [0x609920]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + edi + 0xc]
cdq
push edx
push eax
lea esi, [esp + 0x2c]
call fcn.00491e5d
add esp, 0x10
call fcn.004be6f3
push eax
lea ecx, [esp + 0x1c]
call fcn.004027f9
mov byte [esp + 0x60], 6
mov esi, dword [esp + 0x28]
push esi
push dword [esp + 0x20]
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str.RESOURCESTRING
call fcn.0040253b
push ecx
mov byte [esp + 0x74], 7
mov ecx, esp
mov dword [esp + 0x38], esp
push str.SCANTAB3LISTFILESIZE
call fcn.0040253b
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x78], 6
call fcn.00406ef3
mov byte [esp + 0x68], 8
push dword [eax]
lea eax, [esp + 0x24]
push eax
call fcn.00402a1d
mov byte [esp + 0x70], 6
mov ecx, dword [esp + 0x44]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040285b
push 0x5c8a10
push 0x5c3554
lea eax, [esp + 0x20]
push eax
call fcn.00413f47
fld qword [esp + 0x4c]
call fcn.004e5d16
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
push eax
push dword [esp + 0x1c]
add edx, 0x74
push dword [esp + 0x28]
push dword [esp + 0x38]
call fcn.004953d8
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040285b
lea ecx, [esi - 0x10]
call fcn.0040285b
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.0040285b
or dword [esp + 0x60], 0xffffffff
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.0040285b
fldz
mov eax, dword [0x609920]
xor esi, esi
inc dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
add edi, 0x28
cmp ecx, dword [eax + 0x5c]
jl 0x491f68
fcom qword [esp + 0x3c]
fnstsw ax
test ah, 5
jp 0x492230
fcom qword [esp + 0x44]
fnstsw ax
test ah, 5
jp 0x492230
fstp st(0)
mov eax, dword [ebp + 8]
fld qword [esp + 0x3c]
mov edi, eax
fmul qword [0x5d1258]
fdiv qword [esp + 0x44]
fstp qword [eax + 0x2d8]
jmp 0x492239
mov edi, dword [ebp + 8]
fstp qword [edi + 0x2d8]
call fcn.00492edb
cmp eax, 0xa
ja 0x49232a
push 0x42040
call fcn.0040704e
push dword [eax]
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.RESOURCESTRING
call fcn.0040253b
push ecx
mov dword [esp + 0x74], 9
mov ecx, esp
mov dword [esp + 0x50], esp
push str.IDS_REG_OPT_NOT_REQ
call fcn.0040253b
or dword [esp + 0x74], 0xffffffff
lea eax, [esp + 0x28]
push eax
call fcn.00406ef3
mov eax, dword [eax]
mov ecx, dword [edi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [0x609920]
call fcn.0049748a
mov ecx, dword [0x609920]
cmp ecx, esi
je 0x4922c1
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x609920], esi
lea esi, [edi + 0x74]
call fcn.004955cd
mov byte [0x60a92c], 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004c25c7
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0xdf
mov edi, 0x111
push edi
push dword [eax + 0x20]
call esi
call fcn.004077e9
push dword [0x60a8d4]
call fcn.00416336
test eax, eax
jle 0x492323
mov eax, dword [0x60a8d0]
push 0
push 0x46e
push edi
push dword [eax + 0x20]
call esi
xor al, al
jmp 0x4923e1
call fcn.004be6f3
push eax
lea ecx, [esp + 0x28]
call fcn.004027f9
push ecx
push ecx
mov dword [esp + 0x68], 0xa
fld qword [edi + 0x2d8]
fstp qword [esp]
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.RESOURCESTRING
call fcn.0040253b
push ecx
mov byte [esp + 0x74], 0xb
mov ecx, esp
mov dword [esp + 0x28], esp
push str.SCANTAB3ERRCOUNT
call fcn.0040253b
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x78], 0xa
call fcn.00406ef3
mov byte [esp + 0x68], 0xc
push dword [eax]
lea eax, [esp + 0x30]
push eax
call fcn.00402a1d
mov ecx, dword [esp + 0x48]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040285b
fld qword [edi + 0x2d8]
fstp dword [0x60990c]
mov byte [0x60a92c], 0
mov al, byte [0x60a9e0]
test al, al
je 0x4923d3
push esi
push 0xf3
push 0x111
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.0040285b
mov al, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4