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

Disassembly:
sub esp, 0xb0
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea ecx, [esp + 0x60]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x54], 0x40000000
mov dword [esp + 0x50], 0x40000000
mov dword [esp + 0x5c], 0xffffffff
call fcn.0050c840
mov edi, dword [esp + 0xc4]
mov eax, dword [esp + 0xd0]
test eax, eax
fld dword [edi]
fstp dword [esp + 0x60]
fld dword [edi + 8]
fstp dword [esp + 0x64]
fld dword [edi + 0xc]
lea esi, [edi + 0xc]
fstp dword [esp + 0x68]
fld dword [edi + 0x14]
fstp dword [esp + 0x6c]
je 0x468a3d
push 0
push 2
lea ecx, [eax + 0x24]
call fcn.00448700
mov al, byte [esp + 0xd8]
test al, al
je 0x468bb3
fld dword [esp + 0x6c]
fld dword [esp + 0x68]
fchs
fld st(1)
fadd dword [esp + 0x60]
push esi
push edi
lea ecx, [esp + 0x4c]
fstp dword [esp + 0x28]
fld dword [esp + 0x6c]
fadd st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x68]
fsub st(2)
fstp dword [esp + 0x44]
fld dword [esp + 0x6c]
fsub st(1)
fstp dword [esp + 0x48]
fstp st(0)
fstp st(0)
call fcn.00420940
fld dword [esp + 0x24]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 5
jp 0x468aa2
fld dword [esp + 0x24]
jmp 0x468aa6
fld dword [esp + 0x40]
fcom dword [esp + 0x4c]
fnstsw ax
test ah, 5
jnp 0x468ab7
fstp st(0)
fld dword [esp + 0x4c]
fld dword [edi + 4]
fcom dword [esp + 0x48]
fnstsw ax
test ah, 5
jnp 0x468acb
fstp st(0)
fld dword [esp + 0x48]
fld dword [esp + 0x20]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 5
jp 0x468ae0
fld dword [esp + 0x20]
jmp 0x468ae4
fld dword [esp + 0x3c]
fcom dword [esp + 0x44]
fnstsw ax
test ah, 5
jnp 0x468af5
fstp st(0)
fld dword [esp + 0x44]
fstp dword [esp + 0xb4]
fstp dword [esp + 0xb8]
fstp dword [esp + 0xbc]
fld dword [esp + 0x24]
fcomp dword [esp + 0x40]
fnstsw ax
and eax, 0x4100
jne 0x468b21
fld dword [esp + 0x24]
jmp 0x468b25
fld dword [esp + 0x40]
fcom dword [esp + 0x4c]
fnstsw ax
and eax, 0x4100
je 0x468b38
fstp st(0)
fld dword [esp + 0x4c]
fld dword [edi + 4]
fcom dword [esp + 0x48]
fnstsw ax
and eax, 0x4100
je 0x468b4e
fstp st(0)
fld dword [esp + 0x48]
fld dword [esp + 0x20]
fcomp dword [esp + 0x3c]
fnstsw ax
and eax, 0x4100
jne 0x468b65
fld dword [esp + 0x20]
jmp 0x468b69
fld dword [esp + 0x3c]
fcom dword [esp + 0x44]
fnstsw ax
and eax, 0x4100
je 0x468b7c
fstp st(0)
fld dword [esp + 0x44]
fstp dword [esp + 0xa8]
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xc8]
fstp dword [esp + 0xac]
lea eax, [esp + 0xa8]
fstp dword [esp + 0xb0]
push eax
push ecx
push 0
push edx
push edi
mov ecx, ebx
call fcn.00465cc0
mov al, byte [ebx + 0x18]
test al, al
mov byte [esp + 0x3c], al
jne 0x468bdd
mov eax, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
mov cl, byte [eax + 0x24]
pop ebx
and cl, 0xfb
mov byte [eax + 0x24], cl
xor eax, eax
add esp, 0xb0
ret 0x18
fld dword [esp + 0x68]
fcomp dword [0x72c614]
mov esi, dword [esp + 0xcc]
fnstsw ax
test ah, 0x44
jp 0x468c0a
fld dword [esp + 0x6c]
fcomp dword [0x72c618]
fnstsw ax
test ah, 0x44
jnp 0x468ea4
mov eax, dword [esp + 0x3c]
mov ebx, dword [ebx + 0x14]
xor ebp, ebp
and eax, 0xff
mov dword [esp + 0x38], ebx
mov dword [esp + 0x20], eax
jbe 0x468ea4
lea edi, [ebx + 0x34]
fld dword [edi - 0x2c]
fchs
fld dword [edi - 0x28]
fstp dword [edi - 4]
push ecx
fstp dword [edi]
fld dword [edi]
fld dword [edi - 4]
fld st(1)
fmul st(2)
fld st(1)
fmul st(2)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
call fcn.00404020
fcom dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x468c76
fdivr dword [0x6d0348]
fld st(0)
fmul dword [edi - 4]
fstp dword [edi - 4]
fmul dword [edi]
fstp dword [edi]
jmp 0x468c78
fstp st(0)
mov eax, dword [esp + 0xc4]
fld dword [edi - 0x30]
fsub dword [eax + 8]
fmul dword [edi]
fld dword [ebx]
fsub dword [eax]
fmul dword [edi - 4]
faddp st(1)
fcomp dword [0x6d035c]
fnstsw ax
and eax, 0x4100
je 0x468e34
lea eax, [esp + 0x34]
lea ecx, [esp + 0x1c]
push eax
push ecx
push ebx
lea ecx, [esp + 0x6c]
call fcn.004b8a20
test al, al
je 0x468e34
fld dword [esp + 0x1c]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 5
jp 0x468e34
mov eax, dword [esp + 0xc4]
fld dword [esp + 0x1c]
fmul dword [eax + 0x10]
fadd dword [eax + 4]
mov al, byte [edi + 4]
test al, al
fstp dword [esp + 0x10]
fld dword [0x6d0348]
fsub dword [esp + 0x34]
fld st(0)
fmul dword [edi - 0x10]
fld dword [esp + 0x34]
fmul dword [edi - 0x14]
faddp st(1)
fstp dword [esp + 0x14]
je 0x468df0
fmul dword [edi - 8]
fld dword [esp + 0x34]
fmul dword [edi - 0xc]
faddp st(1)
fcom dword [0x6d035c]
fnstsw ax
test ah, 5
jp 0x468d94
fadd dword [esp + 0x14]
fstp dword [esp + 0x18]
fld dword [esp + 0x10]
fadd dword [esp + 0xc8]
fcomp dword [esp + 0x18]
fnstsw ax
and eax, 0x100
jne 0x468e34
fld dword [esp + 0x10]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jp 0x468e34
fld dword [esp + 0x14]
mov al, byte [esi + 0x24]
mov edx, dword [esp + 0x1c]
fsub dword [esp + 0x10]
or al, 1
mov dword [esp + 0x54], edx
mov byte [esi + 0x24], al
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], ebp
mov dword [esi + 0x20], eax
fstp dword [esi + 0x18]
fld dword [esp + 0x10]
fsub dword [esp + 0x18]
fstp dword [esi + 0x1c]
jmp 0x468e34
fld dword [esp + 0x10]
fadd dword [esp + 0xc8]
fcomp dword [esp + 0x14]
fnstsw ax
and eax, 0x100
jne 0x468e32
fadd dword [esp + 0x14]
fld dword [esp + 0x10]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x468e32
mov al, byte [esi + 0x24]
mov ecx, dword [esp + 0x1c]
fsub dword [esp + 0x10]
or al, 1
mov edx, dword [esp + 0x10]
mov byte [esi + 0x24], al
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], ebp
mov dword [esi + 0x20], edx
fstp dword [esi + 0x18]
fld dword [esp + 0x10]
fsub dword [esp + 0x14]
fstp dword [esi + 0x1c]
jmp 0x468e34
fstp st(0)
fld dword [esp + 0x10]
fadd dword [esp + 0xc8]
fcomp dword [esp + 0x14]
fnstsw ax
and eax, 0x100
jne 0x468e34
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
fld dword [esp + 0x10]
fsub dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov al, byte [esi + 0x24]
and al, 0xfe
mov dword [esp + 0x5c], ebp
mov byte [esi + 0x24], al
mov dword [esi + 0x20], ecx
fstp dword [esi + 0x1c]
jmp 0x468e34
fstp st(0)
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
inc ebp
add ebx, 0x3c
add edi, 0x3c
cmp ebp, eax
mov dword [esp + 0x38], ebx
jb 0x468c29
mov eax, dword [esp + 0x5c]
cmp eax, 0xffffffff
je 0x468ea4
lea eax, [eax + eax*2]
mov dword [esp + 0x18], 0
fld dword [esp + 0x68]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
fmul dword [ecx + edx*4 + 0x30]
fld dword [esp + 0x6c]
fmul dword [ecx + edx*4 + 0x34]
lea ecx, [ecx + edx*4 + 0x30]
faddp st(1)
fld dword [esp + 0x54]
fsub dword [0x6d0348]
fmulp st(1)
fadd dword [0x6d4ba8]
fcom dword [0x6d035c]
fnstsw ax
test ah, 5
jp 0x468ebb
fstp st(0)
mov al, byte [esi + 0x24]
pop edi
and al, 0xfb
mov byte [esi + 0x24], al
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xb0
ret 0x18
fld st(0)
fmul dword [ecx]
lea edi, [esi + 0xc]
fstp dword [esp + 0x44]
fmul dword [ecx + 4]
fstp dword [esp + 0x48]
fld dword [ecx + 4]
fld dword [ecx]
fstp dword [edi]
lea ecx, [esp + 0x70]
mov dword [edi + 4], 0
fstp dword [edi + 8]
call fcn.0050c840
mov ecx, dword [esi + 8]
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x78], ecx
push edi
lea ecx, [esp + 0x80]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
call fcn.00420920
lea ebp, [esi + 0x24]
lea ecx, [esp + 0x94]
push ebp
call fcn.004689b0
fld dword [esp + 0x6c]
fmul dword [esp + 0x6c]
fld dword [esp + 0x68]
fmul dword [esp + 0x68]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
push ecx
faddp st(1)
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x70]
fstp dword [esp]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.00404020
fcom dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x468f8d
fld dword [0x6d0348]
fdiv st(1)
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp + 0x20]
fmul dword [esp + 0x24]
fstp dword [esp + 0x24]
jmp 0x468f95
fstp st(0)
fld dword [0x6d035c]
fld dword [esp + 0x54]
fmul st(1)
mov dword [esp + 0x74], 0
fcom dword [0x6d4ba8]
fnstsw ax
and eax, 0x4100
jne 0x468fd6
fsubrp st(1)
fsub dword [0x6d4ba8]
fld dword [esp + 0x20]
fmul st(1)
fld dword [esp + 0x24]
fmul st(2)
fstp dword [esp + 0x24]
fstp dword [esp + 0x70]
fstp st(0)
fld dword [esp + 0x24]
jmp 0x468fea
fstp st(0)
fstp st(0)
fld dword [esp + 0x68]
fchs
fstp dword [esp + 0x70]
fld dword [esp + 0x6c]
fchs
mov al, byte [esp + 0x94]
mov ebx, dword [esp + 0xd0]
and al, 0xfb
or al, 4
fstp dword [esp + 0x78]
test ebx, ebx
mov byte [esp + 0x94], al
je 0x46905a
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x7c]
mov dword [ebx], ecx
push eax
lea ecx, [ebx + 0xc]
mov dword [ebx + 4], 0
mov dword [ebx + 8], edx
call fcn.00420920
lea ecx, [esp + 0x94]
push ecx
lea ecx, [ebx + 0x24]
call fcn.004689b0
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], ecx
mov ecx, dword [esp + 0xc4]
lea eax, [ecx + 0xc]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00420940
fld dword [esp + 0x70]
fadd dword [esp + 0x20]
lea ecx, [esp + 0x98]
fstp dword [esp + 0xa8]
fld dword [esp + 0x78]
fadd dword [esp + 0x28]
fstp dword [esp + 0xb0]
fld dword [esp + 0x20]
fadd dword [esp + 0x44]
fstp dword [esp + 0x20]
fld dword [esp + 0x28]
fadd dword [esp + 0x48]
fstp dword [esp + 0x28]
call fcn.0050c840
fld dword [esp + 0x20]
fstp dword [esp + 0x54]
fld dword [esp + 0x28]
fstp dword [esp + 0x58]
fld dword [esp + 0xa8]
fst dword [esp + 0x20]
fld dword [esp + 0xb0]
fst dword [esp + 0x24]
fxch st(1)
fstp dword [esp + 0x98]
lea edx, [esp + 0x20]
lea eax, [esp + 0x54]
fstp dword [esp + 0x9c]
push edx
push eax
lea ecx, [esp + 0xa8]
call fcn.00469480
mov eax, dword [esp + 0x2c]
mov dl, byte [eax + 0x18]
mov ecx, dword [eax + 0x14]
mov byte [esp + 0x3c], dl
mov edx, dword [esp + 0x3c]
xor eax, eax
and edx, 0xff
mov dword [esp + 0x38], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], edx
jbe 0x46945f
cmp eax, dword [esp + 0x5c]
je 0x4692b4
lea eax, [esp + 0x34]
lea edx, [esp + 0x1c]
push eax
push edx
push ecx
lea ecx, [esp + 0xa4]
call fcn.004b8a20
mov ecx, dword [esp + 0x38]
test al, al
je 0x4692b4
fld dword [esp + 0x1c]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 5
jp 0x4692b4
mov eax, dword [esp + 0xc4]
xor edx, edx
fld dword [esp + 0x1c]
fmul dword [eax + 0x10]
fadd dword [eax + 4]
mov al, byte [ecx + 0x38]
test al, al
fstp dword [esp + 0x10]
fld dword [0x6d0348]
fsub dword [esp + 0x34]
fld st(0)
fmul dword [ecx + 0x24]
fld dword [esp + 0x34]
fmul dword [ecx + 0x20]
faddp st(1)
fstp dword [esp + 0x14]
je 0x46925e
fmul dword [ecx + 0x2c]
fld dword [esp + 0x34]
fmul dword [ecx + 0x28]
faddp st(1)
fcom dword [0x6d035c]
fnstsw ax
test ah, 5
jp 0x46921c
fadd dword [esp + 0x14]
fstp dword [esp + 0x2c]
fld dword [esp + 0x10]
fadd dword [esp + 0xc8]
fcomp dword [esp + 0x2c]
fnstsw ax
and eax, 0x100
jne 0x4692b4
fld dword [esp + 0x10]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jp 0x4692b4
mov eax, dword [esp + 0x1c]
fld dword [esp + 0x14]
fsub dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov al, byte [ebp]
or al, 1
mov byte [ebp], al
fstp dword [esi + 0x18]
fld dword [esp + 0x10]
fsub dword [esp + 0x2c]
jmp 0x469290
fld dword [esp + 0x10]
fadd dword [esp + 0xc8]
fcomp dword [esp + 0x14]
fnstsw ax
and eax, 0x100
jne 0x4692b2
fadd dword [esp + 0x14]
fld dword [esp + 0x10]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x4692b2
mov eax, dword [esp + 0x1c]
fsub dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov al, byte [ebp]
or al, 1
mov byte [ebp], al
fstp dword [esi + 0x18]
jmp 0x469288
fstp st(0)
fld dword [esp + 0x10]
fadd dword [esp + 0xc8]
fcomp dword [esp + 0x14]
fnstsw ax
and eax, 0x100
jne 0x4692b4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov al, byte [ebp]
and al, 0xfe
mov byte [ebp], al
fld dword [esp + 0x10]
fsub dword [esp + 0x14]
fstp dword [esi + 0x1c]
fld dword [ecx + 0x34]
fld dword [ecx + 0x30]
fstp dword [edi]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x10]
fstp dword [edi + 8]
mov dword [esp + 0x18], 3
mov dword [esi + 0x20], edx
jmp 0x4692b4
fstp st(0)
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
inc eax
add ecx, 0x3c
cmp eax, edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], ecx
jb 0x469129
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46945f
cmp eax, 3
je 0x4692f8
mov al, byte [ebp]
pop edi
and al, 0xfb
pop esi
mov byte [ebp], al
pop ebp
xor eax, eax
pop ebx
add esp, 0xb0
ret 0x18
fld dword [esp + 0xa0]
fmul dword [esp + 0x50]
push ecx
fstp dword [esp + 0x30]
fld dword [esp + 0xa8]
fmul dword [esp + 0x54]
fst dword [esp + 0x34]
fmul dword [esp + 0x34]
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
faddp st(1)
fstp dword [esp]
call fcn.00404020
fst dword [esp + 0x1c]
fcomp dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x4693dc
fld dword [0x6d0348]
fdiv dword [esp + 0x18]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fmul st(1)
fstp dword [esp + 0x30]
fstp st(0)
fld dword [esp + 0x18]
fcomp dword [0x6d4ba8]
fnstsw ax
and eax, 0x4100
jne 0x4693dc
fld dword [esp + 0x18]
fsub dword [0x6d4ba8]
fld dword [esp + 0x2c]
mov eax, dword [esp + 0xc4]
fmul st(1)
fadd dword [esp + 0x98]
fld dword [esp + 0x30]
fmul st(2)
fadd dword [esp + 0x9c]
fstp dword [esp + 0x48]
fld dword [eax]
fadd dword [eax + 0xc]
fld dword [eax + 0x14]
fadd dword [eax + 8]
mov dword [esi + 4], 0
fstp dword [esp + 0xb0]
fxch st(1)
fsub st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x48]
fsub dword [esp + 0xb0]
fxch st(1)
fstp dword [esi]
fstp dword [esi + 8]
jmp 0x46943d
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esi], eax
mov eax, dword [esp + 0x7c]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x84]
mov dword [edi], eax
lea eax, [esp + 0x94]
mov dword [edi + 4], ecx
cmp ebp, eax
mov dword [edi + 8], edx
je 0x46941f
mov cl, byte [esp + 0x94]
mov byte [ebp], cl
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
mov cl, byte [ebp]
or cl, 2
mov byte [ebp], cl
mov al, cl
or al, 4
pop edi
mov byte [ebp], al
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0xb0
ret 0x18
fld dword [esp + 0x44]
fstp dword [esi]
fld dword [esp + 0x48]
fstp dword [esi + 8]
mov dword [esi + 4], 0
mov cl, byte [ebp]
and cl, 0xfd
jmp 0x469443