Function at 0x40f2c3
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40f312
mov eax, 0x44d2b0
push eax
push 1
mov ebx, 0x130
call fcn.00427090
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push 0x40
push 0x1000
push dword [ebp - 0x20]
push 0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x40f366
push 0x66
push 0x4075f22
push 6
call fcn.00425319
add esp, 0xc
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40f37e
mov eax, 0x44d2b0
push eax
push 1
mov ebx, 0x130
call fcn.00427090
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push 0
push dword [ebp - 0x20]
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 4]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x40f3d0
push 0xbb
push 0x4075f22
push 6
call fcn.00425319
add esp, 0xc
mov eax, str.GetModuleHandleA
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.kernel32.dll
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040f961
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40f400
push ebx
call fcn.00425307
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f410
push ebx
call fcn.00425307
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x40f42b
mov eax, 0x44d2b0
push eax
push 1
mov ebx, 0x130
call fcn.00427090
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push 0x40
push 0x1000
push dword [ebp - 0x20]
push 0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x40f47f
push 0x1cf
push 0x4075f22
push 6
call fcn.00425319
add esp, 0xc
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x40f497
mov eax, 0x44d2b0
push eax
push 1
mov ebx, 0x130
call fcn.00427090
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push 0
push dword [ebp - 0x20]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push dword [ebp - 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x40f4e9
push 0x224
push 0x4075f22
push 6
call fcn.00425319
add esp, 0xc
mov eax, str.GetProcAddress
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.kernel32.dll
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040f961
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40f519
push ebx
call fcn.00425307
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f529
push ebx
call fcn.00425307
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], esp
push 0x40
push 0x1000
push 4
push 0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x40f56f
push 0x339
push 0x4075f22
push 6
call fcn.00425319
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0x44d885
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00401a66
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f59e
push ebx
call fcn.00425307
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x198
call fcn.00425ef0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 0x44d8e9
push dword [ebp - 0x18]
mov ecx, 3
call fcn.00401a66
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f5ec
push ebx
call fcn.00425307
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f600
push ebx
call fcn.00425307
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x198
call fcn.00425ef0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 0x44d8f2
push dword [ebp - 0x18]
mov ecx, 3
call fcn.00401a66
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f64e
push ebx
call fcn.00425307
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f662
push ebx
call fcn.00425307
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x44d8fb
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00401a66
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f692
push ebx
call fcn.00425307
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x198
call fcn.00425ef0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 0x44d8e9
push dword [ebp - 0x18]
mov ecx, 3
call fcn.00401a66
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f6e0
push ebx
call fcn.00425307
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f6f4
push ebx
call fcn.00425307
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x44d905
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00401a66
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f724
push ebx
call fcn.00425307
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x198
call fcn.00425ef0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 0x44d8f2
push dword [ebp - 0x18]
mov ecx, 3
call fcn.00401a66
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f772
push ebx
call fcn.00425307
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f786
push ebx
call fcn.00425307
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x44d8fb
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00401a66
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f7b6
push ebx
call fcn.00425307
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x198
call fcn.00425ef0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 0x44d8a1
push dword [ebp - 0x18]
mov ecx, 3
call fcn.00401a66
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f804
push ebx
call fcn.00425307
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f818
push ebx
call fcn.00425307
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x44d8aa
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00401a66
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f848
push ebx
call fcn.00425307
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x44d8b3
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00401a66
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f878
push ebx
call fcn.00425307
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.0040fa61
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.0040fd67
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push 0x8000
push 0
push dword [ebp - 0x14]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_VirtualFreeEx]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x40f8cf
push 0x837
push 0x4075f22
push 6
call fcn.00425319
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0x8000
push 0
push dword [ebp - 4]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_VirtualFreeEx]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x40f908
push 0x86a
push 0x4075f22
push 6
call fcn.00425319
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0x8000
push 0
push dword [ebp - 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_VirtualFreeEx]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x40f941
push 0x89d
push 0x4075f22
push 6
call fcn.00425319
add esp, 0xc
mov eax, dword [ebp - 0x1c]
jmp 0x40f949
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f95a
push ebx
call fcn.00425307
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc