Function at 0x1001b3c7
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [0x1012da73], 0
je 0x1001b3f7
jmp 0x1001b6ae
mov eax, 0x1008c526
test eax, eax
je 0x1001b413
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100704ce
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001b424
push ebx
call fcn.100704d4
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 0x7d0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1001b462
push 0xe2
push 0x40146ca
push 6
call fcn.100704da
add esp, 0xc
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0x7d0
push dword [ebp + 8]
push 0xffffffff
call fcn.1001b6d4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1001b498
push ebx
call fcn.100704d4
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push 0x1008c53c
mov ecx, 2
call fcn.100022af
add esp, 8
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push htons
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1001b4cd
mov eax, 0x1008929b
push eax
push htons
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1001b4e1
mov eax, 0x1008929b
push eax
push 3
mov ebx, 0x1ac
call fcn.10072c70
add esp, 0x28
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1001b507
push ebx
call fcn.100704d4
add esp, 4
cmp dword [ebp - 0x14], 0xffffffff
je 0x1001b560
mov ebx, 6
call fcn.1000106d
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x1008c547
push 4
mov ebx, 0x300
call fcn.10070ef0
add esp, 0x34
push 0
call fcn.100704f2
add esp, 4
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
call fcn.10009321
fild dword [ebp + 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x1008c297]
fstp qword [ebp - 0x1c]
mov dword [ebp - 0x20], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 1
fld qword [ebp - 0x1c]
call fcn.10001d9a
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001b5b2
push 0x253
push 0x40146ca
push 6
call fcn.100704da
add esp, 0xc
fild dword [ebp + 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x1008c297]
fstp qword [ebp - 0x1c]
push 0x80000301
push 0
push 1
fld qword [ebp - 0x1c]
call fcn.10001d9a
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x910
call fcn.10072990
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov eax, 0x1008c566
xor ecx, ecx
test eax, eax
je 0x1001b603
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x20]
xor ebx, ebx
test eax, eax
je 0x1001b614
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x1001b62b
dec eax
test ecx, ecx
je 0x1001b62b
call fcn.1001b31b
add esp, 0xc
test eax, eax
mov eax, 0
sete al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001b64b
push ebx
call fcn.100704d4
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x1001b6a4
mov ebx, 6
call fcn.1000106d
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x1008c56f
push 4
mov ebx, 0x300
call fcn.10070ef0
add esp, 0x34
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
call fcn.10009321
push 0
call fcn.100704f2
add esp, 4
mov dword [0x1012da73], 1
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001b6be
push ebx
call fcn.100704d4
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1001b6ce
push ebx
call fcn.100704d4
add esp, 4
mov esp, ebp
pop ebp
ret 4