Function at 0x40bb50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440d68
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x44fb90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0040b8c0
test eax, eax
je 0x40bd7e
push 8
xor ebx, ebx
push str._iHealth
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00407c10
lea edx, [ebp - 0x48]
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0040e160
mov esi, eax
cmp dword [esi + 0x18], ebx
je 0x40bbd8
cmp dword [ebp - 0x34], 0x10
jb 0x40bbce
mov eax, dword [ebp - 0x48]
push eax
call fcn.00429183
add esp, 4
mov eax, 1
jmp 0x40bd7e
mov eax, 1
mov dword [esi], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], 2
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x34]
cmp eax, ebx
jne 0x40bc00
xor eax, eax
jmp 0x40bc17
mov ecx, dword [eax + 0x1c]
push 0x40
push 0x1000
push 0x1000
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x54], esp
mov dword [esi + 4], eax
push 0x6e
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.89_1D_00_04_42_24_83_3D_00_02_42_24_01_75_10_52_66_8B_93_66_13_00_00_66_89_93_64_13_00_00_5A_D9_43_30_D9_5E_40
mov byte [ecx], bl
call fcn.00407c10
sub esp, 0x1c
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x11
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.D9_43_30_D9_5E_40
mov byte [ecx], bl
call fcn.00407c10
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
mov byte [ebp - 4], 2
push 0x11
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.D9_43_30_D9_5E_40
mov byte [ecx], bl
call fcn.00407c10
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.004019f0
push 7
push str.iPlayer
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407c10
lea edx, [ebp - 0x2c]
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0040e160
mov eax, dword [eax + 4]
add eax, 0x200
add esi, 0x70
push eax
mov ecx, 0x24420200
call fcn.00401e00
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 0x10
jb 0x40bce1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00429183
add esp, 4
push 7
push str.iPlayer
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407c10
lea edx, [ebp - 0x2c]
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0040e160
mov eax, dword [eax + 4]
add eax, 0x400
push eax
mov ecx, 0x24420400
call fcn.00401e00
mov esi, 0x10
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], esi
jb 0x40bd37
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00429183
add esp, 4
push ebx
push ebx
push 0xffffffffffffffff
push ebx
push 1
push 1
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x48]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.004080b0
mov ecx, edi
call fcn.0040cd20
mov edi, eax
cmp dword [ebp - 0x34], esi
jb 0x40bd7c
mov eax, dword [ebp - 0x48]
push eax
call fcn.00429183
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042918e
mov esp, ebp
pop ebp
ret