Function at 0x4d9c20
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526618
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x55b598]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
movzx eax, byte [0x53524c]
push eax
push edi
lea eax, [ebp - 0x9c]
push fcn.004d6bf0
push eax
call fcn.00416a50
add esp, 0x10
lea ecx, [ebp - 0x50]
push eax
call fcn.004d3810
push str.OnSetPos
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x94], 1
call fcn.00401a60
push 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x30]
call fcn.0040e150
mov ecx, eax
call fcn.00410810
lea ecx, [ebp - 0xac]
call fcn.0044df30
lea ecx, [ebp - 0x28]
call fcn.00401c10
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.0040d1c0
movzx eax, byte [0x53524c]
push eax
push edi
lea eax, [ebp - 0x9c]
push fcn.004d6b90
push eax
call fcn.00416a50
add esp, 0x10
lea ecx, [ebp - 0x50]
push eax
call fcn.004d3810
push str.OnSetFreezeState
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 2
mov dword [ebp - 0x94], 1
call fcn.00401a60
push 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x30]
call fcn.0040e150
mov ecx, eax
call fcn.00410810
lea ecx, [ebp - 0xac]
call fcn.0044df30
lea ecx, [ebp - 0x28]
call fcn.00401c10
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.0040d1c0
movzx eax, byte [0x53524c]
push eax
push edi
lea eax, [ebp - 0x9c]
push 0x4d6500
push eax
call fcn.00416a50
add esp, 0x10
lea ecx, [ebp - 0x50]
push eax
call fcn.004d3810
push str.OnPlayPositioned
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 4
mov dword [ebp - 0x94], 1
call fcn.00401a60
push 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x30]
call fcn.0040e150
mov ecx, eax
call fcn.00410810
lea ecx, [ebp - 0xac]
call fcn.0044df30
lea ecx, [ebp - 0x28]
call fcn.00401c10
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.0040d1c0
movzx eax, byte [0x53524c]
push eax
push edi
lea eax, [ebp - 0x9c]
push fcn.004d6400
push eax
call fcn.00416a50
add esp, 0x10
lea ecx, [ebp - 0x50]
push eax
call fcn.004d3810
push str.OnKilled
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 6
mov dword [ebp - 0x94], 1
call fcn.00401a60
push 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x30]
call fcn.0040e150
mov ecx, eax
call fcn.00410810
lea ecx, [ebp - 0xac]
call fcn.0044df30
lea ecx, [ebp - 0x28]
call fcn.00401c10
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.0040d1c0
movzx eax, byte [0x53524c]
push eax
push edi
push 0x4d69a0
lea eax, [ebp - 0x9c]
push eax
call fcn.00416a50
add esp, 0x10
lea ecx, [ebp - 0x50]
push eax
call fcn.004d3810
push str.OnSetClothing
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 8
mov dword [ebp - 0x94], 1
call fcn.00401a60
push 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x30]
call fcn.0040e150
mov ecx, eax
call fcn.00410810
lea ecx, [ebp - 0xac]
call fcn.0044df30
lea ecx, [ebp - 0x28]
call fcn.00401c10
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.0040d1c0
movzx eax, byte [0x53524c]
push eax
push edi
lea eax, [ebp - 0x9c]
push 0x4d6450
push eax
call fcn.00416a50
add esp, 0x10
lea ecx, [ebp - 0x50]
push eax
call fcn.004d3810
push str.OnNameChanged
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x94], 1
call fcn.00401a60
push 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x30]
call fcn.0040e150
mov ecx, eax
call fcn.00410810
lea ecx, [ebp - 0xac]
call fcn.0044df30
lea ecx, [ebp - 0x28]
call fcn.00401c10
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.0040d1c0
movzx eax, byte [0x53524c]
push eax
push edi
lea eax, [ebp - 0x9c]
push 0x4d6040
push eax
call fcn.00416a50
add esp, 0x10
push eax
lea ecx, [ebp - 0x50]
call fcn.004d3810
push str.OnChangeSkin
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x94], 1
call fcn.00401a60
push 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x30]
call fcn.0040e150
mov ecx, eax
call fcn.00410810
lea ecx, [ebp - 0xac]
call fcn.0044df30
lea ecx, [ebp - 0x28]
call fcn.00401c10
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.0040d1c0
movzx eax, byte [0x53524c]
push eax
push edi
lea eax, [ebp - 0x9c]
push 0x4d5c30
push eax
call fcn.00416a50
add esp, 0x10
lea ecx, [ebp - 0x50]
push eax
call fcn.004d3810
push str.OnAction
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x94], 1
call fcn.00401a60
push 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x30]
call fcn.0040e150
mov ecx, eax
call fcn.00410810
lea ecx, [ebp - 0xac]
call fcn.0044df30
lea ecx, [ebp - 0x28]
call fcn.00401c10
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.0040d1c0
movzx eax, byte [0x53524c]
push eax
push edi
lea eax, [ebp - 0x9c]
push 0x4d62f0
push eax
call fcn.00416a50
add esp, 0x10
lea ecx, [ebp - 0x50]
push eax
call fcn.004d3810
push str.OnInvis
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x10
mov dword [ebp - 0x94], 1
call fcn.00401a60
push 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x30]
call fcn.0040e150
mov ecx, eax
call fcn.00410810
lea ecx, [ebp - 0xac]
call fcn.0044df30
lea ecx, [ebp - 0x28]
call fcn.00401c10
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.0040d1c0
movzx eax, byte [0x53524c]
push eax
push edi
lea eax, [ebp - 0x9c]
push 0x4d60e0
push eax
call fcn.00416a50
add esp, 0x10
lea ecx, [ebp - 0x50]
push eax
call fcn.004d3810
push str.OnDataConfig
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x94], 1
call fcn.00401a60
push 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x30]
call fcn.0040e150
mov ecx, eax
call fcn.00410810
lea ecx, [ebp - 0xac]
call fcn.0044df30
lea ecx, [ebp - 0x28]
call fcn.00401c10
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.0040d1c0
movzx eax, byte [0x53524c]
push eax
push edi
lea eax, [ebp - 0x9c]
push 0x4d98b0
push eax
call fcn.00416a50
add esp, 0x10
lea ecx, [ebp - 0x50]
push eax
call fcn.004d3810
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x94], 1
push str.SetRespawnPos
lea ecx, [ebp - 0x28]
call fcn.00401a60
push 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x30]
call fcn.0040e150
mov ecx, eax
call fcn.00410810
lea ecx, [ebp - 0xac]
call fcn.0044df30
lea ecx, [ebp - 0x28]
call fcn.00401c10
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.0040d1c0
movzx eax, byte [0x53524c]
push eax
push edi
lea eax, [ebp - 0x9c]
push 0x4d6180
push eax
call fcn.00416a50
add esp, 0x10
lea ecx, [ebp - 0x50]
push eax
call fcn.004d3810
push str.OnFactionDataChanged
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x16
mov dword [ebp - 0x94], 1
call fcn.00401a60
push 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x30]
call fcn.0040e150
mov ecx, eax
call fcn.00410810
lea ecx, [ebp - 0xac]
call fcn.0044df30
lea ecx, [ebp - 0x28]
call fcn.00401c10
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.0040d1c0
movzx eax, byte [0x53524c]
push eax
push edi
lea eax, [ebp - 0xb4]
push 0x4d72c0
push eax
call fcn.00416a50
add esp, 0x10
lea ecx, [ebp - 0x90]
push eax
call fcn.004d3810
push str.OnTransmutateLinkDataModified
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x18
mov dword [ebp - 0x94], 1
call fcn.00401a60
push 0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [edi + 0x30]
call fcn.0040e150
mov ecx, eax
call fcn.00410810
lea ecx, [ebp - 0xc4]
call fcn.0044df30
lea ecx, [ebp - 0x68]
call fcn.00401c10
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 0xffffffff
call fcn.0040d1c0
push edi
lea ecx, [edi + 0x290]
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov byte [edi + 0xec], 1
mov byte [edi + 0xfa], 1
call fcn.00462460
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ee2fb
mov esp, ebp
pop ebp
ret