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

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x6c]
xor eax, eax
cmp ecx, eax
push edi
mov dword [esp + 0x84], ecx
mov dword [esp + 0x10], eax
je 0x66f422
mov ecx, dword [0x7a39fc]
mov ebx, dword [esp + 0x118]
mov ecx, dword [ecx + 4]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x68]
mov edi, dword [eax]
call fcn.005edaf0
mov edx, dword [edi]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call dword [edx + 0x64]
mov edx, dword [edi]
lea eax, [esp + 0xb0]
push eax
mov ecx, edi
call dword [edx + 0x6c]
mov edx, dword [edi]
lea eax, [esp + 0xd4]
push eax
mov ecx, edi
call dword [edx + 0x68]
push eax
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [esi + 0x60]
call fcn.00670bb0
fld dword [esp + 0x38]
fmul dword [esp + 0x94]
dec ebp
test ebp, ebp
fld dword [esp + 0x34]
fmul dword [esp + 0x90]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
faddp st(1)
mov dword [esp + 0x14], 0
fld dword [esp + 0x30]
mov dword [esp + 0x18], 0
fmul dword [esp + 0x8c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
faddp st(1)
mov dword [esp + 0x70], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
fchs
mov dword [esp + 0x64], 0
fstp dword [esp + 0x74]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
jl 0x66f41e
lea esp, [esp]
mov edx, dword [ebx]
mov eax, dword [edx + ebp*4]
mov ecx, dword [esp + 0x88]
push 2
push eax
call fcn.0066bf30
mov edi, eax
test edi, edi
je 0x66f1ef
mov al, byte [edi + 0x1a0]
test al, al
jne 0x66ef19
mov ecx, dword [esi + 0x60]
mov al, byte [ecx + 0x95]
test al, al
je 0x66f213
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x66f21a
mov eax, dword [edi + 0x68]
mov ecx, dword [eax]
test ecx, ecx
je 0x66f21a
mov edx, dword [ecx]
lea eax, [esp + 0xf0]
push eax
call dword [edx + 0x64]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x6c]
test eax, eax
jg 0x66ef5d
xor ecx, ecx
jmp 0x66ef62
mov ecx, dword [edi + 0x68]
mov ecx, dword [ecx]
mov edx, dword [ecx]
lea eax, [esp + 0x108]
push eax
call dword [edx + 0x6c]
fld dword [esp + 0x30]
fsub dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
fstp dword [esp + 0x3c]
mov dword [esp + 0x78], ecx
fld dword [esp + 0x34]
mov ecx, dword [edi + 0x84]
fsub dword [esp + 0x18]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x80], eax
fstp dword [esp + 0x40]
fld dword [esp + 0x38]
mov eax, dword [esp + 0x40]
fsub dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
fstp dword [esp + 0x44]
fld dword [esp + 0xb0]
mov ecx, dword [esp + 0x44]
fsub dword [esp + 0x78]
mov dword [esp + 0x70], ecx
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x20]
fld dword [esp + 0xb4]
mov dword [esp + 0x5c], edx
fsub dword [esp + 0x7c]
lea edx, [esp + 0x98]
fstp dword [esp + 0x24]
fld dword [esp + 0xb8]
mov eax, dword [esp + 0x24]
fsub dword [esp + 0x80]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x68]
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fld dword [esp + 0x2c]
fadd dword [esi + 0x84]
push ecx
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x60]
fstp dword [esp]
push edx
push eax
push ecx
call fcn.004abdd0
add esp, 0x10
test eax, eax
je 0x66f213
mov al, byte [edi + 0x1a0]
test al, al
je 0x66f080
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x66f213
mov edx, dword [edi + 8]
push 0
mov ecx, esi
mov dword [esi + 0x50], edx
call fcn.0066c2d0
mov eax, dword [esi + 8]
push 0
mov ecx, edi
mov dword [edi + 0x50], eax
call fcn.0066c2d0
jmp 0x66f213
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x108]
push ecx
call fcn.004a9850
fld dword [esp + 0x40]
mov edx, dword [eax]
mov dword [esp + 0x24], edx
fsub dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 8]
fstp dword [esp + 0xcc]
fld dword [esp + 0x44]
mov dword [esp + 0x2c], edx
fsub dword [esp + 0x28]
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0xe8]
fstp dword [esp + 0xd4]
fld dword [esp + 0x4c]
push ecx
fsub dword [esp + 0x34]
fstp dword [esp + 0xdc]
fld dword [esp + 0x44]
fadd dword [esi + 0x84]
fadd dword [0x73e798]
fstp dword [esp + 0x70]
call fcn.004ab180
fld dword [esp + 0x70]
fmul dword [eax]
add esp, 0x18
fld dword [esp + 0x58]
lea edx, [esp + 0xc8]
fmul dword [eax + 4]
push edx
fld dword [esp + 0x5c]
lea ecx, [esp + 0x4c]
fmul dword [eax + 8]
fstp dword [esp + 0xf0]
fxch st(1)
fadd dword [esp + 0x18]
fstp dword [esp + 0xa8]
fadd dword [esp + 0x1c]
fld dword [esp + 0xf0]
fadd dword [esp + 0x20]
fld dword [esp + 0xa8]
fsub dword [esp + 0x34]
fstp dword [esp + 0xcc]
fxch st(1)
fsub dword [esp + 0x38]
fstp dword [esp + 0xd0]
fsub dword [esp + 0x3c]
fstp dword [esp + 0xd4]
call fcn.004a9740
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x66f1e9
mov ecx, edi
call fcn.005cb440
test eax, eax
jne 0x66f1b7
mov ecx, edi
call fcn.0066d490
mov eax, dword [esi + 0x94]
neg eax
push eax
mov ecx, edi
call fcn.0066e8e0
mov ecx, dword [edi + 0xa0]
mov dword [edi + 0x9c], ecx
mov eax, dword [edi + 0x94]
mov ecx, dword [esp + 0x54]
cmp ecx, eax
jle 0x66f1c7
mov eax, ecx
mov edx, dword [edi + 8]
push 0
mov ecx, esi
mov dword [esp + 0x58], eax
mov dword [esi + 0x50], edx
call fcn.0066c2d0
mov eax, dword [esi + 8]
push 0
mov ecx, edi
mov dword [edi + 0x50], eax
call fcn.0066c2d0
inc dword [esp + 0x10]
jmp 0x66f213
mov edx, dword [ebx + 4]
dec edx
mov ecx, edx
cmp ebp, ecx
mov eax, ebp
mov dword [ebx + 4], edx
jge 0x66f213
mov edi, edi
mov ecx, dword [ebx]
mov edx, dword [ecx + eax*4 + 4]
lea ecx, [ecx + eax*4]
mov dword [ecx], edx
mov ecx, dword [ebx + 4]
inc eax
cmp eax, ecx
jl 0x66f200
dec ebp
jns 0x66eee0
mov ebp, dword [esp + 0x10]
test ebp, ebp
je 0x66f42f
fild dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x4c]
fstp dword [esp]
call fcn.004a97d0
fld dword [esp + 0x48]
fadd dword [esi + 0x1c4]
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
fld dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
fadd dword [esi + 0x1c8]
lea eax, [esp + 0x3c]
push eax
fstp dword [esp + 0x28]
fld dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
fadd dword [esi + 0x1cc]
mov dword [esp + 0x44], ecx
mov ecx, esi
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x48], edx
call fcn.0066cb40
fld dword [esp + 0x3c]
fadd dword [esp + 0x30]
mov ebx, dword [esp + 0x84]
fld dword [esp + 0x40]
xor edi, edi
test ebx, ebx
fadd dword [esp + 0x34]
fld dword [esp + 0x44]
fadd dword [esp + 0x38]
fstp dword [esp + 0xac]
fxch st(1)
fsub dword [esi + 0x1c4]
fstp dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x48], ecx
fsub dword [esi + 0x1c8]
mov ecx, dword [esp + 0x3c]
fstp dword [esp + 0x24]
fld dword [esp + 0xac]
mov edx, dword [esp + 0x24]
fsub dword [esi + 0x1cc]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x1c4], ecx
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x1c8], edx
mov dword [esi + 0x1cc], eax
jle 0x66f345
mov edi, edi
mov ebp, dword [esp + 0x48]
mov ecx, dword [esi + 0x68]
mov ecx, dword [ecx + edi*8]
mov edx, dword [ecx]
sub esp, 0xc
mov eax, esp
mov dword [eax], ebp
mov ebp, dword [esp + 0x58]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x5c]
mov dword [eax + 8], ebp
lea eax, [esp + 0xe0]
push eax
call dword [edx + 0x5c]
inc edi
cmp edi, ebx
jl 0x66f310
mov ebp, dword [esp + 0x10]
fld dword [esi + 0x9c]
fcomp dword [0x73d700]
fnstsw ax
test ah, 0x44
jp 0x66f42f
fld dword [esi + 0x1d8]
mov ebx, 1
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x98], ecx
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x66f3b0
test byte [esi + 0x88], bl
je 0x66f3b0
mov eax, dword [esi + 0x80]
fld dword [esp + 0x2c]
fmul dword [0x73dfec]
mov edx, dword [ecx]
dec eax
neg eax
sbb eax, eax
and eax, 3
push 0
add eax, 0x11
push eax
push ecx
fstp dword [esp]
push str.track
call dword [edx + 0x18]
mov eax, dword [esi + 0xa0]
mov dword [esi + 0x9c], eax
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x66f42f
mov edx, dword [esi]
push ebx
push 0x3f800000
push str.damage
mov ecx, esi
call dword [edx]
mov eax, dword [esi]
push 0x20
push 0x3f800000
push str.Ready_01
mov ecx, esi
call dword [eax]
mov ebp, dword [esi + 0x78]
xor edi, edi
test ebp, ebp
jle 0x66f403
mov ecx, dword [esi + 0x74]
mov ecx, dword [ecx + edi*4]
call fcn.00673fd0
inc edi
cmp edi, ebp
jl 0x66f3f3
mov eax, dword [esp + 0x54]
neg eax
push 0
mov ecx, esi
mov dword [esi + 0x19c], eax
call fcn.0066e7a0
mov byte [esi + 0x1d4], bl
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret 8
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x104
ret 8