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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
push esi
mov esi, ecx
push edi
movsx eax, word [esi + 0x1c]
dec eax
cmp eax, 7
ja case.0x41058f.2
jmp dword [eax*4 + 0x410890]
lea eax, [ebp + 0x14]
lea ecx, [ebp + 8]
lea edi, [esi + 0x38]
push eax
push ecx
mov ecx, edi
call fcn.0041e430
test ax, ax
je 0x410704
movsx ecx, word [esi + 0x1e]
dec ecx
lea edx, [ebp + 0x14]
lea eax, [ebp + 8]
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
push edx
push eax
push 0
push 0
fmul dword [esi + 0x24]
push 0
push 0
sub esp, 8
lea ecx, [esp + 0x78]
fstp qword [esp]
call fcn.0041e260
lea edx, [esp + 0x48]
push eax
push edx
mov ecx, edi
call fcn.0043dfb0
mov ecx, eax
call fcn.0041e430
test ax, ax
je 0x410704
movsx edx, word [esi + 0x20]
dec edx
lea eax, [ebp + 0x14]
mov dword [esp + 0xc], edx
lea ecx, [ebp + 8]
fild dword [esp + 0xc]
push eax
push ecx
push 0
push 0
fmul dword [esi + 0x28]
sub esp, 8
lea ecx, [esp + 0xb8]
fstp qword [esp]
push 0
push 0
call fcn.0041e260
push eax
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call fcn.0043dfb0
mov ecx, eax
call fcn.0041e430
test ax, ax
je 0x410704
movsx eax, word [esi + 0x20]
dec eax
lea ecx, [ebp + 0x14]
mov dword [esp + 0xc], eax
lea edx, [ebp + 8]
fild dword [esp + 0xc]
push ecx
push edx
movsx ecx, word [esi + 0x1e]
fmul dword [esi + 0x28]
push 0
push 0
sub esp, 8
dec ecx
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xa0]
fstp qword [esp]
fild dword [esp + 0x24]
sub esp, 8
fmul dword [esi + 0x24]
fstp qword [esp]
call fcn.0041e260
push eax
lea edx, [esp + 0x7c]
jmp 0x4106e2
lea eax, [ebp + 0x14]
lea ecx, [ebp + 8]
lea edi, [esi + 0x38]
push eax
push ecx
mov ecx, edi
call fcn.0041e430
test ax, ax
je 0x410704
movsx ecx, word [esi + 0x1e]
dec ecx
lea edx, [ebp + 0x14]
lea eax, [ebp + 8]
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
push edx
push eax
push 0
push 0
fmul dword [esi + 0x24]
push 0
push 0
sub esp, 8
lea ecx, [esp + 0x54]
fstp qword [esp]
call fcn.0041e260
push eax
lea edx, [esp + 0x58]
push edx
mov ecx, edi
call fcn.0043dfb0
mov ecx, eax
call fcn.0041e430
test ax, ax
je 0x410704
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp word [esi + 0x20], 0
mov eax, 1
mov dword [esp + 0x10], 0
jle 0x410884
test ax, ax
je 0x410884
fild dword [esp + 0x10]
push 0
push 0
sub esp, 8
lea ecx, [esp + 0x74]
fmul dword [esi + 0x28]
sub esp, 8
lea ebx, [esi + 0x38]
fld st(0)
fsin
fstp dword [esp + 0x2c]
fcos
fstp dword [esp + 0x24]
fld dword [esp + 0x2c]
fmul dword [esi + 0x2c]
fstp qword [esp + 8]
fld dword [esp + 0x24]
fmul dword [esi + 0x2c]
fstp qword [esp]
call fcn.0041e260
push eax
lea eax, [esp + 0x80]
push eax
mov ecx, ebx
call fcn.0043dfb0
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
call fcn.0041e330
lea ecx, [ebp + 0x14]
lea edx, [ebp + 8]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.0041e430
mov di, ax
push 0
movsx eax, word [esi + 0x1e]
neg di
sbb edi, edi
push 0
neg edi
dec eax
sub esp, 8
mov dword [esp + 0x34], eax
sub esp, 8
fild dword [esp + 0x3c]
lea ecx, [esp + 0xac]
fmul dword [esi + 0x24]
fadd dword [esi + 0x2c]
fld dword [esp + 0x2c]
fmul st(1)
fstp qword [esp + 8]
fld dword [esp + 0x24]
fmul st(1)
fstp qword [esp]
fstp st(0)
call fcn.0041e260
lea ecx, [esp + 0xac]
push eax
push ecx
mov ecx, ebx
call fcn.0043dfb0
push eax
lea ecx, [esp + 0x1c]
call fcn.0041e610
lea ecx, [esp + 0x18]
call fcn.0041e330
test di, di
je 0x41083b
lea edx, [ebp + 0x14]
lea eax, [ebp + 8]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.0041e430
test ax, ax
je 0x41083b
mov eax, 1
jmp 0x41083d
xor eax, eax
mov ecx, dword [esp + 0x10]
movsx edx, word [esi + 0x20]
inc ecx
cmp ecx, edx
mov dword [esp + 0x10], ecx
jl 0x410727
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
lea eax, [ebp + 0x14]
lea ecx, [ebp + 8]
push eax
push ecx
lea ecx, [esi + 0x38]
call fcn.0041e430
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
xor ax, ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18