Function at 0x4a2b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d2328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
push ebx
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x6c], ebx
call fcn.0045ee60
push eax
lea ecx, [esp + 0x20]
call fcn.00419d90
xor edi, edi
mov edx, dword [esp + 0x70]
mov ecx, dword [edx + 0x24]
cmp ecx, ebx
mov dword [esp + 0x14], edi
je 0x4a2ead
mov eax, dword [edx + 0x28]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x4a2ead
mov eax, ecx
lea eax, [eax + edi*4]
mov edi, dword [eax]
cmp dword [edi], ebx
je 0x4a2b96
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x4a2b96
mov eax, dword [esp + 0x24]
sub eax, ecx
sar eax, 3
cmp eax, ebx
je 0x4a2b96
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004a2680
mov eax, dword [edi]
cmp eax, 7
ja case.default.0x4a2ba1
jmp dword [eax*4 + 0x4a2ef8]
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x4a2bb6
mov ecx, dword [esp + 0x20]
add dword [ecx + 4], eax
mov edx, dword [esi + 0x1f4]
lea eax, [esp + 0x1c]
push eax
xor eax, eax
mov ax, word [edi + 8]
lea ecx, [esi + 0x1f4]
push eax
xor eax, eax
mov ax, word [edi + 4]
push eax
call dword [edx + 0x30]
test al, al
jne case.0x4a2ba1.6
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4a2bf1
push eax
call fcn.004be8db
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0x14
xor ecx, ecx
mov cx, word [edi + 4]
push ecx
mov ecx, dword [0x53d974]
call fcn.0041a100
mov ebp, eax
cmp ebp, ebx
je 0x4a2e20
mov edx, dword [ebp + 4]
mov eax, dword [edx + 0x20]
and eax, 8
cmp al, 8
jne 0x4a2c3a
mov cl, byte [edi + 8]
mov byte [ebp + 0x15], cl
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov word [esp + 0x4c], bx
mov byte [esp + 0x54], bl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], ebx
mov edx, dword [ebp + 4]
mov eax, dword [edx + 0x20]
and eax, 8
cmp al, 8
jne 0x4a2c85
mov cl, byte [ebp + 0x15]
mov byte [esp + 0x10], cl
jmp 0x4a2c8a
mov byte [esp + 0x10], 1
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x190]
push 1
push edi
push ebx
push eax
push eax
lea edx, [esp + 0x40]
push edx
lea eax, [esi + 4]
push eax
push ebp
call fcn.00416c50
mov eax, dword [esi + 0x5e0]
cmp eax, ebx
je case.0x4a2ba1.6
mov edx, dword [esp + 0x40]
xor ecx, ecx
mov cx, word [ebp + 0x10]
push ebx
push edi
add eax, 0x40
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esi + 0x20]
push ecx
push edx
push eax
call fcn.0047ed90
mov edi, dword [esp + 0x30]
add esp, 0x1c
inc edi
jmp 0x4a2b47
fld dword [esp + 0x7c]
call fcn.004c0ecc
fld dword [esp + 0x78]
push eax
call fcn.004c0ecc
fld dword [esp + 0x78]
push eax
call fcn.004c0ecc
push eax
push ebx
call fcn.004389d0
mov ecx, eax
call fcn.00433570
cmp eax, ebx
je 0x4a2d3f
mov edx, dword [esi + 0x20]
xor ecx, ecx
mov cl, byte [edi + 8]
push ebx
push ecx
mov ecx, dword [edi + 4]
push ecx
push edx
push edx
push ebx
lea edx, [esp + 0x8c]
push edx
push ebx
mov ecx, eax
call fcn.00416c50
cmp al, 1
je case.0x4a2ba1.6
fld dword [esp + 0x7c]
mov eax, dword [esi + 0x20]
sub esp, 0x18
fstp qword [esp + 0x10]
fld dword [esp + 0x90]
fstp qword [esp + 8]
fld dword [esp + 0x8c]
fstp qword [esp]
push eax
push 0x4f74c0
push 0x167
push 0x4f7330
push str.CCharacter::ExecuteEvent
push 5
push 0x50ef58
call fcn.00408780
mov eax, dword [esp + 0x54]
add esp, 0x34
cmp eax, ebx
je 0x4a2d97
push eax
call fcn.004be8db
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0x14
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
mov ecx, esi
call fcn.004a2410
mov edi, dword [esp + 0x14]
inc edi
jmp 0x4a2b47
movzx eax, byte [esp + 0x6c]
mov edi, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov cl, byte [esi + edx*4 + 0x3ea]
lea eax, [esi + edx*4 + 0x3ea]
inc cl
mov byte [eax], cl
inc edi
jmp 0x4a2b47
push eax
mov eax, dword [esi + 0x20]
push eax
push str.CID:0x_08x_x
push 0x184
push 0x4f7330
push str.CCharacter::ExecuteEvent
push 5
push 0x50ef58
call fcn.00408780
add esp, 0x20
mov edi, dword [esp + 0x14]
inc edi
jmp 0x4a2b47
mov ecx, dword [edi + 4]
mov edx, dword [esi + 0x20]
push ecx
push edx
push 0x4f7408
push 0x138
push 0x4f7330
push str.CCharacter::ExecuteEvent
push 5
push 0x50ef58
call fcn.00408780
mov eax, dword [esp + 0x40]
add esp, 0x20
cmp eax, ebx
je 0x4a2e5c
push eax
call fcn.004be8db
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0x14
mov ecx, dword [esp + 0x6c]
push ecx
mov ecx, esi
call fcn.004a2500
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4a2e93
push eax
call fcn.004be8db
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0x14
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x4a2edf
mov eax, dword [esp + 0x24]
sub eax, ecx
sar eax, 3
cmp eax, ebx
je 0x4a2ece
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004a2680
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4a2edf
push eax
call fcn.004be8db
add esp, 4
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0x14