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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x10149040]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp eax, 8
ja case.default.0x100656a3
jmp dword [eax*4 + 0x10065a54]
mov dword [0xe61e58], 0x280
mov dword [0xe61e5c], 0x1e0
mov dword [0x81c0380], 0xc
jmp 0x100657ed
mov dword [0xe61e58], 0x320
mov dword [0xe61e5c], 0x258
mov dword [0x81c0380], 0xd
jmp 0x100657ed
mov dword [0xe61e58], 0x400
mov dword [0xe61e5c], 0x300
mov dword [0x81c0380], 0xe
jmp 0x100657ed
mov dword [0xe61e58], 0x500
mov dword [0xe61e5c], 0x400
mov dword [0x81c0380], 0xf
jmp 0x100657ed
mov dword [0xe61e58], 0x556
mov dword [0xe61e5c], 0x300
mov dword [0x81c0380], 0xf
jmp 0x100657ed
mov dword [0xe61e58], 0x5a0
mov dword [0xe61e5c], 0x384
mov dword [0x81c0380], 0xf
jmp 0x100657ed
mov dword [0xe61e58], 0x640
mov dword [0xe61e5c], 0x384
mov dword [0x81c0380], 0xf
jmp 0x100657ed
mov dword [0xe61e58], 0x690
mov dword [0xe61e5c], 0x41a
mov dword [0x81c0380], 0xf
jmp 0x100657ed
mov dword [0xe61e58], 0x780
mov dword [0xe61e5c], 0x438
mov dword [0x81c0380], 0xf
jmp 0x100657ed
mov dword [0xe61e58], 0x400
mov dword [0xe61e5c], 0x300
push ecx
push dword [0x81c0380]
call fcn.10065460
mov esi, dword [0xe61e58]
mov edi, 0x407b20
call edi
mov dword [eax + 0x28], esi
mov esi, dword [0xe61e5c]
call edi
push 0
mov dword [eax + 0x2c], esi
movd xmm0, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1013dda0]
movss dword [0xe7c3d4], xmm0
movd xmm0, dword [0xe61e5c]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1013dd80]
movss dword [0xe7c3d8], xmm0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov eax, dword [0xe61e58]
mov dword [esp + 0x20], eax
mov eax, dword [0xe61e5c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
cmp dword [0xe60974], 0
je 0x100658d9
push 0x2ca0000
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [esp + 0x14]
sub dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x20], eax
push 0x2ca0000
push 0xfffffffffffffff0
push dword [0xe8c578]
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call esi
sub eax, dword [esp + 0x20]
cdq
sub eax, edx
mov edi, eax
push 0
sar edi, 1
call esi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
push 0x40
push dword [esp + 0x24]
cdq
push ecx
sub eax, edx
sar eax, 1
push edi
push eax
jmp 0x100658f3
push 0xcf0000
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
push 0x40
push dword [esp + 0x24]
push dword [esp + 0x24]
push 0
push 0
push 0xfffffffffffffffe
push dword [0xe8c578]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, 0x41fe10
call edi
mov edx, 0x41ff20
mov ecx, eax
call edx
mov esi, dword [0xe8c580]
call edi
push esi
push 0
lea edx, [edi + 0x70]
mov ecx, eax
call edx
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x10]
push eax
push 0x40
push 8
push 0xd2c848
call esi
movsd xmm0, qword [0x1013dbb8]
lea eax, [esp + 0x10]
push eax
movsd qword [0xd2c848], xmm0
push dword [esp + 0x14]
push 8
push 0xd2c848
call esi
lea eax, [esp + 0x10]
push eax
push 0x40
push 8
push 0xd2c898
call esi
movsd xmm0, qword [0x1013dbb8]
lea eax, [esp + 0x10]
push eax
movsd qword [0xd2c898], xmm0
push dword [esp + 0x14]
push 8
push 0xd2c898
call esi
mov ebx, 0x861110
call ebx
mov edx, 0x861220
mov ecx, eax
call edx
mov edx, 0x785b70
mov ecx, eax
call edx
call ebx
mov edi, dword [eax + 0x10]
call ebx
mov esi, dword [eax]
call ebx
push 0x17e
push 0
push edi
mov ecx, dword [eax + 0xc]
mov eax, 0x785870
push esi
call eax
call ebx
mov edx, 0x7d2530
mov ecx, dword [eax + 0x98]
call edx
push 0x228
mov eax, 0x9d00c5
call eax
add esp, 4
test eax, eax
je 0x10065a10
mov edx, 0x7d2480
mov ecx, eax
call edx
mov esi, eax
call ebx
mov dword [eax + 0x98], esi
test esi, esi
je 0x10065a1c
call ebx
push 0
push 0
mov ecx, esi
push dword [eax]
mov eax, 0x7d25c0
call eax
jmp 0x10065a1c
call ebx
mov dword [eax + 0x98], 0
call ebx
mov edx, 0x840a60
mov ecx, dword [eax + 0x54]
call edx
call ebx
mov esi, dword [eax]
call ebx
push 0
push 0x104
push esi
mov ecx, dword [eax + 0x54]
mov eax, 0x840610
call eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10080ec9
mov esp, ebp
pop ebp
ret 4