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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x70]
lea edx, [esp + 0x10]
movsd xmm1, qword [eax + 0x20]
movsd xmm2, qword [eax + 0x18]
movsd xmm0, qword [eax + 0x28]
movsd qword [esp + 0x30], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esp + 0x28], xmm2
movsd xmm2, qword [eax]
movsd qword [esp + 0x38], xmm0
movsd qword [esp + 0x20], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x10], xmm2
movsd qword [esp + 0x18], xmm1
call fcn.00415330
cmp dword [esp + 0x84], 0
je 0x416ace
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
shr eax, 6
test ecx, ecx
cmove eax, ecx
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
shr ecx, 6
test edx, edx
cmove ecx, edx
add ecx, eax
mov eax, 3
cmp ecx, 4
cmovae eax, ecx
mov ecx, 0x40
inc eax
mov dword [esp], eax
mul ecx
jo 0x416be0
mov esi, eax
test eax, eax
js 0x416be0
push 8
push esi
call fcn.00406c70
add esp, 8
test eax, eax
je 0x416be7
movsd xmm1, qword [esp + 0xa0]
movsd xmm2, qword [esp + 0x98]
movsd xmm0, qword [esp + 0xa8]
movsd xmm3, qword [esp + 0x70]
mov ebx, eax
mov dword [esp + 4], eax
lea ecx, [esp + 0x70]
lea edx, [esp + 0x40]
movsd qword [eax + 0x30], xmm1
movsd xmm1, qword [esp + 0x90]
movsd qword [eax + 0x28], xmm2
movsd xmm2, qword [esp + 0x88]
movsd qword [eax + 0x38], xmm0
movsd qword [eax], xmm3
movsd qword [eax + 0x20], xmm1
movsd xmm1, qword [esp + 0x80]
movsd qword [eax + 0x18], xmm2
movsd xmm2, qword [esp + 0x38]
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esp + 0x78]
movsd qword [esp + 0x68], xmm2
movsd xmm2, qword [esp + 0x28]
movsd qword [eax + 8], xmm1
movsd xmm1, qword [esp + 0x30]
mov eax, dword [esp]
movsd qword [esp + 0x58], xmm2
movsd xmm2, qword [esp + 0x10]
movsd qword [esp + 0x60], xmm1
movsd xmm1, qword [esp + 0x20]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
movsd qword [esp + 0x40], xmm2
movsd qword [esp + 0x50], xmm1
movsd xmm1, qword [esp + 0x18]
movsd qword [esp + 0x48], xmm1
call fcn.00415330
cmp dword [esp + 0x84], 0
je 0x4169c5
mov eax, dword [esp]
mov esi, 0x40
mov edi, 1
cmp edi, eax
je 0x41697c
nop word [eax + eax]
movsd xmm0, qword [esp + 0xa8]
inc edi
lea ecx, [esp + 0x70]
lea edx, [esp + 0x40]
movsd qword [ebx + esi + 0x38], xmm0
movsd xmm0, qword [esp + 0xa0]
movsd qword [ebx + esi + 0x30], xmm0
movsd xmm0, qword [esp + 0x98]
movsd qword [ebx + esi + 0x28], xmm0
movsd xmm0, qword [esp + 0x90]
movsd qword [ebx + esi + 0x20], xmm0
movsd xmm0, qword [esp + 0x88]
movsd qword [ebx + esi + 0x18], xmm0
movsd xmm0, qword [esp + 0x80]
movsd qword [ebx + esi + 0x10], xmm0
movsd xmm0, qword [esp + 0x70]
movsd xmm1, qword [esp + 0x78]
movsd qword [ebx + esi + 8], xmm1
movsd qword [ebx + esi], xmm0
mov dword [esp + 0xc], edi
call fcn.00415330
cmp dword [esp + 0x84], 0
je 0x4169c5
mov eax, dword [esp + 8]
add esi, 0x40
cmp edi, eax
jne 0x4168e0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x60]
mov ebx, eax
mov eax, dword [esp + 0x5c]
sub ecx, dword [esp + 0x68]
shr ecx, 6
test edx, edx
cmove ecx, edx
sub eax, dword [esp + 0x58]
mov edx, 1
shr eax, 6
inc eax
cmp dword [esp + 0x50], 0
cmove eax, edx
add eax, ecx
push eax
push ebx
lea eax, [esp + 0xc]
push eax
call fcn.0047dbb0
add esp, 0xc
mov ebx, dword [esp + 4]
jmp 0x4168e0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x416a46
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp], eax
mov edx, 0xaaaaaaab
sub ecx, edi
mov eax, ecx
mul edx
test ecx, ecx
je 0x416a28
shr edx, 3
mov esi, 0x40
lea eax, [edx + edx*2]
lea ebx, [edi + eax*4]
jmp 0x416a07
add edi, 0xc
cmp edi, ebx
je 0x416a28
push edi
call fcn.00416150
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x416a00
mul esi
push 8
push eax
push dword [edi]
call fcn.00406c80
add esp, 0xc
jmp 0x416a00
mov eax, dword [esp + 0x44]
mov esi, dword [esp]
test eax, eax
je 0x416a46
mov ecx, 0xc
mul ecx
push 4
push eax
push esi
call fcn.00406c80
add esp, 0xc
mov esi, dword [esp + 0x50]
test esi, esi
je 0x416a7b
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
sub edx, ecx
shr edx, 6
call fcn.00407900
mov eax, dword [esp + 0x54]
test eax, eax
je 0x416a7b
mov ecx, 0x40
mul ecx
push 8
push eax
push esi
call fcn.00406c80
add esp, 0xc
mov esi, dword [esp + 0x60]
mov edi, dword [ebp + 8]
test esi, esi
je 0x416ab3
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
sub edx, ecx
shr edx, 6
call fcn.00407900
mov eax, dword [esp + 0x64]
test eax, eax
je 0x416ab3
mov ecx, 0x40
mul ecx
push 8
push eax
push esi
call fcn.00406c80
add esp, 0xc
mov eax, dword [esp + 0xc]
movsd xmm0, qword [esp + 4]
mov dword [edi + 8], eax
movsd qword [edi], xmm0
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x10]
mov dword [edi], 8
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test eax, eax
je 0x416b69
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp], eax
mov edx, 0xaaaaaaab
sub ecx, edi
mov eax, ecx
mul edx
test ecx, ecx
je 0x416b48
shr edx, 3
mov esi, 0x40
lea eax, [edx + edx*2]
lea ebx, [edi + eax*4]
jmp 0x416b27
add edi, 0xc
cmp edi, ebx
je 0x416b48
push edi
call fcn.00416150
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x416b20
mul esi
push 8
push eax
push dword [edi]
call fcn.00406c80
add esp, 0xc
jmp 0x416b20
mov eax, dword [esp + 0x14]
mov edi, dword [ebp + 8]
mov esi, dword [esp]
test eax, eax
je 0x416b69
mov ecx, 0xc
mul ecx
push 4
push eax
push esi
call fcn.00406c80
add esp, 0xc
mov esi, dword [esp + 0x20]
test esi, esi
je 0x416b9e
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub edx, ecx
shr edx, 6
call fcn.00407900
mov eax, dword [esp + 0x24]
test eax, eax
je 0x416b9e
mov ecx, 0x40
mul ecx
push 8
push eax
push esi
call fcn.00406c80
add esp, 0xc
mov esi, dword [esp + 0x30]
test esi, esi
je 0x416ac4
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
sub edx, ecx
shr edx, 6
call fcn.00407900
mov eax, dword [esp + 0x34]
test eax, eax
je 0x416ac4
mov ecx, 0x40
mul ecx
push 8
push eax
push esi
call fcn.00406c80
add esp, 0xc
jmp 0x416ac4
call fcn.00473a80
ud2
push 8
push esi
call fcn.004804a0
add esp, 8
ud2