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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48f9ab
push eax
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push ebp
mov ebp, dword [esp + 0x248]
push esi
push edi
xor edi, edi
cmp ebp, edi
mov ebx, ecx
je 0x458d8e
mov esi, dword [esp + 0x254]
cmp esi, edi
je 0x458d8e
mov eax, dword [ebx + 0xc]
cmp eax, ebp
mov dword [esp + 0x14], eax
jne 0x458cf3
cmp dword [ebx + 0x10], esi
jne 0x458cf3
mov ecx, dword [esp + 0x25c]
cmp ecx, edi
je 0x459a8f
push 1
push 1
push 1
push ebx
call fcn.00448900
mov al, 1
jmp 0x458d90
fild dword [esp + 0x14]
push edi
lea ecx, [esp + 0x98]
fidiv dword [esp + 0x254]
fstp dword [esp + 0x4c]
fild dword [ebx + 0x10]
fidiv dword [esp + 0x258]
fstp dword [esp + 0x58]
call fcn.004487c0
push ebx
lea ecx, [esp + 0x98]
mov dword [esp + 0x24c], edi
call fcn.00448a30
mov eax, dword [ebx + 0x40]
lea ecx, [esp + 0x94]
push eax
xor eax, eax
mov ax, word [ebx + 0x16]
push eax
push esi
push ebp
call fcn.00448a70
push 0x100
mov ecx, ebx
call fcn.0044c860
push eax
lea ecx, [esp + 0x9c]
call fcn.0044d060
cmp dword [esp + 0x98], edi
jne 0x458dab
lea ecx, [esp + 0x94]
mov dword [esp + 0x248], 0xffffffff
mov dword [esp + 0x94], 0x492350
call fcn.004487e0
xor al, al
mov ecx, dword [esp + 0x240]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x23c
ret 0x10
mov eax, dword [ebx + 0xc]
cmp eax, ebp
jne 0x458dc4
cmp dword [ebx + 0x10], esi
jne 0x458dc4
lea ecx, [esp + 0x94]
push ecx
jmp 0x459a66
mov ecx, dword [esp + 0x258]
dec ecx
je 0x459906
dec ecx
je 0x459610
cmp eax, ebp
jle 0x45924b
cmp dword [ebx + 0x10], esi
jle 0x45924b
cmp word [ebx + 0x16], 0x18
jne 0x45924b
mov edx, dword [esp + 0xc8]
lea esi, [ebp + ebp*2 + 3]
shl esi, 2
push esi
mov dword [esp + 0x2c], edx
call sub.MFC42.DLL_operatornew
mov edi, eax
push esi
mov dword [esp + 0x28], edi
call sub.MFC42.DLL_operatornew
fld dword [esp + 0x5c]
fmul dword [esp + 0x50]
add esp, 8
mov dword [esp + 0x18], eax
fmul dword [0x4967b0]
call sub.MSVCRT.dll__ftol
lea edx, [ebp + ebp*2]
mov dword [esp + 0x30], 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 + 0x54]
fsub dword [0x4967ac]
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x18]
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 [ebx + 0x10]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
jle 0x458fa8
xor edi, edi
mov dword [esp + 0x14], eax
jmp 0x458e8d
xor edi, edi
cdq
idiv ecx
mov dword [ebx + 0x144], eax
mov eax, dword [ebx + 0x148]
cmp eax, edi
jne 0x458fa8
mov esi, dword [ebx + 0x30]
mov eax, dword [ebx + 0x34]
fld dword [esp + 0x48]
imul esi, dword [esp + 0x34]
fsub dword [0x4967ac]
fild dword [esp + 0x34]
fcom st(2)
add esi, eax
mov dword [esp + 0x3c], edi
fnstsw ax
mov dword [esp + 0x60], edi
test ah, 1
je 0x458ffa
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], edi
cmp eax, edi
fstp st(0)
jle 0x458f87
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
fild dword [esp + 0x1c]
fcom st(1)
fnstsw ax
test ah, 1
je 0x458f25
mov eax, dword [esp + 0x24]
mov edi, 3
fstp st(0)
xor ecx, ecx
mov edx, 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 edx, ecx
inc esi
mov dword [eax - 4], edx
dec edi
jne 0x458f05
jmp 0x458f73
fsub st(1)
fmul dword [0x4967b0]
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x24]
mov edi, eax
mov ebp, 0x3e8
mov ecx, edx
sub ebp, edi
add edx, 0xc
mov eax, 3
mov dword [esp + 0x24], edx
xor edx, edx
add ecx, 4
mov dl, byte [esi]
imul edx, ebp
add dword [ecx - 4], edx
xor edx, edx
mov dl, byte [esi]
imul edx, edi
add dword [ecx + 8], edx
inc esi
dec eax
jne 0x458f4d
fadd dword [esp + 0x48]
mov ebp, dword [esp + 0x250]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0xc]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x458eed
fstp st(0)
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x10]
inc edx
add eax, 0x64
cmp edx, ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], eax
jl 0x458e8b
mov edx, dword [esp + 0x254]
mov eax, dword [esp + 0x2c]
cmp eax, edx
fstp st(0)
jge 0x458fde
lea ebp, [ebp + ebp*2]
test ebp, ebp
jle 0x458fde
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov edi, ebp
mov ebp, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
cdq
idiv ebp
inc esi
dec edi
mov byte [esi - 1], al
jne 0x458fcf
mov eax, dword [esp + 0x20]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 8
jmp 0x4599b6
fsub st(2)
fmul dword [0x4967b0]
call sub.MSVCRT.dll__ftol
mov ebp, eax
mov eax, dword [ebx + 0xc]
test eax, eax
mov dword [esp + 0x1c], 0
jle 0x4591cb
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
add ecx, 0xc
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], ecx
fild dword [esp + 0x1c]
fcom st(1)
fnstsw ax
test ah, 1
je 0x459084
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, 0x3e8
sub ecx, ebp
sub edi, edx
fstp st(0)
mov dword [esp + 0x4c], 3
xor edx, edx
add eax, 4
mov dl, byte [esi]
imul edx, ecx
add dword [edi + eax - 4], edx
xor edx, edx
mov dl, byte [esi]
imul edx, ebp
add dword [eax - 4], edx
mov edx, dword [esp + 0x4c]
inc esi
dec edx
mov dword [esp + 0x4c], edx
jne 0x45905b
jmp 0x4591b7
fsub st(1)
fmul dword [0x4967b0]
call sub.MSVCRT.dll__ftol
mov ecx, 0x3e8
mov edx, 0x3e8
sub ecx, ebp
sub edx, eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], edx
imul ecx, edx
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
sub eax, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov eax, 3
add edx, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x3c], edx
mov eax, 0xc
mov edx, edi
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x58]
add edx, eax
mov dword [esp + 0x24], edx
mov edx, ecx
add edx, eax
mov dword [esp + 0x58], edx
xor edx, edx
mov eax, 0x10624dd3
mov dl, byte [esi]
add edi, 4
imul edx, dword [esp + 0x70]
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 + 0x30]
mov edx, dword [esp + 0x28]
inc edx
mov dword [esp + 0x28], edx
mov byte [edx - 1], al
xor edx, edx
mov dl, byte [esi]
mov eax, 0x10624dd3
imul edx, ebp
imul edx, dword [esp + 0x10]
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, dword [esp + 0x4c]
imul edx, dword [esp + 0x74]
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, ebp
imul edx, dword [esp + 0x4c]
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x38]
inc esi
mov dword [eax + ecx - 4], edx
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x78], eax
jne 0x4590f0
mov eax, dword [esp + 0x60]
fadd dword [esp + 0x48]
inc eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0xc]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x45902f
mov ecx, dword [esp + 0x250]
mov eax, dword [esp + 0x60]
cmp eax, ecx
fstp st(0)
jge 0x459203
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
lea ecx, [eax + edx*4]
mov edi, 3
mov eax, dword [ecx]
add ecx, 4
cdq
idiv ebp
inc esi
dec edi
mov byte [esi - 1], al
jne 0x4591f4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [eax], ecx
fadd dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ebp, dword [esp + 0x250]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x2c]
inc eax
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x2c], eax
imul eax, dword [esp + 0xc4]
add eax, ecx
mov dword [esp + 0x28], eax
jmp 0x458f89
mov ebp, dword [ebx + 0x10]
dec eax
dec ebp
cmp esi, edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x20], edi
jle 0x4599b6
mov dword [esp + 0x3c], edi
jmp 0x45926e
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
cdq
idiv dword [esp + 0x254]
mov dword [ebx + 0x144], eax
mov eax, dword [ebx + 0x148]
test eax, eax
jne 0x4599b6
fild dword [esp + 0x20]
fmul dword [esp + 0x54]
fld st(0)
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x34], eax
inc eax
cmp ebp, eax
mov dword [esp + 0x24], ebp
jl 0x4592ae
mov dword [esp + 0x24], eax
fild dword [esp + 0x34]
mov eax, dword [esp + 0x250]
mov dword [esp + 0x2c], 0
test eax, eax
fsubr st(1)
fstp dword [esp + 0x18]
fstp st(0)
jle 0x4595e8
fld dword [0x4967ac]
fsub dword [esp + 0x18]
fstp dword [esp + 0x1c]
fild dword [esp + 0x2c]
fmul dword [esp + 0x48]
fld st(0)
call sub.MSVCRT.dll__ftol
mov ebp, dword [esp + 0x74]
mov edi, eax
mov dword [esp + 0x10], edi
lea eax, [edi + 1]
cmp ebp, eax
jl 0x459301
mov ebp, eax
fild dword [esp + 0x10]
mov eax, dword [ebx + 0x28]
test eax, eax
fsubr st(1)
fstp dword [esp + 0x28]
fstp st(0)
je 0x4593a6
mov edx, dword [esp + 0x34]
mov ecx, ebx
push edx
push edi
call fcn.0044c8f0
push eax
lea eax, [esp + 0x88]
push eax
mov ecx, ebx
call fcn.0044c880
mov ecx, dword [esp + 0x34]
mov esi, dword [eax]
push ecx
push ebp
mov ecx, ebx
mov dword [esp + 0x68], esi
call fcn.0044c8f0
lea edx, [esp + 0x7c]
push eax
push edx
mov ecx, ebx
call fcn.0044c880
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
push ecx
push edi
mov ecx, ebx
mov dword [esp + 0x48], eax
call fcn.0044c8f0
lea edx, [esp + 0x8c]
push eax
push edx
mov ecx, ebx
call fcn.0044c880
mov edi, dword [eax]
mov eax, dword [esp + 0x24]
push eax
push ebp
mov ecx, ebx
mov dword [esp + 0x60], edi
call fcn.0044c8f0
lea ecx, [esp + 0x90]
push eax
push ecx
mov ecx, ebx
call fcn.0044c880
mov eax, dword [eax]
mov dword [esp + 0x68], eax
jmp 0x45943a
mov ecx, dword [ebx + 0x30]
mov esi, dword [esp + 0x34]
imul esi, ecx
lea eax, [edi + edi*2]
mov edi, dword [ebx + 0x34]
mov dword [esp + 0x10], eax
add eax, esi
add eax, edi
lea ebp, [ebp + ebp*2]
mov dl, byte [eax]
inc eax
mov byte [esp + 0x60], dl
mov dl, byte [eax]
mov al, byte [eax + 1]
mov byte [esp + 0x62], al
lea eax, [esi + ebp]
mov esi, dword [esp + 0x24]
add eax, edi
imul esi, ecx
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x61], dl
mov dl, byte [eax]
inc eax
mov byte [esp + 0x40], dl
mov dl, byte [eax]
mov al, byte [eax + 1]
mov byte [esp + 0x42], al
lea eax, [esi + ecx]
add eax, edi
mov byte [esp + 0x41], dl
mov dl, byte [eax]
mov cl, byte [eax + 1]
inc eax
mov byte [esp + 0x58], dl
mov byte [esp + 0x59], cl
mov dl, byte [eax + 1]
lea eax, [esi + ebp]
add eax, edi
mov esi, dword [esp + 0x60]
mov byte [esp + 0x5a], dl
mov edi, dword [esp + 0x58]
mov cl, byte [eax]
mov dl, byte [eax + 1]
inc eax
mov byte [esp + 0x68], cl
mov byte [esp + 0x69], dl
mov al, byte [eax + 1]
mov byte [esp + 0x6a], al
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x62]
mov edx, dword [esp + 0x5a]
and ecx, 0xff
and edx, 0xff
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x61]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x59]
and ecx, 0xff
and edx, 0xff
fmul dword [esp + 0x1c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
and esi, 0xff
and edi, 0xff
mov ecx, dword [esp + 0x42]
fmul dword [esp + 0x18]
and ecx, 0xff
and eax, 0xff
faddp st(1)
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x6a]
and edx, 0xff
fmul dword [esp + 0x1c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], esi
fmul dword [esp + 0x18]
faddp st(1)
fstp dword [esp + 0x70]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edi
fmul dword [esp + 0x1c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x41]
and ecx, 0xff
fmul dword [esp + 0x18]
faddp st(1)
fstp dword [esp + 0x78]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x69]
and edx, 0xff
fmul dword [esp + 0x1c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x40]
and ecx, 0xff
fmul dword [esp + 0x18]
faddp st(1)
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
fmul dword [esp + 0x1c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fmul dword [esp + 0x18]
faddp st(1)
fstp dword [esp + 0x14]
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul dword [esp + 0x1c]
fild dword [esp + 0x10]
fmul dword [esp + 0x18]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [0x4967ac]
fsub dword [esp + 0x28]
fst dword [esp + 0x30]
fmul st(2)
fxch st(1)
fmul dword [esp + 0x28]
faddp st(1)
call sub.MSVCRT.dll__ftol
fstp st(0)
fld dword [esp + 0x30]
fmul dword [esp + 0x70]
fld dword [esp + 0x14]
fmul dword [esp + 0x28]
mov byte [esp + 0x4c], al
faddp st(1)
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x30]
fmul dword [esp + 0x78]
fld dword [esp + 0x10]
fmul dword [esp + 0x28]
mov byte [esp + 0x53], al
faddp st(1)
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x4c]
xor ecx, ecx
mov ch, al
mov eax, dword [esp + 0x20]
mov cl, byte [esp + 0x53]
mov esi, dword [esp + 0x2c]
shl ecx, 8
and edx, 0xff
or ecx, edx
push ecx
push eax
push esi
lea ecx, [esp + 0xa0]
call fcn.0044cc80
mov eax, dword [esp + 0x250]
inc esi
cmp esi, eax
mov dword [esp + 0x2c], esi
jl 0x4592df
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x254]
inc eax
add edx, 0x64
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], edx
jl 0x45926a
jmp 0x4599b6
cmp esi, edi
mov dword [esp + 0x28], edi
jle 0x4599b6
mov ecx, dword [esp + 0x254]
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x3c]
cdq
idiv ecx
mov dword [ebx + 0x144], eax
mov eax, dword [ebx + 0x148]
test eax, eax
jne 0x4599b6
fild dword [esp + 0x28]
fmul dword [esp + 0x54]
fsub dword [0x4967a8]
fst dword [esp + 0x38]
fstp qword [esp + 0x68]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
push esi
push edi
call dword [sym.imp.MSVCRT.dll_floor]
call sub.MSVCRT.dll__ftol
push esi
push edi
mov dword [esp + 0x20], eax
call dword [sym.imp.MSVCRT.dll_floor]
fsubr dword [esp + 0x48]
mov ecx, dword [esp + 0x260]
xor eax, eax
add esp, 0x10
cmp ecx, eax
fstp dword [esp + 0x74]
mov dword [esp + 0x20], eax
jle 0x4598de
mov dword [esp + 0x2c], eax
fild dword [esp + 0x20]
fmul dword [esp + 0x48]
fsub dword [0x4967a8]
fst dword [esp + 0x38]
fstp qword [esp + 0x68]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
push esi
push edi
call dword [sym.imp.MSVCRT.dll_floor]
call sub.MSVCRT.dll__ftol
push esi
push edi
mov ebp, eax
call dword [sym.imp.MSVCRT.dll_floor]
fsubr dword [esp + 0x48]
add esp, 0x10
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
fstp dword [esp + 0x38]
mov dword [esp + 0x34], 0xffffffff
fild dword [esp + 0x34]
push ecx
mov ecx, ebx
fsub dword [esp + 0x78]
fstp dword [esp]
call fcn.0045ab40
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
fstp dword [esp + 0x70]
lea esi, [ecx + edx]
test esi, esi
jge 0x459725
xor esi, esi
mov eax, dword [ebx + 0x10]
cmp esi, eax
jl 0x45972f
lea esi, [eax - 1]
or edi, 0xffffffff
mov dword [esp + 0x14], edi
fild dword [esp + 0x14]
push ecx
mov ecx, ebx
fsubr dword [esp + 0x3c]
fstp dword [esp]
call fcn.0045ab40
fmul dword [esp + 0x70]
lea ecx, [edi + ebp]
test ecx, ecx
fstp dword [esp + 0x30]
jge 0x45975a
xor ecx, ecx
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jl 0x459764
lea ecx, [eax - 1]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x459784
push esi
lea eax, [esp + 0x8c]
push ecx
push eax
mov ecx, ebx
call fcn.0044ca00
mov eax, dword [eax]
mov dword [esp + 0x40], eax
jmp 0x4597ad
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x34]
imul eax, esi
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 + 0x40], dl
mov byte [esp + 0x41], cl
mov dl, byte [eax + 1]
mov byte [esp + 0x42], dl
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x42]
mov edx, dword [esp + 0x41]
and ecx, 0xff
and edx, 0xff
mov dword [esp + 0x14], ecx
and eax, 0xff
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
inc edi
cmp edi, 3
fmul dword [esp + 0x30]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fmul dword [esp + 0x30]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edi
fmul dword [esp + 0x30]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
jl 0x459736
mov eax, dword [esp + 0x34]
inc eax
cmp eax, 3
mov dword [esp + 0x34], eax
jl 0x4596fd
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x45987d
fld dword [esp + 0x24]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x18]
xor edx, edx
mov dh, al
mov dword [esp + 0x38], edx
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x38]
fld dword [esp + 0x1c]
mov dl, al
shl edx, 8
mov dword [esp + 0x38], edx
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
and eax, 0xff
or ecx, eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0xa0]
call fcn.0044cc80
jmp 0x4598bb
mov esi, dword [esp + 0xc4]
mov edi, dword [esp + 0xc8]
imul esi, dword [esp + 0x28]
fld dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
add esi, edi
add esi, edx
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x18]
mov byte [esi], al
inc esi
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x1c]
mov byte [esi], al
inc esi
call sub.MSVCRT.dll__ftol
mov byte [esi], al
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x250]
inc eax
add edx, 3
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edx
jl 0x45969d
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x254]
inc eax
add esi, 0x64
cmp eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], esi
jl 0x459627
jmp 0x4599b6
test esi, esi
mov dword [esp + 0x14], edi
jle 0x4599b6
mov dword [esp + 0x30], 0
jmp 0x459923
mov esi, dword [esp + 0x254]
mov eax, dword [esp + 0x30]
cdq
idiv esi
mov dword [ebx + 0x144], eax
mov eax, dword [ebx + 0x148]
test eax, eax
jne 0x4599b6
fild dword [esp + 0x14]
xor esi, esi
test ebp, ebp
fmul dword [esp + 0x54]
mov dword [esp + 0x14], esi
jle 0x459995
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x2c], eax
fild dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
push 0
push ecx
fmul dword [esp + 0x50]
call sub.MSVCRT.dll__ftol
lea edx, [esp + 0x88]
push eax
push edx
mov ecx, ebx
call fcn.0044ca00
mov eax, dword [eax]
lea ecx, [esp + 0x98]
push eax
push edi
push esi
call fcn.0044ccb0
inc esi
cmp esi, ebp
mov dword [esp + 0x14], esi
jl 0x459955
jmp 0x459997
fstp st(0)
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x254]
inc edi
add ecx, 0x64
cmp edi, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], ecx
jl 0x45991c
mov eax, dword [ebx + 0x1a4]
test eax, eax
je 0x459a49
lea ecx, [esp + 0x94]
call fcn.0044f500
mov eax, dword [esp + 0x254]
xor edi, edi
test eax, eax
mov dword [esp + 0x14], edi
jle 0x459a49
mov ebp, dword [esp + 0x250]
fild dword [esp + 0x14]
xor esi, esi
test ebp, ebp
fmul dword [esp + 0x54]
mov dword [esp + 0x14], esi
jle 0x459a37
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x2c], eax
fild dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
push ecx
fmul dword [esp + 0x4c]
call sub.MSVCRT.dll__ftol
push eax
mov ecx, ebx
call fcn.0044f700
push eax
push edi
push esi
lea ecx, [esp + 0xa0]
call fcn.0044f6c0
inc esi
cmp esi, ebp
mov dword [esp + 0x14], esi
jl 0x459a03
jmp 0x459a39
fstp st(0)
mov eax, dword [esp + 0x254]
inc edi
cmp edi, eax
mov dword [esp + 0x14], edi
jl 0x4599e8
mov ecx, dword [esp + 0x25c]
test ecx, ecx
je 0x459a5e
lea edx, [esp + 0x94]
push edx
jmp 0x459a68
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
call fcn.00448cf0
lea ecx, [esp + 0x94]
mov dword [esp + 0x248], 0xffffffff
mov dword [esp + 0x94], 0x492350
call fcn.004487e0
mov al, 1
jmp 0x458d90