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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x52cb2e
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x59c6b8]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x59c6b8]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
fldz
mov edi, ecx
cmp dword [edi + 0xb8], 0
jne 0x46867d
cmp dword [edi + 0xbc], 0
je 0x468721
lea eax, [esp + 0xb4]
fstp st(0)
push eax
lea ecx, [esp + 0xb0]
push ecx
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
call fcn.0042d5d0
fldz
fcom qword [esp + 0x9c]
fnstsw ax
test ah, 5
jp 0x4686f9
fld qword [esp + 0xa4]
fabs
fld qword [0x535848]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4686f7
fld qword [esp + 0xac]
fabs
fcompp
fnstsw ax
test ah, 5
jp 0x4686f9
fcom qword [esp + 0xb4]
fnstsw ax
test ah, 0x41
jne 0x4686f9
mov eax, 1
jmp 0x4686fb
fstp st(0)
xor eax, eax
cmp dword [edi + 0xb8], 0
je 0x468708
test eax, eax
jne 0x468715
cmp dword [edi + 0xbc], 0
je 0x468721
test eax, eax
jne 0x468721
fstp st(0)
mov eax, 1
jmp 0x468e0d
mov eax, dword [esi + 0x1ec]
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x468736
fstp st(0)
jmp 0x468e0b
fld qword [esi + 0x20]
mov ebx, dword [edi + 0xf0]
fmul st(1)
mov ecx, eax
fld qword [esi + 0x10]
add ecx, 0xc
fmul st(2)
mov dword [esp + 0x38], ecx
faddp st(1)
fadd qword [esi + 0x30]
fstp qword [esp + 0x8c]
fld qword [esi + 0x28]
fmul st(1)
fld qword [esi + 0x18]
fmul st(2)
faddp st(1)
fadd qword [esi + 0x38]
fstp qword [esp + 0x64]
test ebx, ebx
jle 0x4687aa
fstp st(0)
sub esp, 0x20
fld qword [esi + 0x28]
mov edx, ecx
mov ecx, dword [edi + 0xd0]
fstp qword [esp + 0x18]
fld qword [esi + 0x20]
fstp qword [esp + 0x10]
fld qword [esi + 0x18]
fstp qword [esp + 8]
fld qword [esi + 0x10]
fstp qword [esp]
push edx
call fcn.00463940
test eax, eax
jne 0x468c12
fldz
mov edx, 1
cmp ebx, edx
jle 0x468860
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
lea eax, [edi + 0xd4]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx]
mov eax, dword [esp + 0x48]
cmp dword [ecx], eax
jne 0x468821
mov eax, dword [ecx + 4]
mov ebx, dword [esp + 0x38]
cmp eax, dword [ebx + 4]
jne 0x468821
fld qword [ecx + 8]
fld qword [esi + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jp 0x468821
fld qword [ecx + 0x10]
fld qword [esi + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jp 0x468821
fld qword [ecx + 0x18]
fld qword [esi + 0x20]
fucompp
fnstsw ax
test ah, 0x44
jp 0x468821
fld qword [ecx + 0x20]
fld qword [esi + 0x28]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x468831
add dword [esp + 0x3c], 4
inc edx
cmp edx, dword [edi + 0xf0]
jge 0x468860
jmp 0x4687cb
mov ecx, dword [edi + edx*4 + 0xd0]
lea eax, [edi + edx*4 + 0xd0]
mov dword [esp + 0x48], ecx
mov ecx, edx
test edx, edx
jle 0x468856
mov ebx, dword [eax - 4]
mov dword [eax], ebx
dec ecx
sub eax, 4
test ecx, ecx
jg 0x468849
mov eax, dword [esp + 0x48]
mov dword [edi + 0xd0], eax
mov eax, dword [edi + 0xf0]
cmp edx, eax
jl 0x468c10
cmp eax, 8
jne 0x4688a2
mov ebx, dword [edi + 0xec]
test ebx, ebx
je 0x46889c
mov ecx, dword [ebx + 0x48]
fstp st(0)
push ecx
call fcn.004a2fd0
mov edx, dword [ebx + 0x4c]
push edx
call fcn.004a2fd0
push ebx
call fcn.0051163f
fldz
add esp, 0xc
dec dword [edi + 0xf0]
mov ecx, dword [edi + 0xf0]
test ecx, ecx
jle 0x4688c0
lea eax, [edi + ecx*4 + 0xd0]
mov edx, dword [eax - 4]
mov dword [eax], edx
dec ecx
sub eax, 4
test ecx, ecx
jg 0x4688b3
mov ecx, dword [esp + 0x4c]
mov ebx, 1
add dword [edi + 0xf0], ebx
fld qword [ecx + 0x60]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jp 0x46893f
fld qword [ecx + 0x68]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jp 0x46893f
fld qword [ecx + 0x70]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jp 0x46893f
fld qword [ecx + 0x78]
fucompp
fnstsw ax
test ah, 0x44
jp 0x468941
fld qword [esp + 0x8c]
xor ebx, ebx
fsub qword [0x54c948]
fst qword [esp + 0x3c]
fadd qword [0x54c940]
fstp qword [esp + 0x5c]
fld qword [esp + 0x64]
fadd qword [0x54c938]
fst qword [esp + 0x54]
fsub qword [0x54c930]
fstp qword [esp + 0x4c]
jmp 0x468aed
fstp st(0)
fld qword [ecx + 0x60]
fld qword [ecx + 0x68]
fld qword [esi + 0x20]
fmul st(1)
fld qword [esi + 0x10]
fmul st(3)
faddp st(1)
fadd qword [esi + 0x30]
fst qword [esp + 0x5c]
fld st(0)
fst qword [esp + 0x3c]
fld qword [esi + 0x18]
fmulp st(4)
fld qword [esi + 0x28]
fmulp st(3)
fxch st(3)
faddp st(2)
fxch st(1)
fadd qword [esi + 0x38]
fst qword [esp + 0x54]
fld st(0)
fst qword [esp + 0x4c]
fld qword [ecx + 0x60]
fld qword [ecx + 0x78]
fld qword [esi + 0x20]
fmul st(1)
fld qword [esi + 0x10]
fmul st(3)
faddp st(1)
fadd qword [esi + 0x30]
fld qword [esi + 0x18]
fmulp st(3)
fld qword [esi + 0x28]
fmulp st(2)
fxch st(2)
faddp st(1)
fadd qword [esi + 0x38]
fxch st(1)
fcom st(4)
fnstsw ax
test ah, 5
jp 0x4689b8
fstp st(5)
fxch st(4)
fst qword [esp + 0x3c]
jmp 0x4689cd
fcom st(4)
fnstsw ax
test ah, 0x41
jne 0x4689e0
fstp st(4)
fxch st(3)
fst qword [esp + 0x5c]
fxch st(3)
fxch st(4)
fxch st(4)
fcom st(2)
fnstsw ax
test ah, 5
jp 0x4689e4
fstp st(1)
fst qword [esp + 0x4c]
jmp 0x4689f7
fstp st(0)
jmp 0x4689cb
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x468a32
fstp st(2)
fxch st(1)
fst qword [esp + 0x54]
fxch st(1)
fld qword [ecx + 0x70]
fld qword [ecx + 0x68]
fld qword [esi + 0x20]
fmul st(1)
fld qword [esi + 0x10]
fmul st(3)
faddp st(1)
fadd qword [esi + 0x30]
fld qword [esi + 0x18]
fmulp st(3)
fld qword [esi + 0x28]
fmulp st(2)
fxch st(2)
faddp st(1)
fadd qword [esi + 0x38]
fxch st(1)
fcom st(5)
fnstsw ax
test ah, 5
jp 0x468a36
fstp st(5)
fxch st(4)
fst qword [esp + 0x3c]
jmp 0x468a4b
fstp st(0)
jmp 0x4689f7
fcom st(4)
fnstsw ax
test ah, 0x41
jne 0x468a5e
fstp st(4)
fxch st(3)
fst qword [esp + 0x5c]
fxch st(3)
fxch st(4)
fxch st(4)
fcom st(1)
fnstsw ax
test ah, 5
jp 0x468a62
fstp st(1)
fst qword [esp + 0x4c]
jmp 0x468a75
fstp st(0)
jmp 0x468a49
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x468ab0
fstp st(2)
fxch st(1)
fst qword [esp + 0x54]
fxch st(1)
fld qword [ecx + 0x70]
fld qword [ecx + 0x78]
fld qword [esi + 0x20]
fmul st(1)
fld qword [esi + 0x10]
fmul st(3)
faddp st(1)
fadd qword [esi + 0x30]
fld qword [esi + 0x18]
fmulp st(3)
fld qword [esi + 0x28]
fmulp st(2)
fxch st(2)
faddp st(1)
fadd qword [esi + 0x38]
fxch st(5)
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x468ab4
fstp st(3)
fxch st(2)
fstp qword [esp + 0x3c]
jmp 0x468ac9
fstp st(0)
jmp 0x468a75
fcom st(3)
fnstsw ax
fstp st(3)
test ah, 0x41
jne 0x468ac7
fxch st(2)
fstp qword [esp + 0x5c]
jmp 0x468ac9
fstp st(2)
fxch st(1)
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x468adc
fstp st(0)
fstp qword [esp + 0x4c]
jmp 0x468aed
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x468aeb
fstp qword [esp + 0x54]
jmp 0x468aed
fstp st(0)
push 0x50
call fcn.00511699
add esp, 4
mov dword [esp + 0x48], eax
mov dword [esp + 0x100], 0
test eax, eax
je 0x468bfb
fld qword [esp + 0x54]
xor eax, eax
cmp dword [edi + 0x68], eax
setne al
push eax
push ebx
sub esp, 8
fstp qword [esp]
call fcn.005134b0
call fcn.00512de0
fld qword [esp + 0x5c]
fstp qword [esp]
mov ebx, eax
call fcn.00512090
add esp, 8
call fcn.00512de0
fld qword [esp + 0x64]
sub ebx, eax
add ebx, 4
push ebx
sub esp, 8
fstp qword [esp]
call fcn.005134b0
call fcn.00512de0
fld qword [esp + 0x50]
fstp qword [esp]
mov ebx, eax
call fcn.00512090
add esp, 8
call fcn.00512de0
fld qword [esp + 0x58]
fsub qword [esp + 0x70]
sub ebx, eax
add ebx, 4
push ebx
sub esp, 8
fstp qword [esp]
call fcn.00512090
add esp, 8
call fcn.00512de0
fld qword [esp + 0x4c]
fsub qword [esp + 0x9c]
sub eax, 2
push eax
sub esp, 8
fstp qword [esp]
call fcn.00512090
add esp, 8
call fcn.00512de0
fld qword [esi + 0x28]
mov ecx, dword [esp + 0x4c]
sub eax, 2
push eax
sub esp, 0x20
fstp qword [esp + 0x18]
fld qword [esi + 0x20]
fstp qword [esp + 0x10]
fld qword [esi + 0x18]
fstp qword [esp + 8]
fld qword [esi + 0x10]
fstp qword [esp]
push ecx
mov ecx, dword [esp + 0x84]
call fcn.004639a0
mov dword [esp + 0x100], 0xffffffff
mov dword [edi + 0xd0], eax
jmp 0x468c12
xor eax, eax
mov dword [esp + 0x100], 0xffffffff
mov dword [edi + 0xd0], eax
jmp 0x468c12
fstp st(0)
mov ebx, dword [edi + 0xd0]
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x44]
dec eax
and eax, dword [ebp + 0x2c]
mov dword [esp + 0x38], 0
imul eax, ecx
test ecx, ecx
jle 0x468c65
mov edx, dword [ebx + 0x4c]
lea ecx, [edx + eax*4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x3c]
mov edx, 0x8000
test word [ecx + 2], dx
je 0x468c52
movzx ecx, word [ecx]
cmp ecx, dword [ebp + 0x2c]
je 0x468c90
mov ecx, dword [esp + 0x38]
add dword [esp + 0x3c], 4
inc ecx
mov dword [esp + 0x38], ecx
cmp ecx, dword [ebx + 0x44]
jl 0x468c3b
push 0x38
call fcn.00511699
mov esi, eax
xor ecx, ecx
add esp, 4
cmp esi, ecx
je 0x468dc6
push 0x38
push ecx
push esi
call fcn.00512510
add esp, 0xc
mov eax, esi
xor ecx, ecx
jmp 0x468dc8
add eax, dword [esp + 0x38]
lea ecx, [esi + 0x7c]
imul eax, dword [ebx + 0x3c]
add eax, dword [ebx + 0x48]
cmp dword [esi + 0x198], 0
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x74]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
je 0x468d43
mov edx, dword [0x59da88]
cmp dword [edx + 0x124], 0
je 0x468d43
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x468d4b
cmp dword [esi + 0x1a0], 0
je 0x468d4b
mov esi, dword [esp + 0x48]
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
cmp eax, 4
jne 0x468d4b
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x8c]
push eax
push ecx
mov ecx, esi
call edx
cmp dword [esp + 0x8c], 0
jne 0x468d14
and dword [esp + 0x38], 0xfffffffe
cmp dword [esp + 0x90], 0
jne 0x468d23
and dword [esp + 0x38], 0xfffffffd
cmp dword [esp + 0x94], 0
jne 0x468d32
and dword [esp + 0x38], 0xfffffffb
cmp dword [esp + 0x98], 0
jne 0x468d4b
and dword [esp + 0x38], 0xfffffff7
jmp 0x468d4b
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + 0xc8]
push eax
call fcn.00480490
fldz
mov edx, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x30]
neg edx
neg ecx
mov dword [esp + 0x74], edx
xor edx, edx
cmp dword [edi + 0x68], edx
mov dword [esp + 0x70], ecx
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x7c], ecx
setne dl
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [edi + 0xc8]
sub esp, 0x10
mov dword [esp + 0x8c], eax
fst qword [esp + 8]
mov eax, dword [esp + 0x50]
fstp qword [esp]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0
call fcn.00488400
mov eax, 1
jmp 0x468e0d
xor eax, eax
mov edx, dword [edi + 0xf4]
mov dword [eax + 0x30], edx
mov dx, word [ebp + 0x2c]
mov dword [edi + 0xf4], eax
mov word [eax], dx
mov eax, dword [edi + 0xf4]
mov dword [eax + 0xc], ebx
mov edx, dword [edi + 0xf4]
mov dword [edx + 0x10], ecx
mov eax, dword [edi + 0xf4]
mov dword [eax + 0x14], ecx
mov edx, dword [edi + 0xf4]
mov dword [edx + 4], ecx
mov eax, dword [edi + 0xf4]
mov dword [eax + 8], ecx
xor eax, eax
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00511afd
mov esp, ebp
pop ebp
ret 0x30