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

Disassembly:
push 0xffffffffffffffff
push 0x4a108b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4d16b0]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d16b0]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov esi, dword [esp + 0x268]
mov ecx, dword [esp + 0x264]
test ecx, ecx
mov ebp, dword [esp + 0x260]
mov eax, dword [esp + 0x26c]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], eax
je 0x452619
test esi, esi
je 0x452619
mov edx, dword [ebp + 0xc]
cmp edx, ecx
mov dword [esp + 0x14], edx
jne 0x452500
cmp dword [ebp + 0x10], esi
jne 0x452500
test eax, eax
je 0x4524f9
push ebp
call fcn.00450440
mov al, 1
jmp 0x45261b
fild dword [esp + 0x14]
push 0
lea esi, [esp + 0x88]
mov dword [esp + 0x88], vtable.CxImage.0
fidiv dword [esp + 0x268]
fstp dword [esp + 0x64]
fild dword [ebp + 0x10]
fidiv dword [esp + 0x26c]
fstp dword [esp + 0x54]
call fcn.00450220
mov dword [esp + 0x258], 0
cmp dword [esp + 0x88], 0
jne 0x45255c
lea esi, [ebp + 0x30]
mov ecx, 0x62
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x40]
mov edi, dword [esp + 0x268]
mov ecx, dword [esp + 0x264]
push eax
movzx eax, word [ebp + 0x16]
push edi
push ecx
lea ebx, [esp + 0x90]
call fcn.004505a0
mov eax, dword [ebp + 4]
test eax, eax
mov esi, dword [esp + 0x88]
je 0x4525d4
cmp dword [ebp + 0x28], 0
je 0x4525d4
lea edx, [eax + 0x28]
test edx, edx
je 0x4525d4
test esi, esi
je 0x4525d8
mov eax, dword [esp + 0xac]
test eax, eax
je 0x4525d4
lea ecx, [eax*4]
cmp ecx, 0x400
jb 0x4525be
mov ecx, 0x400
push ecx
lea eax, [esi + 0x28]
push edx
push eax
call fcn.00488b70
add esp, 0xc
mov byte [esp + 0x22d], 0
test esi, esi
jne 0x452645
lea eax, [esp + 0xc8]
lea edx, [ebp + 0x44]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x4525e6
mov dword [esp + 0x258], 0xffffffff
lea esi, [esp + 0x84]
mov dword [esp + 0x84], vtable.CxImage.0
call fcn.00450370
call fcn.004502c0
xor al, al
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.0047f460
add esp, 0x248
ret 0x10
mov eax, dword [ebp + 0xc]
fld dword [esp + 0x60]
cmp eax, dword [esp + 0x264]
fld dword [esp + 0x50]
jle 0x452c18
cmp dword [ebp + 0x10], edi
jle 0x452c18
cmp word [ebp + 0x16], 0x18
jne 0x452c18
mov edi, dword [esp + 0x264]
fstp st(1)
mov edx, dword [esp + 0xb8]
fstp st(0)
lea edi, [edi + edi*2]
mov dword [esp + 0x40], edx
xor ecx, ecx
lea esi, [edi + 3]
mov eax, esi
mov edx, 4
mul edx
seto cl
mov dword [esp + 0x14], edi
neg ecx
or ecx, eax
push ecx
call fcn.0047f682
mov ebx, eax
xor ecx, ecx
add esp, 4
mov eax, esi
mov edx, 4
mul edx
seto cl
mov dword [esp + 0x28], ebx
neg ecx
or ecx, eax
push ecx
call fcn.0047f682
fld dword [esp + 0x64]
fmul qword [0x4c1600]
add esp, 4
mov dword [esp + 0x34], eax
fmul dword [esp + 0x50]
call fcn.0049dc50
mov esi, dword [esp + 0x264]
lea esi, [esi + esi*2]
add esi, esi
add esi, esi
push esi
push 0
push ebx
mov dword [esp + 0x44], eax
call fcn.004854b0
mov eax, dword [esp + 0x40]
add esp, 0xc
push esi
xor esi, esi
push esi
push eax
call fcn.004854b0
fld dword [esp + 0x5c]
fld qword [0x4bdd20]
add esp, 0xc
cmp dword [ebp + 0x10], esi
fsub st(1), st(0)
fxch st(1)
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], esi
fstp dword [esp + 0x18]
jle 0x452bcf
mov ecx, dword [esp + 0xb8]
fld dword [esp + 0x18]
fld qword [0x4c1600]
mov dword [esp + 0x30], esi
fld dword [esp + 0x60]
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x30]
cdq
idiv dword [ebp + 0x10]
cmp dword [ebp + 0x148], 0
mov dword [ebp + 0x144], eax
jne 0x452bc9
mov edi, dword [ebp + 0x30]
fld st(0)
imul edi, dword [esp + 0x48]
fsub st(4)
fstp dword [esp + 0x1c]
fild dword [esp + 0x48]
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
add edi, dword [ebp + 0x34]
fcom st(3)
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x58], ebx
fnstsw ax
test ah, 5
jp 0x45286f
cmp dword [ebp + 0xc], ebx
fstp st(0)
mov dword [esp + 0x24], ebx
jle 0x452ba8
mov esi, dword [esp + 0x28]
fld dword [esp + 0x1c]
add esi, 4
fild dword [esp + 0x24]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4527ff
movzx edx, byte [edi]
fstp st(0)
imul edx, edx, 0x3e8
add dword [esi - 4], edx
movzx eax, byte [edi + 1]
imul eax, eax, 0x3e8
add dword [esi], eax
movzx ecx, byte [edi + 2]
imul ecx, ecx, 0x3e8
add dword [esi + 4], ecx
add edi, 3
jmp 0x452858
fsub st(1)
fmul st(3)
call fcn.0049dc50
fadd st(1)
movzx edx, byte [edi]
mov ecx, 0x3e8
sub ecx, eax
fstp dword [esp + 0x1c]
imul edx, ecx
fld dword [esp + 0x1c]
add dword [esi - 4], edx
movzx edx, byte [edi]
imul edx, eax
add dword [esi + 8], edx
movzx edx, byte [edi + 1]
imul edx, ecx
add dword [esi], edx
movzx edx, byte [edi + 1]
imul edx, eax
add dword [esi + 0xc], edx
movzx edx, byte [edi + 2]
imul edx, ecx
add dword [esi + 4], edx
movzx ecx, byte [edi + 2]
imul ecx, eax
add dword [esi + 0x10], ecx
add edi, 3
add esi, 0xc
add ebx, 1
cmp ebx, dword [ebp + 0xc]
mov dword [esp + 0x24], ebx
jl 0x4527be
fstp st(0)
jmp 0x452ba8
fsub st(3)
fmul st(2)
call fcn.0049dc50
cmp dword [ebp + 0xc], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
jle 0x452b2d
mov ecx, dword [esp + 0x28]
fld dword [esp + 0x1c]
mov edx, 0x3e8
sub edx, eax
mov eax, dword [esp + 0x34]
lea ebx, [eax + 8]
sub eax, ecx
lea esi, [ecx + 4]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], eax
fild dword [esp + 0x24]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x452915
movzx eax, byte [edi]
fstp st(0)
imul eax, edx
add dword [esi - 4], eax
movzx eax, byte [edi]
imul eax, ecx
add dword [ebx - 8], eax
movzx eax, byte [edi + 1]
imul eax, edx
add dword [esi], eax
movzx eax, byte [edi + 1]
imul eax, ecx
mov ecx, eax
mov eax, dword [esp + 0x4c]
add dword [esi + eax], ecx
movzx ecx, byte [edi + 2]
imul ecx, edx
add dword [esi + 4], ecx
movzx eax, byte [edi + 2]
mov ecx, dword [esp + 0x20]
imul eax, ecx
add dword [ebx], eax
add edi, 3
jmp 0x452b17
fsub st(1)
fmul st(3)
call fcn.0049dc50
mov ecx, eax
movzx edx, byte [edi]
mov ebx, 0x3e8
sub ebx, ecx
imul edx, ebx
imul edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
add dword [esi - 4], eax
mov eax, dword [esi - 4]
cdq
idiv ebp
mov edx, dword [esp + 0x40]
mov byte [edx], al
movzx edx, byte [edi]
imul edx, dword [esp + 0x20]
imul edx, ebx
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, eax
mov eax, dword [esp + 0x44]
add dword [eax - 8], edx
movzx edx, byte [edi]
imul edx, ecx
imul edx, dword [esp + 0x2c]
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
add dword [esi + 8], eax
movzx edx, byte [edi]
imul edx, dword [esp + 0x20]
imul edx, ecx
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x4c]
mov dword [esi + edx + 8], eax
movzx edx, byte [edi + 1]
imul edx, ebx
imul edx, dword [esp + 0x2c]
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
add dword [esi], eax
mov eax, dword [esi]
cdq
idiv ebp
mov edx, dword [esp + 0x40]
mov byte [edx + 1], al
movzx edx, byte [edi + 1]
imul edx, dword [esp + 0x20]
imul edx, ebx
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, eax
fadd st(1)
mov eax, dword [esp + 0x4c]
add dword [esi + eax], edx
movzx edx, byte [edi + 1]
fstp dword [esp + 0x1c]
imul edx, ecx
fld dword [esp + 0x1c]
imul edx, dword [esp + 0x2c]
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
add dword [esi + 0xc], eax
movzx edx, byte [edi + 1]
imul edx, dword [esp + 0x20]
imul edx, ecx
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x44]
mov dword [edx + 8], eax
movzx edx, byte [edi + 2]
imul edx, ebx
imul edx, dword [esp + 0x2c]
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
add dword [esi + 4], eax
mov eax, dword [esi + 4]
cdq
idiv ebp
mov ebp, dword [esp + 0x40]
add dword [esp + 0x18], 3
add ebp, 3
add edi, 3
add esi, 0xc
mov dword [esp + 0x40], ebp
mov byte [ebp - 1], al
movzx edx, byte [edi - 1]
imul edx, dword [esp + 0x20]
imul edx, ebx
mov ebx, dword [esp + 0x44]
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
add dword [ebx], eax
movzx edx, byte [edi - 1]
imul edx, ecx
imul edx, dword [esp + 0x2c]
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
add dword [esi + 4], eax
movzx edx, byte [edi - 1]
imul edx, dword [esp + 0x20]
imul edx, ecx
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebx + 0xc], ecx
add ebx, 0xc
add dword [esp + 0x58], 1
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x68]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
add eax, 1
cmp eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
jl 0x4528b4
fstp st(0)
mov edx, dword [esp + 0x264]
cmp dword [esp + 0x58], edx
mov esi, dword [esp + 0x28]
jge 0x452b66
mov edi, dword [esp + 0x18]
mov eax, dword [esi + edi*4]
mov ebx, dword [esp + 0x38]
cdq
idiv ebx
mov ecx, dword [esp + 0x40]
mov byte [ecx], al
mov eax, dword [esi + edi*4 + 4]
cdq
idiv ebx
mov byte [ecx + 1], al
mov eax, dword [esi + edi*4 + 8]
cdq
idiv ebx
mov byte [ecx + 2], al
mov ecx, dword [esp + 0x34]
fld dword [esp + 0x50]
add dword [esp + 0x3c], 1
faddp st(3)
mov eax, esi
fxch st(2)
mov dword [esp + 0x28], ecx
xor ecx, ecx
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], ecx
fxch st(2)
mov dword [esp + 0x34], eax
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0xb4]
mov dword [esp + 0x64], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
add dword [esp + 0x30], 0x64
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
add eax, 1
cmp eax, dword [ebp + 0x10]
mov dword [esp + 0x48], eax
jl 0x452753
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x3c]
fstp st(0)
cmp eax, dword [esp + 0x268]
mov esi, dword [esp + 0x40]
jge 0x452bfd
xor ecx, ecx
test edi, edi
jle 0x452bfd
mov eax, dword [ebx + ecx*4]
cdq
idiv dword [esp + 0x38]
add ecx, 1
add esi, 1
cmp ecx, edi
mov byte [esi - 1], al
jl 0x452be8
push ebx
call fcn.0047f45b
mov ecx, dword [esp + 0x38]
add esp, 4
push ecx
call fcn.0047f45b
add esp, 4
jmp 0x452fd5
mov esi, dword [ebp + 0x10]
add eax, 0xffffffff
sub esi, 1
test edi, edi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x2c], 0
jle 0x452fd1
mov dword [esp + 0x30], 0
jmp 0x452c47
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x30]
cdq
idiv dword [esp + 0x268]
cmp dword [ebp + 0x148], 0
mov dword [ebp + 0x144], eax
jne 0x452fd1
fild dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fld st(0)
call fcn.0049dc50
mov dword [esp + 0x38], eax
add eax, 1
cmp esi, eax
mov dword [esp + 0x3c], esi
jl 0x452c8e
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x264], 0
fisub dword [esp + 0x38]
mov dword [esp + 0x28], 0
fstp dword [esp + 0x14]
jle 0x452fb4
fld dword [esp + 0x14]
mov byte [esp + 0x47], 0
fild dword [esp + 0x28]
fmul st(3)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fld st(0)
call fcn.0049dc50
mov edi, dword [esp + 0x64]
mov ebx, eax
lea eax, [ebx + 1]
cmp edi, eax
mov dword [esp + 0x14], ebx
jl 0x452cdd
mov edi, eax
cmp dword [ebp + 0x28], 0
fisub dword [esp + 0x14]
fstp dword [esp + 0x40]
je 0x452d7e
mov esi, dword [esp + 0x38]
mov ecx, ebx
mov eax, ebp
call fcn.004533e0
mov ecx, ebp
push eax
lea eax, [esp + 0x84]
call fcn.00453380
mov edx, dword [eax]
mov ecx, edi
mov eax, ebp
mov dword [esp + 0x34], edx
call fcn.004533e0
mov ecx, ebp
push eax
lea eax, [esp + 0x78]
call fcn.00453380
mov eax, dword [eax]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov ecx, ebx
mov eax, ebp
call fcn.004533e0
mov ecx, ebp
push eax
lea eax, [esp + 0x7c]
call fcn.00453380
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov ecx, edi
mov eax, ebp
call fcn.004533e0
mov ecx, ebp
push eax
lea eax, [esp + 0x80]
call fcn.00453380
mov edx, dword [eax]
mov bl, byte [esp + 0x35]
mov cl, byte [esp + 0x1d]
mov dword [esp + 0x48], edx
mov al, byte [esp + 0x4a]
mov dl, byte [esp + 0x49]
jmp 0x452e00
mov eax, dword [ebp + 0x30]
mov esi, dword [ebp + 0x34]
mov ecx, eax
imul eax, dword [esp + 0x3c]
imul ecx, dword [esp + 0x38]
lea edx, [ecx + esi]
lea ebx, [ebx + ebx*2]
lea ecx, [ebx + edx]
mov dword [esp + 0x14], ebx
movzx ebx, byte [ecx]
add ecx, 1
mov byte [esp + 0x34], bl
mov bl, byte [ecx]
movzx ecx, byte [ecx + 1]
lea edi, [edi + edi*2]
add edx, edi
add edx, 1
mov byte [esp + 0x36], cl
movzx ecx, byte [edx - 1]
add esi, eax
mov eax, dword [esp + 0x14]
add eax, esi
mov byte [esp + 0x1c], cl
mov cl, byte [edx]
movzx edx, byte [edx + 1]
mov byte [esp + 0x1e], dl
movzx edx, byte [eax]
add eax, 1
mov byte [esp + 0x24], dl
movzx edx, byte [eax]
movzx eax, byte [eax + 1]
mov byte [esp + 0x26], al
lea eax, [esi + edi]
mov byte [esp + 0x25], dl
movzx edx, byte [eax]
add eax, 1
mov byte [esp + 0x48], dl
mov dl, byte [eax]
add eax, 1
mov al, byte [eax]
movzx esi, byte [esp + 0x36]
fnstcw word [esp + 0x20]
movzx edi, byte [esp + 0x26]
sub edi, esi
mov dword [esp + 0x14], edi
movzx edi, byte [esp + 0x25]
fild dword [esp + 0x14]
mov dword [esp + 0x18], esi
movzx esi, bl
fmul st(1)
sub edi, esi
fiadd dword [esp + 0x18]
mov dword [esp + 0x14], edi
movzx edi, byte [esp + 0x24]
mov dword [esp + 0x18], esi
movzx esi, byte [esp + 0x34]
fstp dword [esp + 0x4c]
fild dword [esp + 0x14]
sub edi, esi
mov dword [esp + 0x14], edi
movzx eax, al
fmul st(1)
fiadd dword [esp + 0x18]
mov dword [esp + 0x18], esi
movzx esi, byte [esp + 0x1e]
sub eax, esi
fstp dword [esp + 0x5c]
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
movzx eax, cl
movzx ecx, dl
fmul st(1)
movzx edx, byte [esp + 0x48]
fiadd dword [esp + 0x18]
mov dword [esp + 0x18], esi
sub ecx, eax
fstp dword [esp + 0x54]
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fmul st(1)
fiadd dword [esp + 0x18]
mov dword [esp + 0x18], eax
movzx eax, byte [esp + 0x1c]
sub edx, eax
fstp dword [esp + 0x58]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul st(1)
fiadd dword [esp + 0x18]
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0x20]
or eax, 0xc00
fstp dword [esp + 0x70]
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fmul st(1)
fiadd dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x58]
fld dword [esp + 0x4c]
fld st(0)
fsubp st(2)
fld dword [esp + 0x40]
fld st(0)
fmulp st(3)
fxch st(2)
faddp st(1)
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
mov cl, byte [esp + 0x14]
fldcw word [esp + 0x20]
fld dword [esp + 0x70]
fld dword [esp + 0x5c]
fld st(0)
fsubp st(2)
fnstcw word [esp + 0x20]
fld st(2)
movzx eax, word [esp + 0x20]
fmulp st(2)
or eax, 0xc00
faddp st(1)
mov dword [esp + 0x5c], eax
fldcw word [esp + 0x5c]
mov edi, dword [esp + 0x28]
xor ebx, ebx
lea esi, [esp + 0x84]
fistp dword [esp + 0x5c]
mov dl, byte [esp + 0x5c]
fldcw word [esp + 0x20]
fld dword [esp + 0x18]
fld dword [esp + 0x54]
fld st(0)
fsubp st(2)
fnstcw word [esp + 0x20]
fxch st(1)
movzx eax, word [esp + 0x20]
fmulp st(2)
or eax, 0xc00
mov dword [esp + 0x54], eax
faddp st(1)
fldcw word [esp + 0x54]
fistp dword [esp + 0x54]
mov al, byte [esp + 0x54]
mov bh, al
movzx eax, cl
fldcw word [esp + 0x20]
mov bl, dl
shl ebx, 8
or eax, ebx
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0x46], al
mov byte [esp + 0x45], ah
shr eax, 0x10
mov byte [esp + 0x44], al
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004538e0
mov eax, edi
add eax, 1
cmp eax, dword [esp + 0x264]
mov dword [esp + 0x28], eax
jl 0x452cb5
fstp st(0)
mov eax, dword [esp + 0x2c]
add dword [esp + 0x30], 0x64
add eax, 1
cmp eax, dword [esp + 0x268]
mov dword [esp + 0x2c], eax
jl 0x452c43
fstp st(1)
fstp st(0)
cmp dword [ebp + 0x1bc], 0
je 0x4530dd
lea esi, [esp + 0x84]
call fcn.00453cd0
xor edi, edi
cmp dword [esp + 0x268], edi
mov dword [esp + 0x3c], edi
jle 0x4530dd
mov edx, dword [esp + 0x240]
fld dword [esp + 0x50]
fld dword [esp + 0x60]
mov dword [esp + 0x30], edx
fild dword [esp + 0x3c]
xor esi, esi
cmp dword [esp + 0x264], esi
mov dword [esp + 0x14], esi
fmul st(2)
fstp dword [esp + 0x38]
jle 0x4530ba
fld dword [esp + 0x38]
call fcn.0049dc50
mov ebx, eax
fild dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
call fcn.0049dc50
mov edx, dword [ebp + 0x1bc]
test edx, edx
je 0x45307d
test ebx, ebx
jl 0x45307d
cmp ebx, dword [ebp + 0x10]
jge 0x45307d
test eax, eax
jl 0x45307d
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
jge 0x45307d
mov edi, ebx
imul edi, ecx
add edi, edx
mov al, byte [edi + eax]
mov edi, dword [esp + 0x3c]
jmp 0x45307f
xor al, al
cmp dword [esp + 0x240], 0
je 0x4530aa
test edi, edi
jl 0x4530aa
cmp edi, dword [esp + 0x94]
jge 0x4530aa
test esi, esi
jl 0x4530aa
cmp esi, dword [esp + 0x90]
jge 0x4530aa
mov ecx, dword [esp + 0x30]
mov byte [esi + ecx], al
add esi, 1
cmp esi, dword [esp + 0x264]
mov dword [esp + 0x14], esi
jl 0x45303c
mov edx, dword [esp + 0x90]
add dword [esp + 0x30], edx
add edi, 1
cmp edi, dword [esp + 0x268]
mov dword [esp + 0x3c], edi
jl 0x453014
fstp st(0)
fstp st(0)
mov ebx, dword [esp + 0x6c]
test ebx, ebx
push 1
je 0x4530f1
lea eax, [esp + 0x88]
push eax
jmp 0x4530fb
lea ecx, [esp + 0x88]
push ecx
mov ebx, ebp
call fcn.004507e0
mov dword [esp + 0x258], 0xffffffff
lea esi, [esp + 0x84]
mov dword [esp + 0x84], vtable.CxImage.0
call fcn.00450370
call fcn.004502c0
mov al, 1
jmp 0x45261b