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

Disassembly:
sub esp, 0xbc
mov eax, dword [0xc72fa8]
mov edx, dword [0xb7449c]
mov ecx, dword [0xb7cb84]
push ebx
mov ebx, dword [edx + 8]
push ebp
push esi
lea esi, [eax + 0x3e8]
cmp ecx, esi
push edi
mov dword [esp + 0x78], edx
jae 0x71cf84
cmp ecx, eax
jae 0x71d4d5
test ebx, ebx
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xa0], eax
mov byte [esp + 0xa5], 0
mov byte [esp + 0xa4], 0
je 0x71d4d5
mov eax, ebx
imul eax, eax, 0x19c
jmp 0x71cfc0
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x78]
lea esp, [esp]
mov ecx, dword [edx + 4]
dec ebx
sub eax, 0x19c
test byte [ebx + ecx], 0x80
mov dword [esp + 0x14], ebx
mov dword [esp + 0x68], eax
jne 0x71d4cd
mov esi, dword [edx]
add esi, eax
je 0x71d4cd
mov dl, byte [esi + 0x36]
and dl, 7
cmp dl, 4
jne 0x71d4cd
movsx eax, word [esi + 0x22]
mov ecx, dword [eax*4 + 0xa9b0c8]
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x71d4cd
mov ax, word [eax + 0x12]
and ax, 0x7800
cmp ax, 0x2000
je 0x71d024
cmp ax, 0x2800
jne 0x71d4cd
test byte [esi + 0x1c], 1
je 0x71d4cd
movsx eax, word [esi + 0x22]
mov ecx, dword [eax*4 + 0xa9b0c8]
mov edx, dword [ecx + 0x14]
mov edi, dword [edx + 0x2c]
test edi, edi
je 0x71d4cd
cmp word [edi + 4], 2
jl 0x71d4cd
mov eax, dword [esi + 0x14]
test eax, eax
mov byte [esp + 0x13], 0
lea ecx, [eax + 0x30]
jne 0x71d064
lea ecx, [esi + 4]
fld dword [esp + 0xd0]
push edx
fsub dword [ecx]
fld dword [esp + 0xd8]
fsub dword [ecx + 4]
fld dword [esp + 0xdc]
fsub dword [ecx + 8]
fld st(0)
fmul dword [eax + 8]
fld st(2)
fmul dword [eax + 4]
faddp st(1)
fld st(3)
fmul dword [eax]
faddp st(1)
fstp dword [esp + 0x98]
mov eax, dword [esi + 0x14]
fld st(0)
add eax, 0x10
fmul dword [eax + 8]
fld st(2)
fmul dword [eax + 4]
faddp st(1)
fld st(3)
fmul dword [eax]
faddp st(1)
fstp dword [esp + 0x9c]
mov eax, dword [esi + 0x14]
fmul dword [eax + 0x28]
add eax, 0x20
fxch st(1)
fmul dword [eax + 4]
faddp st(1)
fxch st(1)
fmul dword [eax]
faddp st(1)
fstp dword [esp + 0xa0]
call fcn.00418580
xor ebp, ebp
add esp, 4
cmp word [edi + 4], bp
jle 0x71d4cd
xor ebx, ebx
lea ecx, [ecx]
mov edx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
add edx, ebx
push edx
mov edx, dword [edi + 0x14]
lea ecx, [eax + ebp*8]
push ecx
push edx
lea eax, [esp + 0xa0]
push eax
call fcn.004165b0
add esp, 0x10
test al, al
je 0x71d11a
mov byte [esp + 0x13], 1
movsx ecx, word [edi + 4]
inc ebp
add ebx, 0xa
cmp ebp, ecx
jl 0x71d0f0
mov al, byte [esp + 0x13]
test al, al
je 0x71d4c9
test byte [esi + 0x140], 0x10
mov edx, dword [0xb7cb84]
mov dword [0xc72fa8], edx
je 0x71d4a6
push fcn.00404350
push 4
push 0xc
lea eax, [esp + 0x38]
push eax
call fcn.00403d60
mov edi, dword [edi + 0x14]
lea ecx, [esp + 0x2c]
push edi
push ecx
call fcn.00411590
lea edx, [edi + 6]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.00411590
lea ecx, [edi + 0xc]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.00411590
add edi, 0x12
lea eax, [esp + 0x68]
push edi
push eax
call fcn.00411590
fld dword [esp + 0x6c]
fcomp dword [esp + 0x78]
add esp, 0x20
fnstsw ax
test ah, 5
jp 0x71d1b2
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], ecx
jmp 0x71d1ba
mov edx, dword [esp + 0x58]
mov dword [esp + 0x1c], edx
fld dword [esp + 0x34]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 5
jp 0x71d1cf
fld dword [esp + 0x34]
jmp 0x71d1d3
fld dword [esp + 0x40]
fcom dword [esp + 0x1c]
fnstsw ax
test ah, 5
jnp 0x71d1e4
fstp st(0)
fld dword [esp + 0x1c]
fst dword [esp + 0x18]
fld dword [esp + 0x4c]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x41
jne 0x71d201
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
jmp 0x71d209
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x20], ecx
fld dword [esp + 0x34]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 0x41
jne 0x71d21e
fld dword [esp + 0x34]
jmp 0x71d222
fld dword [esp + 0x40]
fcom dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x71d233
fstp dword [esp + 0x28]
jmp 0x71d23d
mov edx, dword [esp + 0x20]
fstp st(0)
mov dword [esp + 0x28], edx
fld dword [esp + 0x38]
mov edi, 1
fsub dword [esp + 0x2c]
mov ecx, 2
fld dword [esp + 0x3c]
lea edx, [esp + 0x44]
fsub dword [esp + 0x30]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fstp dword [esp + 0x24]
nop
fld dword [edx]
fsub dword [esp + 0x2c]
fld dword [edx + 4]
fsub dword [esp + 0x30]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fcom dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x71d2a0
fstp dword [esp + 0x24]
mov edi, ecx
jmp 0x71d2a2
fstp st(0)
inc ecx
add edx, 0xc
cmp ecx, 3
jle 0x71d270
mov eax, dword [esp + 0x2c]
fstp dword [esp + 0xb0]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0xa8]
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 0x14]
push edx
mov dword [esp + 0xb0], ecx
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.0059c890
mov edx, dword [esp + 0x24]
mov ecx, dword [esi + 0x14]
lea eax, [edi + edi*2]
shl eax, 2
fld dword [esp + eax + 0x38]
mov dword [esp + 0xc8], edx
fstp dword [esp + 0xc0]
lea edx, [esp + 0xcc]
fld dword [esp + eax + 0x3c]
lea eax, [esp + 0xc0]
push eax
push ecx
fstp dword [esp + 0xcc]
push edx
call fcn.0059c890
mov eax, dword [esi + 0x14]
add esp, 0x18
test eax, eax
je 0x71d32d
add eax, 0x30
jmp 0x71d330
lea eax, [esi + 4]
push eax
push 0x7e
mov ecx, 0xb6bc90
call fcn.00506ee0
fld dword [esp + 0xc0]
fsub dword [esp + 0x5c]
mov eax, dword [esi + 0x140]
mov edx, dword [esp + 0xd0]
push 0
shr eax, 4
fstp dword [esp + 0x8c]
fld dword [esp + 0xc8]
and eax, 0xffffff01
fsub dword [esp + 0x64]
push 1
push 0
push eax
mov eax, dword [esp + 0xe4]
push 0x3dcccccd
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0xf8]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
sub esp, 0xc
mov eax, esp
mov dword [esp + 0xa8], 0
mov ecx, dword [esp + 0xa8]
mov dword [eax], ecx
mov dword [esp + 0xac], 0
mov edx, dword [esp + 0xac]
mov dword [eax + 4], edx
fstp dword [esp + 0xb8]
fld dword [esp + 0xf4]
sub esp, 0xc
fsub dword [esp + 0x9c]
mov dword [esp + 0xbc], 0
mov ecx, dword [esp + 0xbc]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov edx, esp
mov dword [edx], eax
mov dword [edx + 4], ecx
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [esp + 0x60]
fsub dword [esp + 0x50]
mov dword [edx + 8], eax
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0xb0], 0
fstp dword [esp + 0xb8]
mov edx, dword [esp + 0xb0]
mov dword [ecx], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 0xb4], 0
mov eax, dword [esp + 0xb4]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xb4]
mov dword [eax + 4], edx
push 1
mov dword [eax + 8], ecx
call fcn.0071b620
mov ecx, dword [esi + 0x140]
mov eax, dword [esi + 0x1c]
or ecx, 0x20
add esp, 0x54
and eax, 0xffffff7e
mov dword [esi + 0x140], ecx
mov dword [esi + 0x1c], eax
jmp 0x71d4c9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x71d4b2
add eax, 0x30
jmp 0x71d4b5
lea eax, [esi + 4]
push eax
push 0x7b
mov ecx, 0xb6bc90
call fcn.00506ee0
or dword [esi + 0x140], 0x10
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x71cfb4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xbc
ret