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

Disassembly:
push 0xffffffffffffffff
push 0x5ed1d8
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x676890]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x120]
fld dword [ecx + 0x460]
fsub dword [esi + 0x460]
fstp dword [esp + 0x3c]
fld dword [ecx + 0x468]
fsub dword [esi + 0x468]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [esp + 0x14]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fld dword [esp + 0x14]
fld dword [esp + 0x38]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
fstp dword [esp + 0x1c]
call fcn.0049d130
push eax
call fcn.004a1f80
add esp, 4
test al, al
je 0x4a0367
fld dword [esp + 0x1c]
fcomp qword [0x60dae8]
fnstsw ax
test ah, 1
jne 0x4a0378
xor eax, eax
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 4
fld dword [0x60dae0]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jnp 0x4a0349
mov ecx, esi
call fcn.004a2f20
test eax, eax
je 0x4a0349
mov ecx, dword [esi + 0x41c]
call fcn.004c19c0
mov edi, eax
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.004a1dc0
fstp dword [esp + 0x38]
mov ebx, dword [edi + 0x28]
cmp ebx, dword [edi + 0x2c]
jbe 0x4a03ac
call fcn.005a01dd
mov ebp, dword [edi + 0x1c]
mov dword [esp + 0x44], ebp
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x28], eax
jbe 0x4a03c8
call fcn.005a01dd
mov edi, dword [edi + 0x1c]
test ebp, ebp
je 0x4a03d3
cmp ebp, edi
je 0x4a03d8
call fcn.005a01dd
cmp ebx, dword [esp + 0x14]
je 0x4a0349
test ebp, ebp
jne 0x4a07d6
call fcn.005a01dd
cmp ebx, dword [ebp + 0x10]
jb 0x4a03f9
call fcn.005a01dd
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x8c]
add esi, 0x550
push ecx
mov ecx, esi
mov dword [esp + 0x1c], ebx
call fcn.00464ab0
mov edi, dword [esp + 0x88]
mov ebx, dword [esi + 0x18]
mov esi, dword [esi]
test edi, edi
je 0x4a042b
cmp edi, esi
je 0x4a0430
call fcn.005a01dd
mov esi, dword [esp + 0x8c]
cmp esi, ebx
je 0x4a04d4
test edi, edi
jne 0x4a07de
call fcn.005a01dd
cmp esi, dword [edi + 0x18]
jne 0x4a0456
call fcn.005a01dd
mov edx, dword [esp + 0x120]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x78]
add esi, 0x10
push ecx
mov ecx, esi
mov dword [esp + 0x1c], edx
call fcn.00547ab0
mov edi, dword [eax]
mov ebx, dword [esi + 0x18]
mov ebp, dword [eax + 4]
mov esi, dword [esi]
test edi, edi
je 0x4a0487
cmp edi, esi
je 0x4a048c
call fcn.005a01dd
cmp ebp, ebx
je 0x4a04d4
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x18], 2
je 0x4a0852
test edi, edi
jne 0x4a07e5
call fcn.005a01dd
cmp ebp, dword [edi + 0x18]
jne 0x4a04b5
call fcn.005a01dd
fld dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
fstp qword [esp + 0x30]
call fcn.0053d8e0
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x4a0852
fld dword [esp + 0x38]
mov ecx, dword [0x67d56c]
fstp qword [esp + 0x30]
call fcn.00519590
mov esi, dword [esp + 0x48]
fsubr qword [esp + 0x30]
lea eax, [esp + 0x14]
add esi, 0x28
push eax
fstp dword [esp + 0x18]
mov ecx, esi
call fcn.0049df00
mov edi, eax
test esi, esi
jne 0x4a050d
call fcn.005a01dd
mov ebp, dword [esi]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], edi
call fcn.0049df40
mov dword [esp + 0xa4], eax
test esi, esi
jne 0x4a0539
call fcn.005a01dd
mov edx, dword [esi]
mov esi, dword [esp + 0x18]
mov ecx, esi
mov dword [esp + 0xa0], edx
call fcn.004ab5c0
fmul qword [0x5fe260]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.005a0f30
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
mov ecx, esi
fstp dword [esp + 0x3c]
call fcn.004ab5c0
fmul qword [0x5fe260]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.005a1060
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
mov ebx, dword [esp + 0x120]
fstp dword [esp + 0x14]
lea esp, [esp]
test ebp, ebp
je 0x4a05ad
cmp ebp, dword [esp + 0xa0]
je 0x4a05b2
call fcn.005a01dd
cmp edi, dword [esp + 0xa4]
je 0x4a0852
test ebp, ebp
jne 0x4a07ec
call fcn.005a01dd
cmp edi, dword [ebp + 0x18]
jne 0x4a05d6
call fcn.005a01dd
fld dword [0x602ff8]
lea ebp, [edi + 0x10]
mov ecx, 7
mov esi, ebp
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x70]
fld dword [ebp]
fsub dword [ebp + 0xc]
fstp dword [esp + 0x9c]
fld dword [ebp + 4]
fsub dword [ebp + 0x10]
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
call fcn.0049a480
mov esi, dword [esp + 0x18]
fstp dword [esp + 0x40]
mov ecx, esi
fld dword [esp + 0x9c]
fld dword [esp + 0x40]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x90]
fmul dword [esp + 0x30]
fstp dword [esp + 0x94]
fld dword [esp + 0x90]
fadd dword [ebp + 0xc]
fstp dword [esp + 0x30]
fld dword [ebp + 0x10]
fadd dword [esp + 0x94]
fstp dword [esp + 0x40]
fld dword [esp + 0x30]
fld st(0)
fld dword [esp + 0x3c]
fld st(0)
fmulp st(2)
fld dword [esp + 0x40]
fld st(0)
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(4)
fsubrp st(1)
fstp dword [esp + 0x58]
fxch st(3)
fmulp st(2)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x5c]
call fcn.00523250
fld dword [eax]
mov ecx, esi
fadd dword [esp + 0x58]
fstp dword [esp + 0x58]
fld dword [eax + 4]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x5c]
fld dword [eax + 8]
fadd dword [esp + 0x60]
fstp dword [esp + 0x60]
fld dword [ebp + 0xc]
fld dword [esp + 0x3c]
fld st(0)
fmulp st(2)
fld dword [esp + 0x14]
fld st(0)
fmul dword [ebp + 0x10]
fsubp st(3)
fxch st(2)
fstp dword [esp + 0x64]
fld dword [ebp + 0xc]
fmulp st(2)
fmul dword [ebp + 0x10]
faddp st(1)
fstp dword [esp + 0x68]
call fcn.00523250
fld dword [eax]
fadd dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [eax + 4]
fadd dword [esp + 0x68]
mov edi, dword [ebx + 0x2f4]
mov dword [esp + 0x24], edi
fstp dword [esp + 0x68]
fld dword [eax + 8]
mov eax, dword [ebx + 0x308]
fadd dword [esp + 0x6c]
fstp dword [esp + 0x6c]
mov eax, dword [eax]
mov ebp, eax
jmp 0x4a0720
mov esi, dword [ebx + 0x308]
mov eax, dword [ebx + 0x2f4]
test edi, edi
je 0x4a0734
cmp edi, eax
je 0x4a0739
call fcn.005a01dd
cmp ebp, esi
je 0x4a0833
test edi, edi
jne 0x4a07f4
call fcn.005a01dd
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x4a075a
call fcn.005a01dd
mov edi, dword [ebp + 0x24]
cmp edi, dword [ebp + 0x28]
jbe 0x4a0767
call fcn.005a01dd
mov esi, dword [ebp + 0x18]
mov ebx, edi
mov edi, dword [ebp + 0x28]
mov dword [esp + 0x50], ebx
cmp dword [ebp + 0x24], edi
jbe 0x4a077d
call fcn.005a01dd
mov eax, dword [ebp + 0x18]
test esi, esi
je 0x4a0788
cmp esi, eax
je 0x4a078d
call fcn.005a01dd
cmp ebx, edi
je 0x4a0803
test esi, esi
jne 0x4a07fb
call fcn.005a01dd
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4a07a6
call fcn.005a01dd
lea eax, [esp + 0x58]
push ebx
push eax
call fcn.004abc30
add esp, 8
test al, al
jne 0x4a0884
test esi, esi
jne 0x4a07ff
call fcn.005a01dd
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4a07d1
call fcn.005a01dd
add ebx, 0x1c
jmp 0x4a076c
mov ebp, dword [ebp]
jmp 0x4a03ef
mov edi, dword [edi]
jmp 0x4a044c
mov edi, dword [edi]
jmp 0x4a04ab
mov ebp, dword [ebp]
jmp 0x4a05cc
mov eax, dword [edi]
jmp 0x4a0750
mov eax, dword [esi]
jmp 0x4a079c
mov eax, dword [esi]
jmp 0x4a07c7
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4a082f
call fcn.005a01dd
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x4a081c
call fcn.005a01dd
mov ebp, dword [ebp]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x120]
jmp 0x4a0720
mov eax, dword [eax]
jmp 0x4a0812
lea ecx, [esp + 0x80]
call fcn.004f0bf0
mov edi, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
jmp 0x4a05a0
mov ebp, dword [esp + 0x44]
test ebp, ebp
jne 0x4a087f
call fcn.005a01dd
xor eax, eax
mov ebx, dword [esp + 0x48]
cmp ebx, dword [eax + 0x10]
jb 0x4a086f
call fcn.005a01dd
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add ebx, 0x48
jmp 0x4a03b3
mov eax, dword [ebp]
jmp 0x4a0861
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x28]
mov dword [esp + 0x34], ecx
add esi, 0x550
push eax
mov ecx, esi
call fcn.00464ab0
mov edi, dword [esp + 0x24]
mov ebp, dword [esi + 0x18]
mov eax, dword [esi]
test edi, edi
je 0x4a08b8
cmp edi, eax
je 0x4a08bd
call fcn.005a01dd
mov ebx, dword [esp + 0x28]
cmp ebx, ebp
jne 0x4a09db
lea ecx, [esp + 0x23]
push ecx
lea edx, [esp + 0x27]
push edx
lea ecx, [esp + 0xb0]
call fcn.004ba840
mov edi, dword [esp + 0x18]
mov ecx, edi
mov dword [esp + 0x118], 0
call fcn.0053d8e0
mov ebp, dword [esp + 0x1c]
fadd dword [ebp + 8]
mov ebx, dword [esp + 0x120]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x94]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
push ecx
lea ecx, [esp + 0xb0]
fstp dword [esp + 0x30]
mov dword [esp + 0x2c], ebx
call fcn.004f1e30
sub esp, 0x20
lea edx, [esp + 0xc8]
mov dword [esp + 0x50], esp
mov ecx, esp
push edx
call fcn.0049fc20
mov eax, dword [esp + 0x68]
push eax
lea ecx, [esp + 0x110]
push ecx
call fcn.0049fe80
add esp, 0x28
mov edx, dword [eax]
add eax, 4
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x11c], 1
mov dword [esp + 0xcc], edx
call fcn.0049fc20
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
mov byte [esp + 0x120], 2
call fcn.004a01b0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x118], 1
call fcn.0049c5a0
lea ecx, [esp + 0xf0]
mov byte [esp + 0x118], 0
call fcn.0049c5a0
lea ecx, [esp + 0xa8]
mov dword [esp + 0x118], 0xffffffff
call fcn.0049c5a0
jmp 0x4a0a7b
mov ecx, dword [esp + 0x18]
call fcn.0053d8e0
mov ebp, dword [esp + 0x1c]
fadd dword [ebp + 8]
mov edx, dword [esp + 0x120]
mov dword [esp + 0x24], edx
fstp dword [esp + 0x8c]
fld dword [esp + 0x8c]
fstp dword [esp + 0x28]
test edi, edi
jne 0x4a0a5f
call fcn.005a01dd
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4a0a1d
call fcn.005a01dd
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x94]
push ecx
lea ecx, [ebx + 0x10]
call fcn.004f1e30
test edi, edi
jne 0x4a0a63
call fcn.005a01dd
cmp ebx, dword [edi + 0x18]
jne 0x4a0a45
call fcn.005a01dd
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebx + 0x2c]
cmp eax, 2
je 0x4a0a67
cmp eax, 1
je 0x4a0a67
cmp ebx, dword [ebp + 0x14]
jle 0x4a0a70
jmp 0x4a0349
mov eax, dword [edi]
jmp 0x4a0a13
mov edi, dword [edi]
jmp 0x4a0a3b
cmp ebx, 0x10
jg 0x4a0349
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x120]
mov ecx, ebx
call fcn.00523250
mov ecx, edi
mov esi, eax
call fcn.00523250
fld dword [esi]
fadd dword [eax]
mov ecx, ebx
fstp dword [esp + 0x24]
fld dword [esi + 4]
fadd dword [eax + 4]
fstp dword [esp + 0x28]
fld dword [esi + 8]
fadd dword [eax + 8]
fstp dword [esp + 0x2c]
fld dword [esp + 0x24]
fld qword [0x5fe2b8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x74]
fld dword [esp + 0x28]
fmul st(1)
fstp dword [esp + 0x78]
fmul dword [esp + 0x2c]
fstp dword [esp + 0x7c]
call fcn.0049d130
push eax
call fcn.004a1f80
add esp, 4
test al, al
je 0x4a0b42
mov ecx, edi
call fcn.00523250
fld dword [eax]
mov ecx, dword [esp + 0x50]
fadd dword [ecx]
fstp dword [esp + 0x4c]
fld dword [eax + 4]
fadd dword [ecx + 4]
fstp dword [esp + 0x50]
fld dword [eax + 8]
fadd dword [ecx + 8]
fstp dword [esp + 0x54]
fld dword [esp + 0x4c]
fld qword [0x5fe2b8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
fld dword [esp + 0x50]
mov dword [esp + 0x74], edx
fmul st(1)
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x78], eax
fmul dword [esp + 0x54]
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x7c], ecx
mov edx, dword [edi + 0x2d0]
push 1
push edx
lea eax, [esp + 0x7c]
push eax
push ebx
push ebp
mov ecx, edi
call fcn.004a2a90
mov eax, 1
jmp 0x4a034b