Function at 0x100019bd
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x20
call fcn.10017671
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
mov ebx, dword [ebp - 4]
add ebx, 0x1c
mov dword [ebp - 8], ebx
push htons
push 0
push dword [ebp + 0x10]
push 1
mov ebx, 0x9dc
call fcn.10017fd0
add esp, 0x10
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x10001a34
push eax
mov ebx, eax
call fcn.10001596
inc eax
push eax
call fcn.10017671
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10001a47
push ebx
call fcn.10017677
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x10001a71
push eax
mov ebx, eax
call fcn.10001596
inc eax
push eax
call fcn.10017671
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10001a84
push ebx
call fcn.10017677
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.10001f1f
test eax, eax
je 0x10001ab6
mov eax, 0
jmp 0x10001e1c
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10001af3
push 0x111
push 0x4020801
push 6
call fcn.10017689
add esp, 0xc
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x10001b17
mov eax, 0
jmp 0x10001e1c
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esp
mov ebx, dword [ebp - 0x10]
push dword [ebx]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x10001b65
push 0x1ae
push 0x4020801
push 6
call fcn.10017689
add esp, 0xc
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x10001b89
mov eax, 0
jmp 0x10001e1c
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
push 0x40
push 8
mov ebx, dword [ebp - 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10001bd6
push 0x25d
push 0x4020801
push 6
call fcn.10017689
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10001bed
mov eax, 0
jmp 0x10001e1c
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0xc], ebx
push 0x80000301
push 0
push 8
push 0x80000301
push 0
mov ebx, dword [ebp - 0xc]
push dword [ebx]
push 2
mov ebx, 0x910
call fcn.100180b0
add esp, 0x1c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10001c42
push ebx
call fcn.10017677
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
add ebx, 0x1c
mov dword [ebp - 0xc], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0xc]
push dword [ebx]
push 1
mov ebx, 0x198
call fcn.100182a0
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0x10032311
push dword [ebp - 0x10]
push 0x1003231b
mov ecx, 3
call fcn.10001946
add esp, 0xc
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10001ca8
push ebx
call fcn.10017677
add esp, 4
mov ebx, dword [ebp - 4]
add ebx, 0x18
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x18]
push 8
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10001cc6
add eax, 8
push eax
mov ebx, dword [ebp - 8]
push dword [ebx]
push 0xffffffff
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x10001cf7
push 0x405
push 0x4020801
push 6
call fcn.10017689
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10001d0a
push ebx
call fcn.10017677
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x10001e12
push 0x10032d4c
push 4
mov eax, 2
call fcn.10017ad0
add esp, 8
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ebx, dword [0x10032d4c]
mov dword [ebp - 0xc], ebx
call fcn.1000199d
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp - 0xc]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x10001d5b
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x10]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0xc]
call fcn.1001767d
add esp, 8
mov dword [0x10032d4c], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x10]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 8]
push edi
push eax
push 0x20
call fcn.10017671
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x10001db5
push eax
mov ebx, eax
call fcn.10001596
inc eax
push eax
call fcn.10017671
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x10001dd4
push eax
mov ebx, eax
call fcn.10001596
inc eax
push eax
call fcn.10017671
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x10001df8
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.10017671
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
mov eax, 1
jmp 0x10001e1c
mov eax, 0
jmp 0x10001e1c
push eax
mov ebx, dword [ebp - 4]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10001e31
push ebx
call fcn.10017677
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10001e45
push ebx
call fcn.10017677
add esp, 4
pop ebx
add ebx, 0x10
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10001e59
push ebx
call fcn.10017677
add esp, 4
pop ebx
call fcn.10017677
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc