Function at 0x415aa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e9cb
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4634b0]
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.004157d0
test al, al
je 0x415e01
push 8
push str._iHealth
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
call fcn.0040ba70
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.00418550
mov esi, eax
cmp byte [esi + 0x2c], 0
je 0x415b25
mov bl, 1
jmp 0x415deb
push 0x8f
push str.83_7D_0C_00_7D_27_3B_35_00_04_C1_01_75_0F_83_3D_00_02_C1_01_01_75_16_83_65_0C_00_EB_10_83_3D_04_02_14_02_01_75_07_C7_45_0C_81_69_67_FF_8B_86_HP
lea ecx, [ebp - 0x70]
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 2
mov word [esi + 0x30], 0x100
mov byte [esi + 0x2d], 1
mov byte [esi + 0x2f], 1
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.0040ba70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push 8
push str.8B_86_HP
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.0040ba70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
push 0x11
push str.8B_86_HP_03_45_0C
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.0040ba70
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x58]
mov dword [esi], 0
cmp ecx, eax
je 0x415bd3
push 0xffffffffffffffff
push 0
push eax
call fcn.0040b680
lea ecx, [esi + 0x4c]
lea eax, [ebp - 0x40]
cmp ecx, eax
je 0x415be7
push 0xffffffffffffffff
push 0
push eax
call fcn.0040b680
lea ebx, [esi + 0x64]
lea eax, [ebp - 0x70]
cmp ebx, eax
je 0x415bfd
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.0040b680
cmp dword [ebp - 0x44], 0x10
jb 0x415c0e
push dword [ebp - 0x58]
call fcn.00434302
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jb 0x415c31
push dword [ebp - 0x40]
call fcn.00434302
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x415c58
push dword [ebp - 0x70]
call fcn.00434302
add esp, 4
push ecx
push str.PlayerController2D
push 0x45adf8
mov ecx, esi
call fcn.0040cd40
mov ecx, dword [0x468c60]
push str.CreatureBase:UpdateHp
call fcn.004028e0
test eax, eax
je 0x415c8f
push eax
mov dword [esi + 0x10], eax
call fcn.00402bc0
mov ecx, dword [esi + 0x10]
add ecx, eax
mov dword [esi + 0x14], ecx
mov eax, dword [edi + 0x6c]
push 0x40
push 0x3000
push 0x800
push 0
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push eax
push ecx
push 0x2140000
push ebx
mov dword [esi + 0xc], eax
call fcn.0040d2b0
push 7
push str.iPlayer
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0040ba70
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
mov ecx, edi
call fcn.004184a0
mov eax, dword [eax + 0xc]
add eax, 0x200
push eax
push 0x1c10200
push ebx
call fcn.0040d480
mov byte [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
jb 0x415d12
push dword [ebp - 0x28]
call fcn.00434302
add esp, 4
push 7
push str.iPlayer
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0040ba70
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.004184a0
mov eax, dword [eax + 0xc]
add eax, 0x400
push eax
push 0x1c10400
push ebx
call fcn.0040d480
mov byte [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
jb 0x415d6b
push dword [ebp - 0x28]
call fcn.00434302
add esp, 4
push 1
push 0x45aef8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0040ba70
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
mov esi, dword [esi + 0xc]
mov ecx, edi
push eax
add esi, 0x204
call fcn.004184a0
mov byte [ebp - 4], 0
mov dword [eax + 8], esi
mov dword [eax + 0x1c], 1
mov dword [eax + 0x20], 0
mov byte [eax + 0x30], 1
mov byte [eax + 0x2e], 0
mov dword [eax], 2
cmp dword [ebp - 0x14], 0x10
jb 0x415dd8
push dword [ebp - 0x28]
call fcn.00434302
add esp, 4
sub esp, 0x18
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.00416990
mov bl, al
cmp dword [ebp - 0x74], 0x10
jb 0x415dff
push dword [ebp - 0x88]
call fcn.00434302
add esp, 4
mov al, bl
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.00434307
mov esp, ebp
pop ebp
ret