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

Disassembly:
jmp 0x57b2a0
sub esp, 0x88
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x94]
cmp dword [ecx + 0x48], 0
fld dword [ecx + 0x2c]
fstp dword [esp + 4]
fld dword [esp + 4]
je 0x57b317
fld dword [0x6dc8b8]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x57b2ec
mov eax, dword [esp + 0x90]
fstp st(0)
push ecx
push eax
mov ecx, ebx
call fcn.004018d4
pop ebx
add esp, 0x88
ret 8
fld dword [0x6de424]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x57b317
push ecx
fstp st(0)
mov ecx, dword [esp + 0x94]
push ecx
mov ecx, ebx
call fcn.0040286f
pop ebx
add esp, 0x88
ret 8
fadd qword [0x6dcdb8]
push ebp
call fcn.006519c0
mov edx, dword [ebx + 8]
cmp edx, dword [ebx + 4]
mov ebp, eax
mov dword [esp + 0x18], ebp
je 0x57b681
push esi
push edi
mov edi, dword [esp + 0x9c]
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov dword [esp + 0x18], eax
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x18]
mov esi, 1
or eax, 0xffffffff
sub eax, edx
mov dword [esp + 0x28], eax
lea ecx, [edx - 2]
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], eax
lea eax, [edx - 1]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], ecx
lea ecx, [edi + 0x1c]
mov eax, esi
sub eax, edx
push ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x88], esi
call fcn.004036b1
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [esp + 0x10], eax
je 0x57b675
jmp 0x57b408
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
mov edx, dword [ebx + 0x10]
mov edi, eax
shl edi, 4
mov eax, dword [edi + edx + 0xc]
lea ecx, [edi + edx]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov esi, ecx
sub esi, ebp
mov edx, eax
sub ecx, esi
add ecx, ebp
sub edx, ebp
sub eax, edx
add eax, ebp
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x24]
mov ebp, dword [ecx]
cmp edx, ebp
mov dword [esp + 0x90], eax
jl 0x57b64a
mov eax, dword [ecx + 8]
add eax, ebp
mov ebp, dword [esp + 0x90]
add ebp, edx
cmp ebp, eax
jg 0x57b64a
mov eax, dword [ecx + 4]
cmp esi, eax
jl 0x57b64a
mov ecx, dword [ecx + 0xc]
mov edx, dword [esp + 0x94]
add ecx, eax
add edx, esi
cmp edx, ecx
jg 0x57b64a
mov esi, dword [ebx + 0x10]
add esi, edi
test byte [0x781998], 1
jne 0x57b4a4
or dword [0x781998], 1
xor eax, eax
mov dword [0x781990], eax
mov dword [0x78198c], eax
mov ecx, dword [esp + 0xa0]
cmp dword [ecx + 0x48], 0
je 0x57b4dd
fild dword [esi]
fsub dword [ecx + 0x24]
fmul dword [ecx + 0x50]
call fcn.006519c0
mov ebp, eax
mov eax, dword [esp + 0xa0]
mov dword [0x78198c], ebp
fild dword [esi + 4]
fsub dword [eax + 0x28]
fmul dword [eax + 0x50]
call fcn.006519c0
jmp 0x57b4ee
mov ebp, dword [esi]
sub ebp, dword [ecx + 0x30]
mov dword [0x78198c], ebp
mov eax, dword [esi + 4]
sub eax, dword [ecx + 0x34]
mov ecx, dword [esp + 0x9c]
mov dword [0x781990], eax
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
add ecx, eax
mov eax, dword [ebx + 0x10]
mov edi, dword [edi + eax + 8]
add edx, ebp
cmp edi, 4
ja 0x57b64a
imul ecx, dword [esp + 0x14]
lea eax, [edi + edi*2]
add eax, eax
add eax, eax
add eax, eax
mov esi, dword [esp + eax + 0x28]
add esi, ecx
mov ecx, dword [esp + 0x18]
add esi, edx
cmp dword [esp + 0x1c], 0xfa
movzx edx, word [ecx + esi*2]
lea ecx, [ecx + esi*2]
jle 0x57b5b8
shr dx, 1
and dx, 0x7bef
mov word [ecx], dx
mov edx, dword [esp + eax + 0x2c]
lea ecx, [ecx + edx*2]
movzx edx, word [ecx]
shr dx, 1
and dx, 0x7bef
mov word [ecx], dx
mov edx, dword [esp + eax + 0x30]
lea ecx, [ecx + edx*2]
movzx edx, word [ecx]
shr dx, 1
and dx, 0x7bef
mov word [ecx], dx
mov edx, dword [esp + eax + 0x34]
lea ecx, [ecx + edx*2]
movzx edx, word [ecx]
shr dx, 1
and dx, 0x7bef
mov word [ecx], dx
mov edx, dword [esp + eax + 0x38]
mov eax, dword [esp + eax + 0x3c]
lea ecx, [ecx + edx*2]
movzx edx, word [ecx]
shr dx, 1
lea eax, [ecx + eax*2]
and dx, 0x7bef
mov word [ecx], dx
mov cx, word [eax]
shr cx, 1
and cx, 0x7bef
mov word [eax], cx
jmp 0x57b64a
mov esi, edx
shr esi, 2
and esi, 0x39e7
sub edx, esi
mov word [ecx], dx
mov edx, dword [esp + eax + 0x2c]
lea edx, [ecx + edx*2]
movzx ecx, word [edx]
mov esi, ecx
shr esi, 2
and esi, 0x39e7
sub ecx, esi
mov word [edx], cx
mov ecx, dword [esp + eax + 0x30]
lea edx, [edx + ecx*2]
movzx ecx, word [edx]
mov esi, ecx
shr esi, 2
and esi, 0x39e7
sub ecx, esi
mov word [edx], cx
mov ecx, dword [esp + eax + 0x34]
lea edx, [edx + ecx*2]
movzx ecx, word [edx]
mov esi, ecx
shr esi, 2
and esi, 0x39e7
sub ecx, esi
mov word [edx], cx
mov ecx, dword [esp + eax + 0x38]
mov eax, dword [esp + eax + 0x3c]
lea edx, [edx + ecx*2]
movzx ecx, word [edx]
mov esi, ecx
shr esi, 2
and esi, 0x39e7
sub ecx, esi
mov word [edx], cx
lea ecx, [edx + eax*2]
movzx eax, word [ecx]
mov edx, eax
shr edx, 2
and edx, 0x39e7
sub eax, edx
mov word [ecx], ax
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [ebx]
mov dword [esp + 0x10], eax
jne 0x57b661
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jne 0x57b400
mov edi, dword [esp + 0x9c]
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 8