Function at 0x40c850
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x462bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47c748]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
push 7
xor ebx, ebx
push str.iPlayer
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00403fd0
lea eax, [esp + 0x18]
lea ebp, [edi + 0xe4]
push eax
mov ecx, ebp
mov dword [esp + 0x5c], ebx
call fcn.00403520
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x30], 0x10
mov esi, eax
jb 0x40c8cf
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00418835
add esp, 4
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
cmp dword [esi + 0x10], ebx
mov eax, 1
jne 0x40cd55
push 0x22
push str.DB_87_18_01_00_00_D9___D9___8B
lea ecx, [esi + 0x40]
mov dword [esi + 0x20], 2
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
call fcn.00403fd0
push 0x11
push str.DB_87_18_01_00_00
lea ecx, [esi + 0x5c]
call fcn.00403fd0
mov edx, dword [edi + 0xe0]
push edx
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x40
push 0x1000
push 0x800
push ebx
push eax
mov dword [edi + 0xf0], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [esi + 4], eax
push 1
add eax, 0x100
push str.12345
lea ecx, [esp + 0x3c]
mov dword [edi + 0x104], eax
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00403fd0
mov dword [esp + 0x58], 1
mov eax, dword [esi + 4]
add eax, 0x104
mov dword [esp + 0x14], eax
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
call fcn.00403520
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x4c], 0x10
jb 0x40c9b5
mov edx, dword [esp + 0x38]
push edx
call fcn.00418835
add esp, 4
push 1
push 0x46b1ac
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00403fd0
mov dword [esp + 0x58], 2
mov eax, dword [esi + 4]
add eax, 0x108
mov dword [esp + 0x14], eax
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
call fcn.00403520
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x4c], 0x10
jb 0x40ca17
mov edx, dword [esp + 0x38]
push edx
call fcn.00418835
add esp, 4
push 1
push 0x46b1b0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00403fd0
mov dword [esp + 0x58], 3
mov eax, dword [esi + 4]
add eax, 0x10c
mov dword [esp + 0x14], eax
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
call fcn.00403520
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x4c], 0x10
jb 0x40ca79
mov edx, dword [esp + 0x38]
push edx
call fcn.00418835
add esp, 4
push 1
push 0x46b1b4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00403fd0
mov dword [esp + 0x58], 4
mov eax, dword [esi + 4]
add eax, 0x110
mov dword [esp + 0x14], eax
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
call fcn.00403520
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x4c], 0x10
jb 0x40cadb
mov edx, dword [esp + 0x38]
push edx
call fcn.00418835
add esp, 4
push 0x10b
add esi, 0x78
push str.50_89_3D_e_BASE_83_3D_e_HP_01_75_0A_C7_87_18_01_00_00_0F_27_00_00_83_3D_e_MP_01_75_0A_C7_87_A0_01_00_00_00_3C_1C_46_B8_00_00_FA_43_83_3D_e_SPEED_01_75_05_B8_00_40_9C_44_89_47_30_B8_00_80_93_44_83_3D_e_JMP_01_75_05_B8_00_40_1C_45_89_87_1C_01_00_00_58_DB_87_18_01_00_00
mov ecx, esi
call fcn.00403fd0
push 1
push str.12345
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00403fd0
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
mov dword [esp + 0x5c], 5
call fcn.00403520
mov ecx, dword [eax]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 4
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push str.e_HP
mov byte [ecx + 4], bl
call fcn.00403fd0
mov ecx, esi
call fcn.0040e890
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x4c], 0x10
jb 0x40cb6b
mov edx, dword [esp + 0x38]
push edx
call fcn.00418835
add esp, 4
push 1
push 0x46b1ac
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00403fd0
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
mov dword [esp + 0x5c], 6
call fcn.00403520
mov ecx, dword [eax]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 4
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push str.e_MP
mov byte [ecx + 4], bl
call fcn.00403fd0
mov ecx, esi
call fcn.0040e890
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x4c], 0x10
jb 0x40cbe7
mov edx, dword [esp + 0x38]
push edx
call fcn.00418835
add esp, 4
push 1
push 0x46b1b0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00403fd0
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
mov dword [esp + 0x5c], 7
call fcn.00403520
mov ecx, dword [eax]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 7
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push str.e_SPEED
mov byte [ecx + 4], bl
call fcn.00403fd0
mov ecx, esi
call fcn.0040e890
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x4c], 0x10
jb 0x40cc63
mov edx, dword [esp + 0x38]
push edx
call fcn.00418835
add esp, 4
push 1
push 0x46b1b4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00403fd0
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
mov dword [esp + 0x5c], 8
call fcn.00403520
mov ecx, dword [eax]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 5
mov ebp, 0xf
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.e_JMP
mov byte [ecx + 4], bl
call fcn.00403fd0
mov ecx, esi
call fcn.0040e890
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x4c], 0x10
jb 0x40cce0
mov edx, dword [esp + 0x38]
push edx
call fcn.00418835
add esp, 4
mov eax, dword [edi + 0x104]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.e_BASE
mov byte [ecx + 4], bl
call fcn.00403fd0
mov ecx, esi
call fcn.0040e890
push 0x40000
push ebx
push 1
push 1
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 7
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.iPlayer
mov esi, SysReAllocString
mov byte [ecx + 4], bl
call fcn.00403fd0
push edi
mov ecx, esi
call fcn.0040cfe0
mov esi, eax
cmp esi, ebx
je 0x40cd53
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret