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

Disassembly:
push 0xffffffffffffffff
push 0x554abb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x284
push ebx
mov ebx, dword [esp + 0x298]
push ebp
push esi
push edi
xor edi, edi
mov ebp, ecx
cmp ebx, edi
mov dword [esp + 0x48], ebp
je 0x408863
mov esi, dword [esp + 0x2a8]
cmp esi, edi
je 0x408863
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x408783
cmp dword [ebp + 0x10], esi
jne 0x408783
mov ecx, dword [esp + 0x2b0]
cmp ecx, edi
je 0x40877c
push 1
push 1
push 1
push ebp
call fcn.00406da0
mov al, 1
jmp 0x408865
fild dword [esp + 0x10]
push edi
lea ecx, [esp + 0x9c]
fidiv dword [esp + 0x2a8]
fstp dword [esp + 0x60]
fild dword [ebp + 0x10]
fidiv dword [esp + 0x2ac]
fstp dword [esp + 0x6c]
call fcn.00406be0
push ebp
lea ecx, [esp + 0x9c]
mov dword [esp + 0x2a0], edi
call fcn.00406f00
mov ecx, ebp
call fcn.0040b310
push eax
xor eax, eax
mov ax, word [ebp + 0x16]
lea ecx, [esp + 0x9c]
push eax
push esi
push ebx
call fcn.00406f20
push 0x100
mov ecx, ebp
call fcn.0040c4b0
push eax
lea ecx, [esp + 0xa0]
call fcn.0040cea0
lea ecx, [esp + 0x98]
call fcn.0040b440
test al, al
jne 0x408880
lea ecx, [esp + 0x98]
call fcn.0040b590
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x44]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x29c], 0xffffffff
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x98]
mov dword [esp + 0x98], sym.MiniPage.exe_const_CxImage::vftable
call fcn.00406cb0
lea ecx, [esp + 0x98]
call fcn.00406c00
xor al, al
mov ecx, dword [esp + 0x294]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x290
ret 0x10
mov eax, dword [esp + 0x2ac]
dec eax
je 0x409384
dec eax
je 0x40908c
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jle 0x408cf7
cmp dword [ebp + 0x10], esi
jle 0x408cf7
cmp word [ebp + 0x16], 0x18
jne 0x408cf7
mov ecx, dword [esp + 0xcc]
lea esi, [ebx + ebx*2 + 3]
shl esi, 2
push esi
mov dword [esp + 0x20], ecx
call sub.MFC42.DLL_operatornew
mov edi, eax
push esi
mov dword [esp + 0x38], edi
call sub.MFC42.DLL_operatornew
fld dword [esp + 0x70]
fmul dword [esp + 0x64]
add esp, 8
mov dword [esp + 0x14], eax
fmul dword [0x5565e0]
call sub.MSVCRT.dll__ftol
lea edx, [ebx + ebx*2]
mov dword [esp + 0x20], eax
shl edx, 2
mov ecx, edx
xor eax, eax
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
fld dword [esp + 0x68]
fsub dword [0x5565d0]
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x14]
mov ecx, edx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x10]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x44], edi
jle 0x408ca6
xor eax, eax
mov dword [esp + 0x10], eax
cdq
idiv ecx
mov dword [ebp + 0x144], eax
mov eax, dword [ebp + 0x148]
test eax, eax
jne 0x408ca6
mov esi, dword [ebp + 0x30]
mov eax, dword [ebp + 0x34]
fld dword [esp + 0x5c]
imul esi, edi
fsub dword [0x5565d0]
fild dword [esp + 0x44]
fcom st(2)
add esi, eax
xor ecx, ecx
fnstsw ax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x6c], ecx
test ah, 1
je 0x408a40
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], ecx
cmp eax, ecx
fstp st(0)
jle 0x408c85
mov ebx, dword [esp + 0x30]
fild dword [esp + 0x18]
fcom st(1)
fnstsw ax
test ah, 1
je 0x4089d9
fstp st(0)
mov eax, ebx
mov edx, 3
xor ecx, ecx
mov edi, dword [eax]
mov cl, byte [esi]
add eax, 4
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
shl ecx, 3
add edi, ecx
inc esi
mov dword [eax - 4], edi
dec edx
jne 0x4089b9
jmp 0x408a1e
fsub st(1)
fmul dword [0x5565e0]
call sub.MSVCRT.dll__ftol
mov edi, 0x3e8
mov ecx, ebx
sub edi, eax
add ebx, 0xc
mov edx, 3
mov dword [esp + 0x60], ebx
xor ebx, ebx
add ecx, 4
mov bl, byte [esi]
imul ebx, edi
add dword [ecx - 4], ebx
xor ebx, ebx
mov bl, byte [esi]
imul ebx, eax
add dword [ecx + 8], ebx
inc esi
dec edx
jne 0x4089fb
fadd dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0xc]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4089a3
mov ebx, dword [esp + 0x2a4]
fstp st(0)
jmp 0x408c87
fsub st(2)
fmul dword [0x5565e0]
call sub.MSVCRT.dll__ftol
mov ebx, eax
mov eax, dword [ebp + 0xc]
test eax, eax
mov dword [esp + 0x18], 0
jle 0x408c04
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
add eax, 0xc
mov dword [esp + 0x2c], edx
mov dword [esp + 0x4c], eax
fild dword [esp + 0x18]
fcom st(1)
fnstsw ax
test ah, 1
je 0x408abf
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov ebp, 0x3e8
sub ebp, ebx
sub edi, ecx
fstp st(0)
mov ecx, 3
xor edx, edx
add eax, 4
mov dl, byte [esi]
imul edx, ebp
add dword [edi + eax - 4], edx
xor edx, edx
mov dl, byte [esi]
imul edx, ebx
add dword [eax - 4], edx
inc esi
dec ecx
jne 0x408a9e
jmp 0x408bec
fsub st(1)
fmul dword [0x5565e0]
call sub.MSVCRT.dll__ftol
mov ebp, eax
mov eax, 0x3e8
mov ecx, 0x3e8
sub eax, ebx
sub ecx, ebp
mov dword [esp + 0x38], eax
imul eax, ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
sub eax, edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x40], eax
mov eax, 3
add edx, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x74], edx
mov eax, 0xc
mov edx, edi
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x4c]
add edx, eax
mov dword [esp + 0x2c], edx
mov edx, ecx
add edx, eax
mov dword [esp + 0x4c], edx
xor edx, edx
mov eax, 0x10624dd3
mov dl, byte [esi]
add edi, 4
imul edx, dword [esp + 0x78]
imul edx
sar edx, 6
mov eax, edx
add ecx, 4
shr eax, 0x1f
add edx, eax
mov eax, dword [ecx - 0x10]
add eax, edx
mov dword [ecx - 0x10], eax
cdq
idiv dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
inc edx
mov dword [esp + 0x1c], edx
mov byte [edx - 1], al
xor edx, edx
mov dl, byte [esi]
mov eax, 0x10624dd3
imul edx, ebx
imul edx, dword [esp + 0x24]
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [edi - 4]
add eax, edx
xor edx, edx
mov dword [edi - 4], eax
mov dl, byte [esi]
imul edx, ebp
imul edx, dword [esp + 0x38]
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ecx - 4]
add eax, edx
xor edx, edx
mov dword [ecx - 4], eax
mov dl, byte [esi]
imul edx, ebx
imul edx, ebp
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x40]
inc esi
mov dword [eax + ecx - 4], edx
mov eax, dword [esp + 0x60]
dec eax
mov dword [esp + 0x60], eax
jne 0x408b29
mov eax, dword [esp + 0x6c]
fadd dword [esp + 0x5c]
inc eax
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
inc eax
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x18], eax
cmp eax, edx
jl 0x408a75
mov edx, dword [esp + 0x2a4]
mov eax, dword [esp + 0x6c]
cmp eax, edx
fstp st(0)
jge 0x408c3c
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
lea ecx, [ecx + eax*4]
mov edi, 3
mov eax, dword [ecx]
add ecx, 4
cdq
idiv ebx
inc esi
dec edi
mov byte [esi - 1], al
jne 0x408c2d
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x14], eax
mov dword [eax], edx
mov ebp, dword [esp + 0x48]
fadd dword [esp + 0x68]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x2a4]
mov dword [esp + 0x30], ecx
mov dword [eax + 8], edx
mov eax, dword [esp + 0x28]
inc eax
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x28], eax
imul eax, dword [esp + 0xc8]
add eax, ecx
mov dword [esp + 0x1c], eax
jmp 0x408c87
fstp st(0)
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
inc edi
add eax, 0x64
cmp edi, ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x10], eax
jl 0x408947
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2a8]
cmp eax, ecx
fstp st(0)
jge 0x408cdb
lea ebx, [ebx + ebx*2]
test ebx, ebx
jle 0x408cdb
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
mov edi, ebx
mov ebx, dword [esp + 0x20]
mov eax, dword [ecx]
add ecx, 4
cdq
idiv ebx
inc esi
dec edi
mov byte [esi - 1], al
jne 0x408ccc
mov ecx, dword [esp + 0x30]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x18]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 8
jmp 0x409436
mov ebp, dword [ebp + 0x10]
dec eax
dec ebp
cmp esi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x18], edi
jle 0x409436
mov dword [esp + 0x44], edi
jmp 0x408d1a
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
cdq
idiv dword [esp + 0x2a8]
mov dword [ecx + 0x144], eax
mov eax, dword [ecx + 0x148]
test eax, eax
jne 0x409436
fild dword [esp + 0x18]
fmul dword [esp + 0x68]
fld st(0)
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x2c], eax
inc eax
cmp ebp, eax
mov dword [esp + 0x1c], ebp
jl 0x408d5e
mov dword [esp + 0x1c], eax
fild dword [esp + 0x2c]
mov eax, dword [esp + 0x2a4]
xor ebx, ebx
test eax, eax
fsubr st(1)
mov dword [esp + 0x28], ebx
fstp dword [esp + 0x14]
fstp st(0)
jle 0x409064
mov esi, dword [esp + 0x48]
fild dword [esp + 0x28]
fmul dword [esp + 0x5c]
fld st(0)
call sub.MSVCRT.dll__ftol
mov edi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], edi
lea ebp, [edi + 1]
cmp eax, ebp
jge 0x408da5
mov ebp, eax
fild dword [esp + 0x38]
mov eax, dword [esi + 0x28]
test eax, eax
fsubr st(1)
fstp dword [esp + 0x20]
fstp st(0)
je 0x408e4d
mov eax, dword [esp + 0x2c]
mov ecx, esi
push eax
push edi
call fcn.0040c540
lea ecx, [esp + 0x90]
push eax
push ecx
mov ecx, esi
call fcn.0040c4d0
mov edx, dword [eax]
mov eax, dword [esp + 0x2c]
push eax
push ebp
mov ecx, esi
mov dword [esp + 0x54], edx
call fcn.0040c540
lea ecx, [esp + 0x80]
push eax
push ecx
mov ecx, esi
call fcn.0040c4d0
mov edx, dword [eax]
mov eax, dword [esp + 0x1c]
push eax
push edi
mov ecx, esi
mov dword [esp + 0x5c], edx
call fcn.0040c540
lea ecx, [esp + 0x94]
push eax
push ecx
mov ecx, esi
call fcn.0040c4d0
mov edx, dword [esp + 0x1c]
mov edi, dword [eax]
push edx
push ebp
mov ecx, esi
mov dword [esp + 0x74], edi
call fcn.0040c540
push eax
lea eax, [esp + 0x90]
push eax
mov ecx, esi
call fcn.0040c4d0
mov eax, dword [eax]
mov dword [esp + 0x30], eax
jmp 0x408ee2
mov edx, dword [esi + 0x30]
mov ecx, dword [esp + 0x2c]
imul ecx, edx
lea eax, [edi + edi*2]
mov edi, dword [esi + 0x34]
mov dword [esp + 0x38], eax
add eax, ecx
add eax, edi
lea ebp, [ebp + ebp*2]
mov bl, byte [eax]
inc eax
mov byte [esp + 0x4c], bl
mov bl, byte [eax]
mov al, byte [eax + 1]
mov byte [esp + 0x4e], al
lea eax, [ecx + ebp]
mov cl, byte [eax + edi]
add eax, edi
inc eax
mov byte [esp + 0x54], cl
mov byte [esp + 0x4d], bl
mov ebx, dword [esp + 0x28]
mov cl, byte [eax]
mov al, byte [eax + 1]
mov byte [esp + 0x55], cl
mov ecx, dword [esp + 0x1c]
imul ecx, edx
mov edx, dword [esp + 0x38]
mov byte [esp + 0x56], al
lea eax, [ecx + edx]
mov dl, byte [eax + edi]
add eax, edi
mov byte [esp + 0x6c], dl
inc eax
mov dl, byte [eax]
mov al, byte [eax + 1]
mov byte [esp + 0x6e], al
lea eax, [ecx + ebp]
mov cl, byte [eax + edi]
add eax, edi
inc eax
mov byte [esp + 0x6d], dl
mov edi, dword [esp + 0x6c]
mov byte [esp + 0x30], cl
mov dl, byte [eax]
mov al, byte [eax + 1]
mov byte [esp + 0x31], dl
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x4e]
mov edx, dword [esp + 0x6e]
and ecx, 0xff
and edx, 0xff
sub edx, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x4d]
mov dword [esp + 0x38], edx
fild dword [esp + 0x38]
mov edx, dword [esp + 0x6d]
and ecx, 0xff
and edx, 0xff
and edi, 0xff
fmul dword [esp + 0x14]
sub edx, ecx
and eax, 0xff
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x32]
fiadd dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x4c]
and ecx, 0xff
and edx, 0xff
sub edi, ecx
fild dword [esp + 0x38]
mov dword [esp + 0x38], edi
fmul dword [esp + 0x14]
fiadd dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x56]
and ecx, 0xff
sub edx, ecx
fstp dword [esp + 0x60]
fild dword [esp + 0x38]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x31]
and edx, 0xff
fmul dword [esp + 0x14]
fiadd dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x55]
and ecx, 0xff
sub edx, ecx
fstp dword [esp + 0x28]
fild dword [esp + 0x38]
mov dword [esp + 0x38], edx
fmul dword [esp + 0x14]
fiadd dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x54]
and ecx, 0xff
sub eax, ecx
fild dword [esp + 0x38]
mov dword [esp + 0x38], eax
fmul dword [esp + 0x14]
fiadd dword [esp + 0x24]
mov dword [esp + 0x24], ecx
fstp dword [esp + 0x78]
fild dword [esp + 0x38]
fmul dword [esp + 0x14]
fiadd dword [esp + 0x24]
fstp dword [esp + 0x38]
fsub st(1)
fmul dword [esp + 0x20]
fadd st(1)
call sub.MSVCRT.dll__ftol
fstp st(0)
fld dword [esp + 0x78]
fsub dword [esp + 0x60]
mov byte [esp + 0x74], al
fmul dword [esp + 0x20]
fadd dword [esp + 0x60]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x38]
fsub dword [esp + 0x28]
mov byte [esp + 0x67], al
fmul dword [esp + 0x20]
fadd dword [esp + 0x28]
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x74]
xor ecx, ecx
mov ch, al
mov eax, dword [esp + 0x18]
mov cl, byte [esp + 0x67]
and edx, 0xff
shl ecx, 8
or ecx, edx
push ecx
push eax
push ebx
lea ecx, [esp + 0xa4]
call fcn.0040cac0
mov eax, dword [esp + 0x2a4]
inc ebx
cmp ebx, eax
mov dword [esp + 0x28], ebx
jl 0x408d83
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x2a8]
inc eax
add edx, 0x64
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], edx
jl 0x408d16
jmp 0x409436
cmp esi, edi
mov dword [esp + 0x1c], edi
jle 0x409436
mov ecx, dword [esp + 0x2a8]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x44]
cdq
idiv ecx
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x409436
fild dword [esp + 0x1c]
fmul dword [esp + 0x68]
fsub dword [0x5565c0]
fst dword [esp + 0x40]
fstp qword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
push esi
push edi
call dword [sym.imp.MSVCRT.dll_floor]
call sub.MSVCRT.dll__ftol
push esi
push edi
mov dword [esp + 0x34], eax
call dword [sym.imp.MSVCRT.dll_floor]
fsubr dword [esp + 0x50]
mov ecx, dword [esp + 0x2b4]
xor eax, eax
add esp, 0x10
cmp ecx, eax
fstp dword [esp + 0x38]
mov dword [esp + 0x4c], eax
jle 0x409358
mov esi, dword [esp + 0x48]
mov dword [esp + 0x28], eax
fild dword [esp + 0x4c]
fmul dword [esp + 0x5c]
fsub dword [0x5565c0]
fst dword [esp + 0x40]
fstp qword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
push edi
push ebx
call dword [sym.imp.MSVCRT.dll_floor]
call sub.MSVCRT.dll__ftol
push edi
push ebx
mov ebp, eax
call dword [sym.imp.MSVCRT.dll_floor]
fsubr dword [esp + 0x50]
add esp, 0x10
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x30], 0
fstp dword [esp + 0x40]
mov dword [esp + 0x2c], 0xffffffff
fild dword [esp + 0x2c]
push ecx
fsub dword [esp + 0x3c]
fstp dword [esp]
call fcn.0040ffa0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
fstp dword [esp + 0x7c]
lea edi, [ecx + edx]
add esp, 4
test edi, edi
jge 0x4091aa
xor edi, edi
mov eax, dword [esi + 0x10]
cmp edi, eax
jl 0x4091b4
lea edi, [eax - 1]
or ebx, 0xffffffff
mov dword [esp + 0x10], ebx
fild dword [esp + 0x10]
push ecx
fsubr dword [esp + 0x44]
fstp dword [esp]
call fcn.0040ffa0
fmul dword [esp + 0x7c]
lea ecx, [ebx + ebp]
add esp, 4
test ecx, ecx
fstp dword [esp + 0x20]
jge 0x4091e0
xor ecx, ecx
mov eax, dword [esi + 0xc]
cmp ecx, eax
jl 0x4091ea
lea ecx, [eax - 1]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x40920c
push 1
push edi
lea eax, [esp + 0x8c]
push ecx
push eax
mov ecx, esi
call fcn.0040c710
mov eax, dword [eax]
mov dword [esp + 0x54], eax
jmp 0x409235
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
imul eax, edi
lea ecx, [ecx + ecx*2]
add eax, ecx
add eax, edx
mov dl, byte [eax]
mov cl, byte [eax + 1]
inc eax
mov byte [esp + 0x54], dl
mov byte [esp + 0x55], cl
mov dl, byte [eax + 1]
mov byte [esp + 0x56], dl
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x56]
mov edx, dword [esp + 0x55]
and ecx, 0xff
and edx, 0xff
mov dword [esp + 0x10], ecx
and eax, 0xff
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
inc ebx
cmp ebx, 3
fmul dword [esp + 0x20]
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul dword [esp + 0x20]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ebx
fmul dword [esp + 0x20]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
jl 0x4091bb
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, 3
mov dword [esp + 0x2c], eax
jl 0x409181
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4092f5
fld dword [esp + 0x14]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x18]
xor ebx, ebx
mov bh, al
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x30]
mov bl, al
shl ebx, 8
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x4c]
and eax, 0xff
or ebx, eax
mov eax, dword [esp + 0x1c]
push ebx
push eax
push ecx
lea ecx, [esp + 0xa4]
call fcn.0040cac0
jmp 0x409333
mov edi, dword [esp + 0xc8]
mov ebx, dword [esp + 0x28]
imul edi, dword [esp + 0x1c]
fld dword [esp + 0x14]
mov edx, dword [esp + 0xcc]
add edi, ebx
add edi, edx
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x18]
mov byte [edi], al
inc edi
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x30]
mov byte [edi], al
inc edi
call sub.MSVCRT.dll__ftol
mov byte [edi], al
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2a4]
inc eax
add edx, 3
cmp eax, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], edx
jl 0x409121
jmp 0x40935c
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x2a8]
inc eax
add edi, 0x64
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], edi
jl 0x4090a7
jmp 0x409436
test esi, esi
mov dword [esp + 0x10], edi
jle 0x409436
mov dword [esp + 0x20], 0
jmp 0x4093a1
mov esi, dword [esp + 0x2a8]
mov eax, dword [esp + 0x20]
cdq
idiv esi
mov dword [ebp + 0x144], eax
mov eax, dword [ebp + 0x148]
test eax, eax
jne 0x409436
fild dword [esp + 0x10]
xor esi, esi
test ebx, ebx
fmul dword [esp + 0x68]
mov dword [esp + 0x10], esi
jle 0x409415
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x40], eax
fild dword [esp + 0x10]
mov edx, dword [esp + 0x40]
push 0
push 1
push edx
fmul dword [esp + 0x68]
call sub.MSVCRT.dll__ftol
push eax
lea eax, [esp + 0x98]
push eax
mov ecx, ebp
call fcn.0040c710
mov ecx, dword [eax]
push ecx
push edi
push esi
lea ecx, [esp + 0xa8]
call fcn.0040cb60
inc esi
cmp esi, ebx
mov dword [esp + 0x10], esi
jl 0x4093d3
jmp 0x409417
fstp st(0)
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2a8]
inc edi
add ecx, 0x64
cmp edi, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], ecx
jl 0x40939a
mov ecx, dword [esp + 0x48]
call fcn.0040d0b0
test al, al
je 0x4094c8
lea ecx, [esp + 0x98]
call fcn.0040d0c0
mov eax, dword [esp + 0x2a8]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], edi
jle 0x4094c8
mov ebx, dword [esp + 0x2a4]
fild dword [esp + 0x10]
xor esi, esi
test ebx, ebx
fmul dword [esp + 0x68]
mov dword [esp + 0x10], esi
jle 0x4094b6
call sub.MSVCRT.dll__ftol
mov ebp, eax
fild dword [esp + 0x10]
push ebp
fmul dword [esp + 0x60]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x4c]
push eax
call fcn.0040d280
push eax
push edi
push esi
lea ecx, [esp + 0xa4]
call fcn.0040d240
inc esi
cmp esi, ebx
mov dword [esp + 0x10], esi
jl 0x409484
jmp 0x4094b8
fstp st(0)
mov eax, dword [esp + 0x2a8]
inc edi
cmp edi, eax
mov dword [esp + 0x10], edi
jl 0x40946b
mov ecx, dword [esp + 0x2b0]
push 1
test ecx, ecx
je 0x4094df
lea edx, [esp + 0x9c]
push edx
jmp 0x4094eb
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x9c]
push eax
call fcn.004071f0
lea ecx, [esp + 0x98]
mov dword [esp + 0x29c], 0xffffffff
mov dword [esp + 0x98], sym.MiniPage.exe_const_CxImage::vftable
call fcn.00406cb0
lea ecx, [esp + 0x98]
call fcn.00406c00
mov al, 1
jmp 0x408865