Function at 0x1001b234
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 [0x100b9df8], 0
je 0x1001b264
jmp 0x1001b51b
mov eax, 0x10085502
test eax, eax
je 0x1001b280
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.10069538
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 0x1001b291
push ebx
call fcn.1006953e
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 0x1001b2cf
push 0xe2
push 0x4014194
push 6
call fcn.10069544
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.1001b541
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1001b305
push ebx
call fcn.1006953e
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push 0x10085518
mov ecx, 2
call fcn.10002077
add esp, 8
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push getsockname
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1001b33a
mov eax, 0x10082277
push eax
push getsockname
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1001b34e
mov eax, 0x10082277
push eax
push 3
mov ebx, 0x1ac
call fcn.1006bb90
add esp, 0x28
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1001b374
push ebx
call fcn.1006953e
add esp, 4
cmp dword [ebp - 0x14], 0xffffffff
je 0x1001b3cd
mov ebx, 6
call fcn.10002c26
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x10085523
push 4
mov ebx, 0x300
call fcn.1006a230
add esp, 0x34
push 0
call fcn.1006955c
add esp, 4
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
call fcn.1000918e
fild dword [ebp + 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x10085273]
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.10001b62
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001b41f
push 0x253
push 0x4014194
push 6
call fcn.10069544
add esp, 0xc
fild dword [ebp + 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x10085273]
fstp qword [ebp - 0x1c]
push 0x80000301
push 0
push 1
fld qword [ebp - 0x1c]
call fcn.10001b62
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x910
call fcn.1006b8a0
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov eax, 0x10085542
xor ecx, ecx
test eax, eax
je 0x1001b470
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x20]
xor ebx, ebx
test eax, eax
je 0x1001b481
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x1001b498
dec eax
test ecx, ecx
je 0x1001b498
call fcn.1001b188
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 0x1001b4b8
push ebx
call fcn.1006953e
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x1001b511
mov ebx, 6
call fcn.10002c26
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x1008554b
push 4
mov ebx, 0x300
call fcn.1006a230
add esp, 0x34
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
call fcn.1000918e
push 0
call fcn.1006955c
add esp, 4
mov dword [0x100b9df8], 1
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001b52b
push ebx
call fcn.1006953e
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1001b53b
push ebx
call fcn.1006953e
add esp, 4
mov esp, ebp
pop ebp
ret 4