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

Disassembly:
sub esp, 0xcc
push ebp
mov ebp, dword [esp + 0xd8]
push esi
push edi
mov edi, eax
mov eax, dword [ebx + 0xf8]
test eax, eax
je 0x464636
test byte [ebx + 0x10c], 8
je 0x464636
mov ecx, dword [esp + 0xdc]
push 0xf
lea eax, [esp + 0x1c]
push eax
push edi
push ecx
push ebp
call fcn.00482930
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x6c], edx
mov edx, dword [ebx + 0x74]
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 0x78]
mov dword [esp + 0x74], ecx
mov ecx, dword [ebx + 0x7c]
mov dword [esp + 0x7c], edx
mov edx, dword [ebx + 0x84]
mov dword [esp + 0x80], eax
mov eax, dword [ebx + 0x88]
mov dword [esp + 0x84], ecx
mov ecx, dword [ebx + 0x8c]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
add esp, 0x14
lea eax, [esp + 0x58]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x58]
call fcn.00434740
mov edx, dword [ebx + 0xf8]
mov eax, dword [esp + 0x58]
mov dword [edx], eax
mov ecx, dword [ebx + 0xf8]
mov edx, dword [esp + 0x5c]
mov dword [ecx + 4], edx
mov eax, dword [ebx + 0xf8]
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov edx, dword [ebx + 0xf8]
mov eax, dword [esp + 0x68]
mov dword [edx + 0x10], eax
mov ecx, dword [ebx + 0xf8]
mov edx, dword [esp + 0x6c]
mov dword [ecx + 0x14], edx
mov eax, dword [ebx + 0xf8]
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x18], ecx
mov edx, dword [ebx + 0xf8]
mov eax, dword [esp + 0x78]
mov dword [edx + 0x20], eax
mov ecx, dword [ebx + 0xf8]
mov edx, dword [esp + 0x7c]
mov dword [ecx + 0x24], edx
mov eax, dword [ebx + 0xf8]
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x28], ecx
cmp word [ebx + 0x30], 0
jne 0x464573
mov eax, dword [ebx + 0x40]
test ah, 2
jne 0x464573
fld qword [0x4c4b70]
mov eax, dword [ebx + 0xf8]
fcos
lea ecx, [esp + 0x98]
mov edx, eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0x3f800000
fst dword [esp + 0x98]
fld qword [0x4c4b70]
fsin
fld st(0)
fchs
fstp dword [esp + 0x9c]
fstp dword [esp + 0xa8]
fstp dword [esp + 0xac]
call fcn.00434740
fld dword [esp + 0x50]
mov edx, dword [ebx + 0xf8]
fadd dword [0x4c49c0]
fst dword [esp + 0x50]
fmul dword [ebx + 0x84]
fld dword [esp + 0x4c]
fmul dword [ebx + 0x74]
faddp st(1)
fld dword [esp + 0x48]
fmul dword [ebx + 0x64]
faddp st(1)
fadd dword [ebx + 0x94]
fld dword [esp + 0x50]
fmul dword [ebx + 0x88]
fld dword [esp + 0x4c]
fmul dword [ebx + 0x78]
faddp st(1)
fld dword [esp + 0x48]
fmul dword [ebx + 0x68]
faddp st(1)
fadd dword [ebx + 0x98]
fld dword [esp + 0x48]
fmul dword [ebx + 0x6c]
fld dword [esp + 0x50]
fmul dword [ebx + 0x8c]
faddp st(1)
fld dword [esp + 0x4c]
fmul dword [ebx + 0x7c]
faddp st(1)
fadd dword [ebx + 0x9c]
fstp dword [esp + 0x90]
fxch st(1)
fstp dword [edx + 0x30]
mov eax, dword [ebx + 0xf8]
mov edx, dword [esp + 0x90]
fstp dword [eax + 0x34]
mov ecx, dword [ebx + 0xf8]
mov dword [ecx + 0x38], edx
mov eax, dword [ebx + 0xf8]
or dword [eax + 0xa8], 0x200
mov eax, dword [ebx + 0xf8]
or dword [eax + 0xa8], 0x20
mov esi, dword [ebx + 0xf8]
call fcn.0043d810
mov ecx, dword [ebx + 0xf8]
test ecx, ecx
je 0x46493e
mov eax, dword [ecx + 0xa8]
test eax, 0x1000000
je 0x464666
movzx edx, byte [ecx + 0xd0]
lea esi, [edx + edx*2]
shl esi, 5
add esi, 0x15210e0
jmp 0x46467c
movsx edx, word [ecx + 0xbc]
lea esi, [edx + edx*2]
mov edx, dword [0x14cc4b0]
shl esi, 5
add esi, dword [edx + 0x38]
or eax, 0x220
push 0xf
mov dword [ecx + 0xa8], eax
lea eax, [esp + 0x1c]
push eax
push edi
mov edi, dword [esp + 0xe8]
push edi
push ebp
call fcn.00482930
movzx ecx, byte [ebx + 0x135]
mov edx, dword [0x4d64a4]
shl ecx, 6
add esp, 0x14
test byte [ecx + edx + 1], 0x10
jne 0x464908
mov eax, dword [ebx + 0xf8]
mov ecx, dword [eax + 0xa4]
mov edx, dword [0x14d2e74]
imul ecx, ecx, 0x118
mov byte [ecx + edx + 0x40], 0
mov ax, word [ebx + 0x30]
test ax, ax
mov ecx, 0x200
jne 0x46470d
test dword [ebx + 0x40], ecx
jne 0x4646f7
fld dword [esp + 0x48]
fadd dword [0x4c4b4c]
jmp 0x46474b
test ax, ax
jne 0x46470d
test dword [ebx + 0x40], ecx
je 0x46470d
fld dword [esp + 0x48]
fadd dword [0x4c4b4c]
jmp 0x46474b
cmp ax, 1
jne 0x46473b
test dword [ebx + 0x40], ecx
je 0x464724
fld dword [esp + 0x48]
fadd dword [0x4c4b78]
jmp 0x46474b
cmp ax, 1
jne 0x46473b
test dword [ebx + 0x40], ecx
jne 0x46473b
fld dword [esp + 0x48]
fadd dword [0x4c4b68]
jmp 0x46474b
cmp ax, 2
fld dword [esp + 0x48]
jne 0x464765
fadd dword [0x4c4b48]
cmp ax, 2
jne 0x464765
fld dword [0x4c4b64]
fld dword [0x4c4b60]
fld dword [0x4bf424]
jmp 0x464791
cmp ax, 1
jne 0x46477f
fld dword [0x4c4b5c]
fld dword [0x4c4b58]
fld dword [0x4c49c0]
jmp 0x464791
fld dword [0x4c4b54]
fld dword [0x4c4b50]
fld dword [0x4c4a50]
fld dword [esp + 0x38]
lea ecx, [esp + 0xc]
fmul st(1)
mov dword [esp + 0xc], 0
fld dword [esp + 0x28]
mov dword [esp + 0x14], 0x3f800000
fmul st(3)
faddp st(1)
fld dword [esp + 0x18]
fmul st(4)
faddp st(1)
fadd st(4)
fstp dword [esp + 0x48]
fld dword [esp + 0x3c]
fmul st(1)
fld dword [esp + 0x2c]
fmul st(3)
faddp st(1)
fld dword [esp + 0x1c]
fmul st(4)
faddp st(1)
fadd dword [esp + 0x4c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x40]
fmul st(1)
fld dword [esp + 0x30]
fmul st(3)
faddp st(1)
fld dword [esp + 0x20]
fmul st(4)
faddp st(1)
fadd dword [esp + 0x50]
fstp dword [esp + 0x50]
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x50]
fmul dword [0x4c49a0]
fchs
fstp dword [esp + 0x10]
call fcn.00434550
mov eax, dword [esp + 0xc]
fstp st(0)
mov ecx, dword [esp + 0x14]
fld dword [esp + 0x10]
mov edx, eax
fchs
mov dword [esp + 0xa8], eax
fstp dword [esp + 0xb0]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb8], edx
mov edx, dword [ebx + 0xf8]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
lea eax, [ebx + 0x64]
lea ecx, [esp + 0x98]
mov dword [esp + 0x98], 0x3f800000
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
call fcn.00434740
mov edx, dword [ebx + 0xf8]
lea eax, [esp + 0x50]
push eax
mov al, byte [edx + 0xd0]
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x54]
call fcn.004642e0
mov eax, dword [edi]
add esp, 8
add edx, 0x30
lea ecx, [esp + 0x48]
call fcn.00434a90
fld dword [esi + 0x48]
fsub dword [esi + 0x4c]
mov eax, dword [ebx + 0xf8]
fmul dword [eax + 0x14]
fmul dword [0x4c49c0]
fadd dword [eax + 0x34]
fstp dword [eax + 0x34]
mov eax, dword [ebx + 0xf8]
fld dword [esi + 0x48]
fsub dword [esi + 0x4c]
fmul dword [eax + 0x18]
fmul dword [0x4c49c0]
fadd dword [eax + 0x38]
fstp dword [eax + 0x38]
mov eax, dword [ebx + 0xf8]
lea ecx, [eax + 0x40]
mov edx, eax
call fcn.00434740
jmp 0x464933
mov edi, dword [ebx + 0xf8]
mov eax, dword [esp + 0xdc]
lea esi, [ebx + 0x64]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 0xf8]
mov eax, dword [eax]
add edx, 0x30
lea ecx, [esp + 0x48]
call fcn.00434a90
mov esi, dword [ebx + 0xf8]
call fcn.0043d810
pop edi
pop esi
pop ebp
add esp, 0xcc
ret