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

Disassembly:
sub esp, 0x194
fld dword [esp + 0x1a8]
push ebx
fsin
mov ebx, dword [esp + 0x1a4]
push ebp
push esi
mov esi, eax
mov eax, dword [esp + 0x1a4]
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x7c], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x80], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x84], edx
mov edx, dword [eax + 0x58]
push edi
mov edi, ecx
mov cx, word [esp + 0x1ac]
cmp cx, 0xffff
mov dword [esp + 0x8c], edx
mov edx, dword [eax + 0x5c]
mov eax, dword [eax + 0x60]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x44], 0x3f800000
mov dword [esp + 0x48], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
fstp dword [esp + 0x28]
fld dword [esp + 0x1b8]
fcos
fstp dword [esp + 0x10]
jne 0x4ad1a2
or eax, 0xffffffff
jmp 0x4ad1af
mov edx, dword [0x87a018]
movsx ecx, cx
mov eax, dword [edx + ecx*4 + 4]
mov edx, dword [0x87a020]
lea ecx, [esp + 0x124]
and eax, 0xffff
push ecx
mov ecx, dword [edx + 0x34]
shl eax, 9
add eax, ecx
call fcn.004acfc0
add esp, 4
xor ecx, ecx
mov edx, 1
lea eax, [esp + 0x148]
jmp 0x4ad1f0
mov ebx, dword [esp + 0x1b0]
lea esp, [esp]
mov ebp, edx
and ebp, 2
je 0x4ad1fc
mov ebx, dword [ebx + 4]
jmp 0x4ad1fe
mov ebx, dword [ebx]
cmp cx, 1
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x1b0]
jle 0x4ad214
mov ebx, dword [ebx + 0xc]
jmp 0x4ad217
mov ebx, dword [ebx + 8]
test ebp, ebp
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x1b4]
je 0x4ad22b
mov ebp, dword [ebx + 4]
jmp 0x4ad22d
mov ebp, dword [ebx]
cmp cx, 1
mov dword [esp + 0x14], ebp
jle 0x4ad23c
mov ebx, dword [ebx + 0xc]
jmp 0x4ad23f
mov ebx, dword [ebx + 8]
fld dword [esp + 0x14]
mov dword [esp + 0x18], ebx
fmul dword [esp + 0x10]
fld dword [esp + 0x18]
fmul dword [esp + 0x28]
fsubp st(1)
fmul dword [esi]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fistp dword [esp + 0x30]
movsx ebx, word [edi]
add ebx, dword [esp + 0x30]
mov dword [esp + 0x24], ebx
fild dword [esp + 0x24]
fstp dword [eax - 4]
fld dword [esp + 0x18]
fmul dword [esp + 0x10]
fld dword [esp + 0x14]
fmul dword [esp + 0x28]
faddp st(1)
fmul dword [esi + 4]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fistp dword [esp + 0x1c]
movsx ebx, word [edi + 2]
add ebx, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x2c]
fild dword [esp + 0x24]
mov dword [eax + 0xc], ebx
mov ebx, dword [esp + 0x20]
mov dword [eax + 0x10], ebx
mov ebx, dword [esp + 0x1bc]
fstp dword [eax]
inc ecx
mov dword [eax + 4], 0
mov dword [eax + 8], ebx
inc edx
add eax, 0x18
cmp cx, 4
jl 0x4ad1e2
mov ebx, dword [esp + 0x1a8]
xor eax, eax
mov ecx, 0x23
lea edi, [esp + 0x98]
rep stosd dword es:[edi], eax
mov eax, dword [0x87a018]
xor ebp, ebp
mov dword [esp + 0xdc], 0x3f800000
mov dword [esp + 0xd8], 0x3f800000
mov dword [esp + 0xc4], 0x3f800000
mov dword [esp + 0xc0], 0x3f800000
mov dword [esp + 0x98], ebp
cmp word [eax + 0xc], 1
mov eax, dword [ebx + 0x70]
sete cl
push ebp
xor edi, edi
mov byte [esp + 0x126], cl
call fcn.0043f290
mov dword [esp + 0xa8], eax
mov eax, dword [ebx + 0x80]
push ebp
call fcn.0043f290
mov dword [esp + 0xb0], eax
mov eax, dword [ebx + 0x90]
push ebp
call fcn.0043f290
lea edx, [esp + 0xbc]
mov dword [esp + 0x24], edx
lea edx, [esp + 0xac]
sub edx, ebx
mov dword [esp + 0x2c], edx
lea edx, [esp + 0xb0]
sub edx, ebx
mov dword [esp + 0xb8], eax
lea eax, [ebx + 0x2e]
add esp, 0xc
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
lea ecx, [ebx + 0x38]
xor edx, edx
jmp 0x4ad3b0
mov esi, dword [esp + edx + 0xa4]
test esi, esi
je 0x4ad48c
fld dword [0x672af8]
fld dword [ecx - 4]
fucompp
fld dword [0x672afc]
fnstsw ax
test ah, 0x44
jnp 0x4ad3da
fdiv dword [ecx - 4]
fld dword [0x672af8]
fld dword [ecx]
fucompp
fld dword [0x672afc]
fnstsw ax
test ah, 0x44
jnp 0x4ad3f3
fdiv dword [ecx]
movsx eax, word [esi + 4]
lea ebx, [eax - 1]
test eax, ebx
jne 0x4ad409
movsx eax, word [esi + 6]
lea ebx, [eax - 1]
test eax, ebx
je 0x4ad444
movsx eax, word [esi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
fild dword [esp + 0x1c]
fdivr dword [0x672afc]
fstp dword [eax + ecx]
mov eax, dword [esp + edx + 0xa4]
movsx eax, word [eax + 6]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
fild dword [esp + 0x1c]
fdivr dword [0x672afc]
fstp dword [eax + ecx]
jmp 0x4ad45a
mov eax, dword [esp + 0x20]
mov dword [eax + ecx], 0x3f800000
mov eax, dword [esp + 0x2c]
mov dword [eax + ecx], 0x3f800000
mov esi, dword [esp + 0x18]
fxch st(1)
lea eax, [esp + edi + 0x80]
mov dword [esp + edx + 0xb4], eax
fstp dword [esp + edi + 0xc0]
mov eax, dword [esp + 0x28]
mov bl, byte [eax + 0x66]
fstp dword [esp + edi + 0xc4]
mov byte [esi], bl
mov ebx, dword [esp + 0x1a8]
cmp bp, 2
jge 0x4ad4ee
lea esi, [esp + 0x11c]
mov dword [esp + 0x30], esi
lea esi, [esp + 0x11e]
mov dword [esp + 0x34], esi
movsx esi, word [eax]
cmp esi, 4
ja case.default.0x4ad4b0
jmp dword [esi*4 + 0x4ad95c]
mov esi, dword [esp + edx + 0x30]
mov word [esi], 0
jmp case.default.0x4ad4b0
mov esi, dword [esp + edx + 0x30]
mov word [esi], 2
jmp case.default.0x4ad4b0
mov esi, dword [esp + edx + 0x30]
mov word [esi], 1
jmp case.default.0x4ad4b0
mov esi, dword [esp + edx + 0x30]
mov word [esi], 3
jmp case.default.0x4ad4b0
mov esi, dword [esp + edx + 0x30]
mov word [esi], 4
jmp case.default.0x4ad4b0
mov si, word [ebx + 4]
mov word [esp + 0x120], si
mov esi, dword [esp + 0x18]
add eax, 2
inc ebp
add ecx, 8
add edi, 8
inc esi
add edx, 4
cmp bp, 3
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], esi
jl 0x4ad3b0
mov eax, dword [ebx + 0x154]
test eax, eax
mov dword [esp + 0x20], 0
jle 0x4ad938
mov bp, word [esp + 0x1ac]
xor esi, esi
mov edi, edi
mov edx, dword [ebx + 0x158]
fld dword [0x719350]
imul esi, esi, 0xdc
fadd dword [0x672c20]
fstp dword [0x719350]
movsx eax, word [esi + edx + 0x44]
add esi, edx
cmp eax, 7
ja case.default.0x4ad56e
jmp dword [eax*4 + 0x4ad970]
cmp bp, 0xffff
je 0x4ad58d
mov edx, dword [0x87a018]
movsx ecx, bp
mov eax, dword [edx + ecx*4 + 4]
cmp eax, 0xffffffff
jne 0x4ad592
or eax, 0xffffffff
jmp 0x4ad5a7
mov ecx, dword [0x87a020]
mov edx, dword [ecx + 0x34]
and eax, 0xffff
shl eax, 9
mov eax, dword [eax + edx + 0x34]
mov ecx, dword [0x85ff50]
mov edx, dword [ecx + 0x34]
and eax, 0xffff
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*4 + 8]
add eax, 0x23c
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
fld dword [esp + 0x38]
fld dword [esp + 0x30]
mov dword [esp + 0x34], edx
fmul dword [esp + 0x30]
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fsqrt
fxch st(1)
fxch st(1)
fpatan
jmp 0x4ad65d
mov dword [esp + 0x14], 0
jmp case.default.0x4ad56e
movsx ecx, word [esp + 0x132]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
jmp 0x4ad65d
movsx edx, word [esp + 0x136]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
jmp 0x4ad65d
mov eax, dword [esp + 0x124]
mov dword [esp + 0x14], eax
jmp case.default.0x4ad56e
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x14], ecx
jmp case.default.0x4ad56e
or eax, 0xffffffff
cmp bp, 0xffff
je 0x4ad652
mov eax, dword [0x6b1384]
movsx edx, bp
shl edx, 6
mov ax, word [edx + eax + 0x34]
movsx ecx, ax
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fstp dword [esp + 0x14]
fld dword [esi + 0x48]
fld dword [esi + 0x4c]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4ad737
fld dword [esi + 0x50]
fld dword [esi + 0x54]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4ad737
fld dword [esp + 0x14]
fsub dword [esi + 0x48]
fld dword [esi + 0x4c]
fsub dword [esi + 0x48]
fdivp st(1)
fcomp dword [0x672af8]
fnstsw ax
test ah, 5
jp 0x4ad6ad
mov dword [esp + 0x18], 0
jmp 0x4ad6e6
fld dword [esp + 0x14]
fsub dword [esi + 0x48]
fld dword [esi + 0x4c]
fsub dword [esi + 0x48]
fdivp st(1)
fcomp dword [0x672afc]
fnstsw ax
test ah, 0x41
jne 0x4ad6d3
mov dword [esp + 0x18], 0x3f800000
jmp 0x4ad6e6
fld dword [esp + 0x14]
fsub dword [esi + 0x48]
fld dword [esi + 0x4c]
fsub dword [esi + 0x48]
fdivp st(1)
fstp dword [esp + 0x18]
fld dword [0x672afc]
mov edx, dword [esp + 0x18]
fsub dword [esp + 0x18]
push edx
lea edx, [esp + 0x78]
push 0
fmul dword [esi + 0x50]
fld dword [esp + 0x20]
lea eax, [esi + 0xa4]
fmul dword [esi + 0x54]
lea ecx, [esi + 0x98]
push edx
faddp st(1)
fstp dword [esp + 0x1c]
call fcn.0043f6a0
mov edi, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
add esp, 0xc
jmp 0x4ad75a
mov eax, dword [esi + 0x50]
mov dword [esp + 0x10], eax
lea ecx, [esi + 0x98]
mov eax, ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edi
movsx eax, word [esi + 0x42]
cmp eax, 3
ja case.default.0x4ad767
jmp dword [eax*4 + 0x4ad990]
cmp word [esi + 0x40], 1
jne 0x4ad77f
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
jmp 0x4ad787
mov dword [esp + 0x3c], 0
cmp word [esi + 0x40], 2
jne 0x4ad7a6
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x9c], eax
jmp case.default.0x4ad767
lea eax, [esp + 0x3c]
mov dword [esp + 0x40], 0
mov dword [esp + 0x9c], eax
jmp case.default.0x4ad767
mov si, word [esi + 0x40]
test si, si
jne 0x4ad7e3
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edi
mov dword [esp + 0xf0], ecx
jmp case.default.0x4ad767
cmp si, 1
jne 0x4ad7fd
mov eax, dword [esp + 0xb4]
fld dword [esp + 0x10]
fadd dword [eax]
fstp dword [eax]
jmp case.default.0x4ad767
cmp si, 2
jne 0x4ad819
mov eax, dword [esp + 0xb4]
fld dword [esp + 0x10]
fadd dword [eax + 4]
fstp dword [eax + 4]
jmp case.default.0x4ad767
cmp si, 3
jne case.default.0x4ad767
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edx
mov dword [esp + 0x110], eax
jmp case.default.0x4ad767
mov si, word [esi + 0x40]
test si, si
jne 0x4ad860
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edi
mov dword [esp + 0xf4], ecx
jmp case.default.0x4ad767
cmp si, 1
jne 0x4ad87a
mov eax, dword [esp + 0xb8]
fld dword [esp + 0x10]
fadd dword [eax]
fstp dword [eax]
jmp case.default.0x4ad767
cmp si, 2
jne 0x4ad896
mov eax, dword [esp + 0xb8]
fld dword [esp + 0x10]
fadd dword [eax + 4]
fstp dword [eax + 4]
jmp case.default.0x4ad767
cmp si, 3
jne case.default.0x4ad767
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x48]
mov dword [esp + 0x48], edx
mov dword [esp + 0x114], eax
jmp case.default.0x4ad767
mov si, word [esi + 0x40]
test si, si
jne 0x4ad8d7
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edi
mov dword [esp + 0xf8], ecx
jmp case.default.0x4ad767
cmp si, 1
jne 0x4ad8ee
mov eax, dword [esp + 0xbc]
fld dword [esp + 0x10]
fadd dword [eax]
fstp dword [eax]
jmp case.default.0x4ad767
cmp si, 2
jne 0x4ad907
mov eax, dword [esp + 0xbc]
fld dword [esp + 0x10]
fadd dword [eax + 4]
fstp dword [eax + 4]
jmp case.default.0x4ad767
cmp si, 3
jne case.default.0x4ad767
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x20]
inc eax
movsx esi, ax
mov dword [esp + 0x20], eax
cmp esi, dword [ebx + 0x154]
jl 0x4ad540
lea ecx, [esp + 0x144]
push ecx
lea eax, [esp + 0x9c]
call fcn.0051cb10
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x194
ret