Function at 0x100ad400
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 4]
cmp dword [0xe61e18], 0x1e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push eax
push 0x40
push 8
push 0xd2c848
jne 0x100ad5fb
movsd xmm0, qword [0xd255a0]
subsd xmm0, qword [0x101a2f58]
andps xmm0, xmmword [0x101a3cf0]
movsd qword [ebp - 0x18], xmm0
call esi
movsd xmm0, qword [ebp - 0x18]
lea eax, [ebp - 4]
mulsd xmm0, qword [0x101a2bd8]
push eax
addsd xmm0, qword [0x101a3260]
movsd qword [0xd2c848], xmm0
push dword [ebp - 4]
push 8
push 0xd2c848
call esi
movsd xmm0, qword [0xd255a0]
lea eax, [ebp - 4]
subsd xmm0, qword [0x101a2f58]
push eax
push 0x40
push 8
push 0xd2c898
andps xmm0, xmmword [0x101a3cf0]
movsd qword [ebp - 0x18], xmm0
call esi
movsd xmm0, qword [ebp - 0x18]
lea eax, [ebp - 4]
mulsd xmm0, qword [0x101a2bd8]
push eax
addsd xmm0, qword [0x101a3260]
movsd qword [0xd2c898], xmm0
push dword [ebp - 4]
push 8
push 0xd2c898
call esi
movsd xmm0, qword [0xd255a0]
lea eax, [ebp - 4]
subsd xmm0, qword [0x101a2f58]
push eax
push 0x40
push 4
push 0xd2c894
andps xmm0, xmmword [0x101a3cf0]
movsd qword [ebp - 0x18], xmm0
call esi
movsd xmm0, qword [ebp - 0x18]
lea eax, [ebp - 4]
cvtpd2ps xmm0, xmm0
push eax
mulss xmm0, dword [0x101a2d60]
addss xmm0, dword [0x101a3884]
movss dword [0xd2c894], xmm0
push dword [ebp - 4]
push 4
push 0xd2c894
call esi
movsd xmm0, qword [0xd255a0]
lea eax, [ebp - 4]
subsd xmm0, qword [0x101a2f58]
push eax
push 0x40
push 4
push 0xd2c8a8
andps xmm0, xmmword [0x101a3cf0]
movsd qword [ebp - 0x18], xmm0
call esi
movsd xmm0, qword [ebp - 0x18]
lea eax, [ebp - 4]
cvtpd2ps xmm0, xmm0
push eax
mulss xmm0, dword [0x101a2d60]
addss xmm0, dword [0x101a3884]
movss dword [0xd2c8a8], xmm0
push dword [ebp - 4]
push 4
push 0xd2c8a8
call esi
movsd xmm0, qword [0xd255a0]
subsd xmm0, qword [0x101a2f58]
andps xmm0, xmmword [0x101a3cf0]
movsd qword [ebp - 0x18], xmm0
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0xd2570c
call esi
movsd xmm0, qword [ebp - 0x18]
lea eax, [ebp - 4]
cvtpd2ps xmm0, xmm0
push eax
mulss xmm0, dword [0x101a2d60]
addss xmm0, dword [0x101a3878]
movss dword [0xd2570c], xmm0
push dword [ebp - 4]
push 4
push 0xd2570c
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movsd xmm0, qword [0x105b2fa8]
cvtpd2ps xmm0, xmm0
mov dword [ebp - 4], 0
movss xmm1, dword [0xd27bfc]
divss xmm0, dword [0x101a3438]
divss xmm1, dword [0x101a27b4]
mulss xmm0, dword [0x101a3804]
movss dword [0x105b2f90], xmm1
divss xmm0, dword [0x101a3438]
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x18], xmm0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x100ad682
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [0xd2c848], eax
lea eax, [ebp - 0xc]
push eax
mov dword [0xd2c84c], ecx
push dword [ebp - 4]
mov dword [ebp - 0xc], 0
push 8
push 0xd2c848
call esi
test eax, eax
jne 0x100ad684
call edi
movss xmm0, dword [0x105b2fb0]
lea eax, [ebp - 4]
divss xmm0, dword [0x101a3438]
push eax
push 0x40
push 4
push 0xd2c894
mov dword [ebp - 4], 0
mulss xmm0, dword [0x101a366c]
divss xmm0, dword [0x101a3438]
mulss xmm0, dword [0x105b2f90]
movss dword [ebp - 0xc], xmm0
call esi
test eax, eax
je 0x100ad6ee
mov eax, dword [ebp - 0xc]
mov dword [0xd2c894], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x14], 0
push 4
push 0xd2c894
call esi
test eax, eax
jne 0x100ad6f0
call edi
movsd xmm0, qword [0x105b2fb8]
lea eax, [ebp - 4]
cvtpd2ps xmm0, xmm0
push eax
push 0x40
push 8
push 0xd2c8b8
mov dword [ebp - 4], 0
divss xmm0, dword [0x101a3438]
mulss xmm0, dword [0x101a38d0]
divss xmm0, dword [0x101a3438]
mulss xmm0, dword [0x105b2f90]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x10], xmm0
call esi
test eax, eax
je 0x100ad76a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [0xd2c8b8], eax
lea eax, [ebp - 0x14]
push eax
mov dword [0xd2c8bc], ecx
push dword [ebp - 4]
mov dword [ebp - 0x14], 0
push 8
push 0xd2c8b8
call esi
test eax, eax
jne 0x100ad76c
call edi
movsd xmm0, qword [0x105b2fc0]
lea eax, [ebp - 4]
cvtpd2ps xmm0, xmm0
push eax
push 0x40
push 8
push 0xd2c878
mov dword [ebp - 4], 0
divss xmm0, dword [0x101a3438]
mulss xmm0, dword [0x101a35fc]
divss xmm0, dword [0x101a3438]
mulss xmm0, dword [0x105b2f90]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x10], xmm0
call esi
test eax, eax
je 0x100ad7e6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [0xd2c878], eax
lea eax, [ebp - 0x14]
push eax
mov dword [0xd2c87c], ecx
push dword [ebp - 4]
mov dword [ebp - 0x14], 0
push 8
push 0xd2c878
call esi
test eax, eax
jne 0x100ad7e8
call edi
movss xmm0, dword [0x105b2fc8]
lea eax, [ebp - 4]
divss xmm0, dword [0x101a3438]
push eax
push 0x40
push 4
push 0xd2c880
mov dword [ebp - 4], 0
mulss xmm0, dword [0x101a358c]
divss xmm0, dword [0x101a3438]
mulss xmm0, dword [0x105b2f90]
movss dword [ebp - 0x14], xmm0
call esi
test eax, eax
je 0x100ad852
mov eax, dword [ebp - 0x14]
mov dword [0xd2c880], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
mov dword [ebp - 0xc], 0
push 4
push 0xd2c880
call esi
test eax, eax
jne 0x100ad854
call edi
movss xmm0, dword [0x105b2fcc]
lea eax, [ebp - 4]
divss xmm0, dword [0x101a3438]
push eax
push 0x40
push 4
push 0xd2b94c
mov dword [ebp - 4], 0
mulss xmm0, dword [0x101a38e0]
divss xmm0, dword [0x101a3438]
mulss xmm0, dword [0x105b2f90]
movss dword [ebp - 0x14], xmm0
call esi
test eax, eax
je 0x100ad8be
mov eax, dword [ebp - 0x14]
mov dword [0xd2b94c], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
mov dword [ebp - 0xc], 0
push 4
push 0xd2b94c
call esi
test eax, eax
jne 0x100ad8c0
call edi
movss xmm0, dword [0x105b2fd0]
lea eax, [ebp - 4]
divss xmm0, dword [0x101a3438]
push eax
push 0x40
push 4
push 0xd2570c
mov dword [ebp - 4], 0
mulss xmm0, dword [0x101a359c]
divss xmm0, dword [0x101a3438]
mulss xmm0, dword [0x105b2f90]
movss dword [ebp - 0x14], xmm0
call esi
test eax, eax
je 0x100ad92a
mov eax, dword [ebp - 0x14]
mov dword [0xd2570c], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
mov dword [ebp - 0xc], 0
push 4
push 0xd2570c
call esi
test eax, eax
jne 0x100ad92c
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret