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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
push ebx
push esi
mov esi, ecx
mov ebx, 1
push edi
mov edi, dword [0x5fcb60]
mov eax, dword [esi + 0xd8]
mov dword [esp + 0x60], esi
test eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x9c], 0
je 0x4c2d40
mov eax, dword [esi + 0xc4]
mov eax, dword [eax + 0x20]
push eax
call edi
test eax, eax
mov dword [esp + 0xb0], ebx
jne 0x4c2d4b
mov dword [esp + 0xb0], 0
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x4c2d69
mov eax, dword [esi + 0xc8]
mov ecx, dword [eax + 0x20]
push ecx
call edi
test eax, eax
mov dword [esp + 0x78], ebx
jne 0x4c2d71
mov dword [esp + 0x78], 0
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x4c2d92
mov eax, dword [esi + 0xd0]
mov edx, dword [eax + 0x20]
push edx
call edi
test eax, eax
je 0x4c2d92
mov ebx, 1
jmp 0x4c2d94
xor ebx, ebx
mov eax, dword [esi + 0xe0]
mov dword [esp + 0xc], ebx
test eax, eax
je 0x4c2dba
mov eax, dword [esi + 0xcc]
mov eax, dword [eax + 0x20]
push eax
call edi
test eax, eax
mov dword [esp + 0x74], 1
jne 0x4c2dc2
mov dword [esp + 0x74], 0
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x4c2de4
mov ecx, dword [esi + 0x1b0]
push ecx
call edi
test eax, eax
mov dword [esp + 0x84], 1
jne 0x4c2def
mov dword [esp + 0x84], 0
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x4c2e0e
mov edx, dword [esi + 0xc1d4]
push edx
call edi
test eax, eax
mov dword [esp + 0x2c], 1
jne 0x4c2e16
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0xb0]
xor edx, edx
test eax, eax
mov dword [esp + 0x30], edx
je 0x4c2e30
mov edx, 1
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4c2e3d
inc edx
mov dword [esp + 0x30], edx
test ebx, ebx
je 0x4c2e46
inc edx
mov dword [esp + 0x30], edx
lea eax, [esi + 0xc090]
mov ecx, 8
cmp dword [eax], 0
je 0x4c2e57
inc edx
add eax, 4
dec ecx
jne 0x4c2e51
mov dword [esp + 0x30], edx
lea eax, [esi + 0xc31c]
mov ecx, 8
cmp dword [eax], 0
je 0x4c2e72
inc edx
add eax, 4
dec ecx
jne 0x4c2e6c
mov eax, dword [esp + 0x74]
mov dword [esp + 0x30], edx
xor edx, edx
test eax, eax
mov dword [esp + 0xac], edx
je 0x4c2e99
mov edx, 1
mov dword [esp + 0xac], edx
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4c2eac
inc edx
mov dword [esp + 0xac], edx
lea eax, [esi + 0xc134]
mov ecx, 0x20
cmp dword [eax], 0
je 0x4c2ebd
inc edx
add eax, 4
dec ecx
jne 0x4c2eb7
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x64]
push eax
push ecx
mov dword [esp + 0xb4], edx
call dword [0x5fcb58]
mov eax, dword [0x63c318]
mov ebx, dword [0x5fcb74]
xor edi, edi
test eax, eax
mov dword [esp + 0x94], edi
jne 0x4c2f2f
mov edx, dword [esi + 0xd940]
push edx
call dword [0x5fcb60]
test eax, eax
je 0x4c2f2f
mov ecx, dword [esi + 0xd940]
lea eax, [esp + 0x10]
push eax
push ecx
call ebx
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, eax
sub edx, edi
add ecx, edx
sub edi, eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x94], edi
mov eax, dword [0x63c31c]
test eax, eax
jne 0x4c2f7a
mov eax, dword [esi + 0xc7c0]
push eax
call dword [0x5fcb60]
test eax, eax
je 0x4c2f7a
mov edx, dword [esi + 0xc7c0]
lea ecx, [esp + 0x10]
push ecx
push edx
call ebx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x70]
sub ecx, eax
add edx, ecx
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x14]
sub eax, edx
add edi, eax
mov dword [esp + 0x94], edi
mov edx, dword [esi + 0xe4d8]
push edx
call dword [0x5fcb60]
test eax, eax
je 0x4c2fc4
mov ecx, dword [esi + 0xe4d8]
lea eax, [esp + 0x10]
push eax
push ecx
call ebx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x70]
mov edx, ecx
sub edx, eax
sub eax, ecx
lea edx, [ebx + edx + 3]
mov ebx, dword [0x5fcb74]
lea edi, [edi + eax - 3]
mov dword [esp + 0x70], edx
mov dword [esp + 0x94], edi
mov eax, dword [esi + 0xe648]
push eax
call dword [0x5fcb60]
test eax, eax
je case.default.0x4c2ff0
mov edx, dword [esi + 0xe648]
lea ecx, [esp + 0x10]
push ecx
push edx
call ebx
xor eax, eax
mov ax, word [0x636cde]
cmp eax, 3
ja case.default.0x4c2ff0
jmp dword [eax*4 + 0x4c4590]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x70]
mov edx, ecx
sub edx, eax
sub eax, ecx
lea edx, [ebx + edx + 3]
mov ebx, dword [0x5fcb74]
lea edi, [edi + eax - 3]
mov dword [esp + 0x70], edx
mov dword [esp + 0x94], edi
jmp case.default.0x4c2ff0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov ecx, dword [esp + 0x6c]
lea edx, [ecx + eax + 3]
mov dword [esp + 0x6c], edx
mov eax, dword [0x63c538]
test eax, eax
je 0x4c306d
mov eax, dword [esi + 0xe6e8]
push eax
call dword [0x5fcb60]
test eax, eax
je 0x4c306d
mov eax, dword [esi + 0xe748]
mov edx, dword [esp + 0x70]
sub edx, eax
add edi, eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x94], edi
mov eax, dword [0x63c320]
test eax, eax
jne 0x4c3134
mov ecx, dword [esi + 0xc370]
push ecx
call dword [0x5fcb60]
test eax, eax
je 0x4c309b
mov eax, dword [esi + 0xc370]
lea edx, [esp + 0x10]
push edx
jmp 0x4c311d
mov edx, dword [esi + 0xcdb8]
push edx
call dword [0x5fcb60]
test eax, eax
je 0x4c30cc
mov ecx, dword [esi + 0xcdb8]
lea eax, [esp + 0x10]
push eax
push ecx
call ebx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x70]
sub edx, ecx
add eax, edx
jmp 0x4c3130
mov eax, dword [esi + 0xd488]
push eax
call dword [0x5fcb60]
test eax, eax
je 0x4c3101
mov edx, dword [esi + 0xd488]
lea ecx, [esp + 0x10]
push ecx
push edx
call ebx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
sub eax, edx
add ecx, eax
mov dword [esp + 0x70], ecx
jmp 0x4c3134
mov ecx, dword [esi + 0xdf20]
push ecx
call dword [0x5fcb60]
test eax, eax
je 0x4c3134
mov eax, dword [esi + 0xdf20]
lea edx, [esp + 0x10]
push edx
push eax
call ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x70]
sub ecx, edx
add eax, ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4c31fc
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xc218]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x70]
cmp eax, 0xf
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
ja case.default.0x4c316b
jmp dword [eax*4 + 0x4c45a0]
fld qword [0x5fd8a8]
jmp 0x4c3196
fld qword [0x5ff1b8]
jmp 0x4c3196
fld qword [0x604b28]
jmp 0x4c3196
fld qword [0x5ff4e8]
jmp 0x4c3196
fld qword [esp + 0x58]
fild dword [esp + 0x6c]
fxch st(1)
fmul qword [0x604b20]
fsubp st(1)
call fcn.005dfdf0
mov dword [esp + 0x34], eax
add eax, 2
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.005df95e
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
push 1
sub eax, 2
lea edx, [ecx + edi - 2]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edx
lea ecx, [ecx + edi - 2]
mov dword [esp + 0x44], ecx
sub ecx, edx
push ecx
mov ecx, dword [esp + 0x3c]
sub eax, ecx
push eax
push edx
push ecx
lea ecx, [esi + 0xc1b4]
call fcn.005df406
fild dword [esp + 0x30]
mov eax, dword [ebp + 8]
test eax, eax
fsqrt
jne 0x4c3231
call fcn.005dfdf0
mov edi, dword [esp + 0x30]
mov ecx, eax
mov eax, edi
mov dword [esp + 0x2c], ecx
cdq
idiv ecx
mov dword [esp + 0x20], eax
imul eax, ecx
sub edi, eax
test edi, edi
jle 0x4c325f
inc ecx
mov dword [esp + 0x2c], ecx
jmp 0x4c325f
call fcn.005dfdf0
mov edi, dword [esp + 0x30]
mov ecx, eax
mov eax, edi
mov dword [esp + 0x20], ecx
cdq
idiv ecx
mov edx, ecx
imul edx, eax
mov dword [esp + 0x2c], eax
mov eax, edi
sub eax, edx
test eax, eax
mov dword [esp + 0x24], eax
jle 0x4c325f
inc ecx
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4c327b
mov ecx, dword [esi + 0x1b0]
lea eax, [esp + 0xb8]
push eax
push ecx
call ebx
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
sub ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
mov dword [esp + 0x44], ecx
shr eax, 0x1f
add edx, eax
mov esi, edx
cmp esi, 1
mov dword [esp + 0x90], esi
jge 0x4c32b4
mov esi, 1
mov dword [esp + 0x90], esi
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x4c330e
fild dword [esp + 0xac]
fidiv dword [esp + 0x90]
fld st(0)
call fcn.005dfdf0
mov ecx, eax
mov edx, esi
mov ebx, dword [esp + 0xac]
imul edx, ecx
mov dword [esp + 0x44], ecx
mov eax, ebx
fild dword [esp + 0x44]
sub eax, edx
mov dword [esp + 0x98], eax
fcomp st(1)
fnstsw ax
test ah, 1
fstp st(0)
je 0x4c33c3
inc ecx
mov dword [esp + 0x44], ecx
jmp 0x4c33c3
mov ebx, dword [esp + 0xac]
lea eax, [ebx - 1]
cdq
idiv esi
mov ecx, eax
mov eax, ebx
mov edx, ecx
imul edx, esi
sub eax, edx
mov edx, dword [esp + 0xc4]
dec eax
mov dword [esp + 0x98], eax
lea eax, [eax + eax*4]
shl eax, 4
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xbc]
fild dword [esp + 0x9c]
sub edx, eax
mov dword [esp + 0x9c], edx
fild dword [esp + 0x9c]
fild dword [esp + 0x44]
fstp qword [esp + 0xa0]
fcom qword [esp + 0xa0]
fnstsw ax
test ah, 0x41
jne 0x4c3382
fstp st(0)
fld qword [esp + 0xa0]
cmp ebx, 1
jle 0x4c33af
fxch st(1)
fadd st(1)
fcomp qword [esp + 0xa0]
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x4c33b3
add ecx, 2
mov dword [esp + 0x9c], 1
mov dword [esp + 0x44], ecx
jmp 0x4c33c3
fstp st(0)
fstp st(0)
inc ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0x44], ecx
cmp ecx, 1
mov dword [esp + 0x90], ebx
je 0x4c33d6
mov dword [esp + 0x90], esi
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x10], esi
test edx, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
je 0x4c3417
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xb8]
sub edx, ebx
imul edx, ecx
sub eax, edx
sub eax, 2
jmp 0x4c3442
mov eax, dword [esp + 0x6c]
fild dword [esp + 0x44]
fild dword [esp + 0x6c]
sub eax, esi
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fld st(2)
fadd qword [0x5ff728]
fdivp st(1)
fmul st(2)
fsubp st(1)
call fcn.005dfdf0
fstp st(0)
fild dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, eax
fisub dword [esp + 0x68]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
fild dword [esp + 0x20]
fdivr st(1)
fstp qword [esp + 0x58]
fild dword [esp + 0x24]
fdivr st(1)
fstp qword [esp + 0xa0]
fstp st(0)
fild dword [esp + 0x10]
fild dword [esp + 0x18]
fsub st(1)
fidiv dword [esp + 0x2c]
fstp qword [esp + 0x88]
fadd qword [esp + 0x88]
call fcn.005dfdf0
fild dword [esp + 0x4c]
mov dword [esp + 0x50], eax
fadd qword [esp + 0x58]
call fcn.005dfdf0
mov esi, eax
mov eax, dword [esp + 0xb0]
xor ebx, ebx
mov dword [esp + 0x54], esi
test eax, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
je 0x4c35c0
mov ebx, dword [esp + 0x60]
mov eax, dword [ebx + 0xc4]
mov eax, dword [eax + 0x20]
push eax
call dword [0x5fcba4]
test eax, eax
je 0x4c34f7
mov ecx, dword [ebx + 0xc4]
push 9
call fcn.005df1fc
mov ecx, dword [esp + 0x6c]
lea eax, [ecx - 4]
mov ecx, dword [esp + 0x50]
cmp ecx, eax
jle 0x4c350a
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
mov edx, esi
mov ebx, 1
sub edx, edi
push ebx
push edx
mov edx, dword [esp + 0x68]
sub ecx, eax
push ecx
mov ecx, dword [edx + 0xc4]
push edi
push eax
call fcn.005df406
fild dword [esp + 0x54]
mov edi, esi
fadd qword [esp + 0x58]
call fcn.005dfdf0
mov esi, eax
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x28], ebx
cmp eax, ebx
je 0x4c3558
mov ecx, dword [esp + 0x30]
dec ecx
cmp ecx, ebx
jne 0x4c355f
mov edx, dword [esp + 0x70]
lea esi, [edx - 1]
cmp dword [esp + 0x20], 1
jg 0x4c35c0
fild dword [esp + 0x10]
mov dword [esp + 0x24], 1
fld st(0)
fadd qword [esp + 0x88]
call fcn.005dfdf0
fld qword [esp + 0x88]
fadd st(0), st(0)
mov dword [esp + 0x48], eax
fadd st(1)
call fcn.005dfdf0
fstp st(0)
fild dword [esp + 0x14]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x50], eax
fadd qword [esp + 0x58]
call fcn.005dfdf0
mov esi, eax
mov eax, dword [esp + 0x30]
xor ebx, ebx
dec eax
cmp eax, 1
jne 0x4c35c0
mov ecx, dword [esp + 0x70]
lea esi, [ecx - 1]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4c36d7
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 0xc8]
mov eax, dword [eax + 0x20]
push eax
call dword [0x5fcba4]
test eax, eax
je 0x4c35f5
mov ecx, dword [esp + 0x60]
push 9
mov ecx, dword [ecx + 0xc8]
call fcn.005df1fc
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x50]
lea eax, [edx - 4]
cmp ecx, eax
jle 0x4c3608
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x50]
mov eax, esi
mov edx, dword [esp + 0x60]
sub eax, edi
push 1
push eax
mov eax, dword [esp + 0x50]
sub ecx, eax
push ecx
mov ecx, dword [edx + 0xc8]
push edi
push eax
call fcn.005df406
lea edi, [esi + 1]
mov dword [esp + 0x4c], edi
fild dword [esp + 0x4c]
fadd qword [esp + 0x58]
call fcn.005dfdf0
mov esi, eax
mov eax, dword [esp + 0x28]
inc eax
inc ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
dec eax
cmp ebx, eax
je 0x4c3661
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
dec ecx
cmp eax, ecx
jne 0x4c3668
mov edx, dword [esp + 0x70]
lea esi, [edx - 1]
cmp ebx, dword [esp + 0x20]
jl 0x4c36d7
mov esi, dword [esp + 0x24]
fild dword [esp + 0x10]
inc esi
mov dword [esp + 0x24], esi
fild dword [esp + 0x24]
fmul qword [esp + 0x88]
fadd st(1)
call fcn.005dfdf0
inc esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x78], esi
fild dword [esp + 0x78]
fmul qword [esp + 0x88]
fadd st(1)
call fcn.005dfdf0
fstp st(0)
fild dword [esp + 0x14]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x50], eax
fadd qword [esp + 0x58]
call fcn.005dfdf0
mov ecx, dword [esp + 0x28]
mov esi, eax
mov eax, dword [esp + 0x30]
xor ebx, ebx
dec eax
cmp ecx, eax
jne 0x4c36d7
mov ecx, dword [esp + 0x70]
lea esi, [ecx - 1]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4c37ee
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 0xd0]
mov eax, dword [eax + 0x20]
push eax
call dword [0x5fcba4]
test eax, eax
je 0x4c370c
mov ecx, dword [esp + 0x60]
push 9
mov ecx, dword [ecx + 0xd0]
call fcn.005df1fc
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x50]
lea eax, [edx - 4]
cmp ecx, eax
jle 0x4c371f
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x50]
mov eax, esi
mov edx, dword [esp + 0x60]
sub eax, edi
push 1
push eax
mov eax, dword [esp + 0x50]
sub ecx, eax
push ecx
mov ecx, dword [edx + 0xd0]
push edi
push eax
call fcn.005df406
lea edi, [esi + 1]
mov dword [esp + 0x4c], edi
fild dword [esp + 0x4c]
fadd qword [esp + 0x58]
call fcn.005dfdf0
mov esi, eax
mov eax, dword [esp + 0x28]
inc eax
inc ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
dec eax
cmp ebx, eax
je 0x4c3778
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
dec ecx
cmp eax, ecx
jne 0x4c377f
mov edx, dword [esp + 0x70]
lea esi, [edx - 1]
cmp ebx, dword [esp + 0x20]
jl 0x4c37ee
mov esi, dword [esp + 0x24]
fild dword [esp + 0x10]
inc esi
mov dword [esp + 0x24], esi
fild dword [esp + 0x24]
fmul qword [esp + 0x88]
fadd st(1)
call fcn.005dfdf0
inc esi
mov dword [esp + 0x48], eax
mov dword [esp + 0xc], esi
fild dword [esp + 0xc]
fmul qword [esp + 0x88]
fadd st(1)
call fcn.005dfdf0
fstp st(0)
fild dword [esp + 0x14]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x50], eax
fadd qword [esp + 0x58]
call fcn.005dfdf0
mov ecx, dword [esp + 0x28]
mov esi, eax
mov eax, dword [esp + 0x30]
xor ebx, ebx
dec eax
cmp ecx, eax
jne 0x4c37ee
mov ecx, dword [esp + 0x70]
lea esi, [ecx - 1]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x60]
inc edx
add eax, 0xc06c
mov dword [esp + 0x78], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], 8
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x4c3951
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x50]
lea eax, [edx - 4]
cmp ecx, eax
jle 0x4c382e
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x34]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x60]
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], esi
call fcn.005df95e
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
add eax, 2
lea edi, [ecx - 2]
mov ecx, dword [esp + 0x38]
add ecx, edi
add edx, 2
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x40]
add ecx, edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
sub ecx, edi
push 1
sub eax, edx
push ecx
push eax
push edi
mov dword [esp + 0x44], edx
push edx
mov edx, dword [esp + 0x40]
mov ecx, dword [edx]
call fcn.005df406
lea edi, [esi + 1]
mov dword [esp + 0x4c], edi
fild dword [esp + 0x4c]
fadd qword [esp + 0x58]
call fcn.005dfdf0
mov esi, eax
mov eax, dword [esp + 0x28]
inc eax
inc ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
dec eax
cmp ebx, eax
je 0x4c38d7
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
dec ecx
cmp eax, ecx
jne 0x4c38de
mov edx, dword [esp + 0x70]
lea esi, [edx - 1]
cmp ebx, dword [esp + 0x20]
jl 0x4c3951
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x78]
fild dword [esp + 0x10]
inc esi
inc edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x78], edx
fild dword [esp + 0x24]
fmul qword [esp + 0x88]
fadd st(1)
call fcn.005dfdf0
fild dword [esp + 0x78]
mov dword [esp + 0x48], eax
fmul qword [esp + 0x88]
fadd st(1)
call fcn.005dfdf0
fstp st(0)
fild dword [esp + 0x14]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x50], eax
fadd qword [esp + 0x58]
call fcn.005dfdf0
mov ecx, dword [esp + 0x28]
mov esi, eax
mov eax, dword [esp + 0x30]
xor ebx, ebx
dec eax
cmp ecx, eax
jne 0x4c3951
mov ecx, dword [esp + 0x70]
lea esi, [ecx - 1]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
add ecx, 4
dec eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], eax
jne 0x4c380c
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x60]
inc edx
add eax, 0xc2f8
mov dword [esp + 0x78], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], 8
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x4c3ace
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x50]
lea eax, [edx - 4]
cmp ecx, eax
jle 0x4c39ab
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x34]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x60]
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], esi
call fcn.005df95e
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
add eax, 2
lea edi, [ecx - 2]
mov ecx, dword [esp + 0x38]
add ecx, edi
add edx, 2
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x40]
add ecx, edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
sub ecx, edi
push 1
sub eax, edx
push ecx
push eax
push edi
mov dword [esp + 0x44], edx
push edx
mov edx, dword [esp + 0x40]
mov ecx, dword [edx]
call fcn.005df406
lea edi, [esi + 1]
mov dword [esp + 0x4c], edi
fild dword [esp + 0x4c]
fadd qword [esp + 0x58]
call fcn.005dfdf0
mov esi, eax
mov eax, dword [esp + 0x28]
inc eax
inc ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
dec eax
cmp ebx, eax
je 0x4c3a54
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
dec ecx
cmp eax, ecx
jne 0x4c3a5b
mov edx, dword [esp + 0x70]
lea esi, [edx - 1]
cmp ebx, dword [esp + 0x20]
jl 0x4c3ace
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x78]
fild dword [esp + 0x10]
inc esi
inc edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x78], edx
fild dword [esp + 0x24]
fmul qword [esp + 0x88]
fadd st(1)
call fcn.005dfdf0
fild dword [esp + 0x78]
mov dword [esp + 0x48], eax
fmul qword [esp + 0x88]
fadd st(1)
call fcn.005dfdf0
fstp st(0)
fild dword [esp + 0x14]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x50], eax
fadd qword [esp + 0x58]
call fcn.005dfdf0
mov ecx, dword [esp + 0x28]
mov esi, eax
mov eax, dword [esp + 0x30]
xor ebx, ebx
dec eax
cmp ecx, eax
jne 0x4c3ace
mov ecx, dword [esp + 0x70]
lea esi, [ecx - 1]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
add ecx, 4
dec eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], eax
jne 0x4c3989
fild dword [esp + 0x90]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x18]
fstp qword [esp + 0xb0]
fild dword [esp + 0x70]
lea edi, [edx - 4]
mov dword [esp + 0x10], esi
test ecx, ecx
fisub dword [esp + 0x68]
mov dword [esp + 0x18], edi
fdiv qword [esp + 0xb0]
fst qword [esp + 0x58]
jne 0x4c3b65
fild dword [esp + 0x18]
fisub dword [esp + 0x10]
fidiv dword [esp + 0x44]
fst qword [esp + 0x88]
fmul qword [0x604b18]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4c3c22
fstp st(0)
fld qword [esp + 0x88]
fmul qword [0x5ff1b8]
fst qword [esp + 0x58]
jmp 0x4c3c22
mov edx, dword [esp + 0x90]
cmp edx, 1
jle 0x4c3bb1
mov eax, dword [esp + 0xbc]
mov ebx, dword [esp + 0xc4]
sub eax, ebx
mov ebx, dword [esp + 0x68]
sub eax, ebx
mov ebx, dword [esp + 0x70]
lea eax, [eax + ebx - 1]
lea ebx, [edx - 1]
cdq
idiv ebx
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fst qword [esp + 0xa0]
fcomp qword [0x5fd868]
fnstsw ax
test ah, 1
je 0x4c3bc7
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0x40540000
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xb8]
sub edx, eax
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fstp qword [esp + 0x88]
fld qword [esp + 0x88]
fmul qword [0x604b18]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
fcom qword [esp + 0xa0]
fnstsw ax
test ah, 1
je 0x4c3c20
fstp qword [esp + 0xa0]
jmp 0x4c3c22
fstp st(0)
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
jne 0x4c3c7a
fild dword [esp + 0x10]
fld st(0)
call fcn.005dfdf0
fld qword [esp + 0x88]
fadd st(1)
mov ebx, eax
call fcn.005dfdf0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
add eax, ecx
cdq
fstp st(0)
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fld st(1)
fmul qword [esp + 0xb0]
jmp 0x4c3d3a
mov eax, dword [esp + 0x44]
lea edx, [eax - 2]
test edx, edx
jle 0x4c3cc5
fild dword [esp + 0x10]
fld st(0)
call fcn.005dfdf0
fld qword [esp + 0x78]
fadd st(1)
mov ebx, eax
call fcn.005dfdf0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
add eax, ecx
cdq
fstp st(0)
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fld st(1)
fmul qword [esp + 0xb0]
jmp 0x4c3d3a
dec eax
test eax, eax
jle 0x4c3d59
fild dword [esp + 0x10]
fld st(0)
call fcn.005dfdf0
fld qword [esp + 0x78]
fadd st(1)
mov ebx, eax
call fcn.005dfdf0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x9c]
test eax, eax
fstp st(0)
jne 0x4c3d19
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fld st(1)
fmul qword [esp + 0xb0]
jmp 0x4c3d3a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea eax, [edx + ecx]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fild dword [esp + 0x98]
fmul st(2)
fmul qword [0x5ff1b8]
fsubp st(1)
fld st(0)
call fcn.005dfdf0
fadd st(1)
mov esi, eax
call fcn.005dfdf0
fstp st(0)
jmp 0x4c3dea
fstp st(0)
fild dword [esp + 0x10]
fld st(0)
call fcn.005dfdf0
fld qword [esp + 0x88]
fadd st(1)
mov ebx, eax
call fcn.005dfdf0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0xc4]
sub eax, esi
mov dword [esp + 0x40], ecx
add eax, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], eax
add eax, edx
cdq
fstp st(0)
sub eax, edx
mov dword [esp + 0x3c], edi
sar eax, 1
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fild dword [esp + 0x98]
fmul qword [esp + 0xa0]
fmul qword [0x5ff1b8]
fsubp st(1)
call fcn.005dfdf0
mov esi, eax
mov dword [esp + 0x4c], esi
fild dword [esp + 0x4c]
fadd qword [esp + 0xa0]
call fcn.005dfdf0
mov edi, eax
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4c40ce
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x60]
mov eax, edi
push 1
sub eax, esi
sub ecx, ebx
push eax
push ecx
mov ecx, dword [edx + 0xcc]
push esi
push ebx
call fcn.005df406
mov eax, dword [esp + 0x44]
lea esi, [edi + 1]
dec eax
mov dword [esp + 0x4c], esi
test eax, eax
jg 0x4c3e3f
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4c3e3f
fild dword [esp + 0x4c]
fadd qword [esp + 0xa0]
jmp 0x4c3e47
fild dword [esp + 0x4c]
fadd qword [esp + 0x58]
call fcn.005dfdf0
mov edx, dword [esp + 0x90]
mov ecx, 1
dec edx
mov edi, eax
cmp edx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ecx
je 0x4c3e73
mov eax, dword [esp + 0xac]
dec eax
cmp eax, ecx
jne 0x4c3ebf
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4c3ea3
mov edx, dword [esp + 0x44]
lea eax, [edx - 1]
test eax, eax
jg 0x4c3ea3
mov eax, dword [esp + 0xbc]
mov edx, dword [esp + 0xc4]
sub eax, edx
mov edx, dword [esp + 0x70]
lea edi, [eax + edx - 1]
jmp 0x4c3ebf
mov eax, dword [esp + 0x70]
lea ecx, [eax - 1]
mov eax, ecx
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x14
jge 0x4c3eba
mov edi, ecx
mov ecx, 1
cmp dword [esp + 0x90], ecx
jne 0x4c40ce
mov eax, dword [esp + 0x84]
mov dword [esp + 0x20], ecx
test eax, eax
jne 0x4c3f53
fild dword [esp + 0x10]
fadd qword [esp + 0x88]
fld st(0)
call fcn.005dfdf0
fld qword [esp + 0x88]
fadd st(1)
mov ebx, eax
call fcn.005dfdf0
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x50], eax
fstp st(0)
lea eax, [ecx - 1]
cmp eax, 1
jle 0x4c3f36
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fld qword [esp + 0x58]
fmul qword [esp + 0xb0]
jmp 0x4c4021
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea eax, [edx + ecx]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jmp 0x4c4016
mov eax, dword [esp + 0x44]
lea edx, [eax - 2]
cmp edx, ecx
jle 0x4c3fa4
fild dword [esp + 0x10]
fadd qword [esp + 0x78]
fld st(0)
call fcn.005dfdf0
fld qword [esp + 0x78]
fadd st(1)
mov ebx, eax
call fcn.005dfdf0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
add eax, ecx
cdq
fstp st(0)
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fld qword [esp + 0x58]
fmul qword [esp + 0xb0]
jmp 0x4c4021
fild dword [esp + 0x10]
dec eax
cmp eax, ecx
fadd qword [esp + 0x78]
fld st(0)
jle 0x4c403b
call fcn.005dfdf0
fld qword [esp + 0x78]
fadd st(1)
mov ebx, eax
call fcn.005dfdf0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x9c]
test eax, eax
fstp st(0)
jne 0x4c3ffe
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fld qword [esp + 0x58]
fmul qword [esp + 0xb0]
jmp 0x4c4021
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea eax, [edx + ecx]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fild dword [esp + 0x98]
fmul qword [esp + 0x58]
fmul qword [0x5ff1b8]
fsubp st(1)
fld st(0)
call fcn.005dfdf0
fadd qword [esp + 0x58]
mov esi, eax
jmp 0x4c40bf
call fcn.005dfdf0
fld qword [esp + 0x88]
fadd st(1)
mov ebx, eax
call fcn.005dfdf0
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0xc4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x1c]
sub eax, esi
add eax, edx
mov dword [esp + 0x40], edx
add eax, ecx
cdq
fstp st(0)
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fild dword [esp + 0x98]
fmul qword [esp + 0xa0]
fmul qword [0x5ff1b8]
fsubp st(1)
call fcn.005dfdf0
mov esi, eax
mov dword [esp + 0x4c], esi
fild dword [esp + 0x4c]
fadd qword [esp + 0xa0]
call fcn.005dfdf0
mov edi, eax
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], 0x20
add eax, 0xc0b0
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x84]
test eax, eax
je 0x4c4441
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x34]
mov dword [esp + 0x34], ebx
push eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edi
call fcn.005df95e
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
add eax, 2
lea esi, [ecx - 1]
mov ecx, dword [esp + 0x38]
add ecx, esi
add edx, 2
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x40]
add ecx, esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
sub ecx, esi
push 1
sub eax, edx
push ecx
push eax
push esi
mov dword [esp + 0x44], edx
push edx
mov edx, dword [esp + 0x40]
mov ecx, dword [edx]
call fcn.005df406
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
dec eax
lea esi, [edi + 1]
cmp ecx, eax
mov dword [esp + 0x4c], esi
jl 0x4c4190
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4c4190
fild dword [esp + 0x4c]
fadd qword [esp + 0xa0]
jmp 0x4c4198
fild dword [esp + 0x4c]
fadd qword [esp + 0x58]
call fcn.005dfdf0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x90]
mov edi, eax
mov eax, dword [esp + 0x24]
inc edx
inc eax
dec ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x24], eax
je 0x4c41cd
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0x28]
dec edx
cmp eax, edx
jne 0x4c4216
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4c41ff
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
dec eax
cmp ecx, eax
jl 0x4c41ff
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0x70]
sub ecx, eax
lea edi, [ecx + edx - 1]
jmp 0x4c4216
mov eax, dword [esp + 0x70]
lea ecx, [eax - 1]
mov eax, ecx
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x14
jge 0x4c4216
mov edi, ecx
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jne 0x4c4441
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x84]
inc ecx
test eax, eax
mov dword [esp + 0x20], ecx
jne 0x4c42bb
fild dword [esp + 0x20]
fmul qword [esp + 0x88]
fiadd dword [esp + 0x10]
fld st(0)
call fcn.005dfdf0
fld qword [esp + 0x88]
fadd st(1)
mov ebx, eax
call fcn.005dfdf0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x50], eax
lea eax, [edx - 1]
cmp ecx, eax
fstp st(0)
jge 0x4c429f
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
fld qword [esp + 0x58]
fmul qword [esp + 0xb0]
jmp 0x4c4394
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
jmp 0x4c4389
mov eax, dword [esp + 0x44]
lea edx, [eax - 2]
cmp ecx, edx
jge 0x4c4313
fild dword [esp + 0x20]
fmul qword [esp + 0x78]
fiadd dword [esp + 0x10]
fld st(0)
call fcn.005dfdf0
fld qword [esp + 0x78]
fadd st(1)
mov ebx, eax
call fcn.005dfdf0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
add eax, ecx
cdq
fstp st(0)
sub eax, edx
sar eax, 1
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
fld qword [esp + 0x58]
fmul qword [esp + 0xb0]
jmp 0x4c4394
fild dword [esp + 0x20]
dec eax
cmp ecx, eax
fmul qword [esp + 0x78]
fiadd dword [esp + 0x10]
fld st(0)
jge 0x4c43ae
call fcn.005dfdf0
fld qword [esp + 0x78]
fadd st(1)
mov ebx, eax
call fcn.005dfdf0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x9c]
test eax, eax
fstp st(0)
jne 0x4c4371
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
fld qword [esp + 0x58]
fmul qword [esp + 0xb0]
jmp 0x4c4394
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea eax, [ecx + edx]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
fild dword [esp + 0x98]
fmul qword [esp + 0x58]
fmul qword [0x5ff1b8]
fsubp st(1)
fld st(0)
call fcn.005dfdf0
fadd qword [esp + 0x58]
mov esi, eax
jmp 0x4c4432
call fcn.005dfdf0
fld qword [esp + 0x88]
fadd st(1)
mov ebx, eax
call fcn.005dfdf0
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0xc4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x1c]
sub eax, esi
add eax, edx
mov dword [esp + 0x40], edx
add eax, ecx
cdq
fstp st(0)
sub eax, edx
sar eax, 1
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
fild dword [esp + 0x98]
fmul qword [esp + 0xa0]
fmul qword [0x5ff1b8]
fsubp st(1)
call fcn.005dfdf0
mov esi, eax
mov dword [esp + 0x4c], esi
fild dword [esp + 0x4c]
fadd qword [esp + 0xa0]
call fcn.005dfdf0
mov edi, eax
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
add ecx, 4
dec eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], eax
jne 0x4c40e3
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4c4584
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xc0]
mov edi, dword [esp + 0xbc]
mov ecx, ebx
sub ecx, edx
mov edx, dword [esp + 0xc4]
add ecx, eax
mov eax, esi
sub eax, edi
mov edi, dword [esp + 0x20]
add eax, edx
mov edx, dword [esp + 0x44]
dec edx
cmp edi, edx
mov dword [esp + 0xc], edx
jge 0x4c451a
fild dword [esp + 0xc]
fmul qword [esp + 0x78]
fiadd dword [esp + 0x10]
fld st(0)
call fcn.005dfdf0
mov esi, dword [esp + 0xb8]
mov ebx, eax
mov eax, dword [esp + 0xc0]
sub eax, esi
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fadd st(1)
call fcn.005dfdf0
mov edi, dword [esp + 0xbc]
mov ecx, eax
mov eax, dword [esp + 0xc4]
sub eax, edi
cdq
fstp st(0)
sub eax, edx
mov edx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, edx
cdq
sar esi, 1
sub eax, edx
mov dword [esp + 0xc], esi
mov esi, eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0xc4]
sar esi, 1
sub esi, eax
mov eax, esi
sub eax, edi
add eax, edx
mov edi, dword [esp + 0x60]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], ebx
push ecx
mov ecx, edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], eax
call fcn.005df95e
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
lea esi, [esi + ecx - 2]
lea ecx, [ebx + ecx - 2]
add eax, 2
add edx, 2
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
sub ecx, esi
push 1
sub eax, edx
push ecx
push eax
push esi
push edx
lea ecx, [edi + 0x190]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
call fcn.005df406
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4