Function at 0x1001b290
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 [0x113efbc0], 0
je 0x1001b2c0
jmp 0x1001b577
mov eax, 0x10084502
test eax, eax
je 0x1001b2dc
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1006841c
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 0x1001b2ed
push ebx
call fcn.10068422
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 0x1001b32b
push 0xe2
push 0x4013eb2
push 6
call fcn.10068410
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.1001b59d
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1001b361
push ebx
call fcn.10068422
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push 0x10084518
mov ecx, 2
call fcn.100020d3
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 0x1001b396
mov eax, 0x10081277
push eax
push getsockname
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1001b3aa
mov eax, 0x10081277
push eax
push 3
mov ebx, 0x1ac
call fcn.1006aa70
add esp, 0x28
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1001b3d0
push ebx
call fcn.10068422
add esp, 4
cmp dword [ebp - 0x14], 0xffffffff
je 0x1001b429
mov ebx, 6
call fcn.10002c82
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x10084523
push 4
mov ebx, 0x300
call fcn.10069110
add esp, 0x34
push 0
call fcn.1006843a
add esp, 4
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
call fcn.100091ea
fild dword [ebp + 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x10084273]
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.10001bbe
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001b47b
push 0x253
push 0x4013eb2
push 6
call fcn.10068410
add esp, 0xc
fild dword [ebp + 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x10084273]
fstp qword [ebp - 0x1c]
push 0x80000301
push 0
push 1
fld qword [ebp - 0x1c]
call fcn.10001bbe
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x910
call fcn.1006a780
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov eax, 0x10084542
xor ecx, ecx
test eax, eax
je 0x1001b4cc
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x20]
xor ebx, ebx
test eax, eax
je 0x1001b4dd
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x1001b4f4
dec eax
test ecx, ecx
je 0x1001b4f4
call fcn.1001b1e4
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 0x1001b514
push ebx
call fcn.10068422
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x1001b56d
mov ebx, 6
call fcn.10002c82
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x1008454b
push 4
mov ebx, 0x300
call fcn.10069110
add esp, 0x34
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
call fcn.100091ea
push 0
call fcn.1006843a
add esp, 4
mov dword [0x113efbc0], 1
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001b587
push ebx
call fcn.10068422
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1001b597
push ebx
call fcn.10068422
add esp, 4
mov esp, ebp
pop ebp
ret 4