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

Disassembly:
push 0xffffffffffffffff
push 0x571d85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov dword [esi], vtable.OJewel.0
mov dword [esp + 0x1c], 0x14
mov eax, dword [esi + 0xe8]
push 1
push eax
mov dword [esi + 0xe4], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov byte [esp + 0x1c], 0x13
mov ecx, dword [esi + 0xe0]
push 1
mov ebx, vtable.Xenesis2::Foundation::Memory::xEncryptData_int_.0
push ecx
mov dword [esi + 0xdc], ebx
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov byte [esp + 0x1c], 0x12
mov edx, dword [esi + 0xd8]
push 1
push edx
mov dword [esi + 0xd4], ebx
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov byte [esp + 0x1c], 0x11
mov ebp, dword [esi + 0xc4]
test ebp, ebp
je 0x489226
mov eax, dword [esi + 0xc8]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], eax
jbe 0x489217
nop
mov eax, dword [ebp + edi*4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48920e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jb 0x4891f0
mov eax, dword [esi + 0xc4]
push eax
call fcn.0055e6e4
add esp, 4
mov byte [esp + 0x1c], 0x10
mov ecx, dword [esi + 0xc0]
push 1
push ecx
mov dword [esi + 0xbc], ebx
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov byte [esp + 0x1c], 0xf
mov edx, dword [esi + 0xb8]
push 1
mov ebp, vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
push edx
mov dword [esi + 0xb4], ebp
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov byte [esp + 0x1c], 0xe
mov eax, dword [esi + 0xb0]
push 1
push eax
mov dword [esi + 0xac], ebx
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov byte [esp + 0x1c], 0xd
mov ecx, dword [esi + 0xa8]
push 1
push ecx
mov dword [esi + 0xa4], ebx
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov byte [esp + 0x1c], 0xc
mov edx, dword [esi + 0xa0]
push 1
push edx
mov dword [esi + 0x9c], ebx
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov byte [esp + 0x1c], 0xb
mov eax, dword [esi + 0x98]
push 1
push eax
mov dword [esi + 0x94], ebx
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov byte [esp + 0x1c], 0xa
mov ecx, dword [esi + 0x90]
push 1
push ecx
mov dword [esi + 0x8c], ebx
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov byte [esp + 0x1c], 9
mov edx, dword [esi + 0x88]
push 1
push edx
mov dword [esi + 0x84], ebx
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov byte [esp + 0x1c], 8
mov eax, dword [esi + 0x80]
push 1
push eax
mov dword [esi + 0x7c], ebp
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov byte [esp + 0x1c], 7
mov ecx, dword [esi + 0x78]
push 1
push ecx
mov dword [esi + 0x74], ebp
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov byte [esp + 0x1c], 6
mov edx, dword [esi + 0x70]
push 1
push edx
mov dword [esi + 0x6c], ebx
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov byte [esp + 0x1c], 5
mov eax, dword [esi + 0x68]
push 1
push eax
mov dword [esi + 0x64], ebx
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov byte [esp + 0x1c], 4
mov ecx, dword [esi + 0x5c]
push 1
push ecx
mov dword [esi + 0x58], ebx
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov byte [esp + 0x1c], 3
mov edx, dword [esi + 0x54]
push 1
push edx
mov dword [esi + 0x50], ebx
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov byte [esp + 0x1c], 2
mov eax, dword [esi + 0x4c]
push 1
push eax
mov dword [esi + 0x48], ebx
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov byte [esp + 0x1c], 1
mov ecx, dword [esi + 0x44]
push 1
push ecx
mov dword [esi + 0x40], ebx
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov byte [esp + 0x1c], 0
mov edx, dword [esi + 0x3c]
push 1
push edx
mov dword [esi + 0x38], ebx
call fcn.004cee70
mov edi, eax
call fcn.0040aeb0
mov dword [esp + 0x1c], 0xffffffff
mov ecx, esi
mov dword [esi], vtable.OObject.0
call fcn.0053bac0
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4