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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5384ab
push eax
mov dword fs:[0], esp
sub esp, 0x7c
lea eax, [esp + 0x54]
push edi
mov edi, ecx
mov ecx, 4
xor edx, edx
mov dword [eax - 8], edx
mov dword [eax - 4], edx
mov dword [eax], edx
add eax, 0xc
dec ecx
jne 0x489f84
push ebx
push ebp
lea eax, [esp + 0x24]
push esi
push eax
lea ecx, [esp + 0x60]
xor esi, esi
push edi
push ecx
mov word [esp + 0x38], si
mov word [esp + 0x36], si
mov word [esp + 0x34], si
mov word [esp + 0x3a], 0x10
call fcn.00453ee0
lea edx, [esp + 0x34]
lea eax, [esp + 0x74]
push edx
push edi
push eax
mov word [esp + 0x46], 0xd
call fcn.00453ee0
lea ecx, [esp + 0x40]
lea edx, [esp + 0x8c]
push ecx
push edi
push edx
mov word [esp + 0x52], 7
call fcn.00453ee0
lea eax, [esp + 0x4c]
lea ecx, [esp + 0xa4]
push eax
push edi
push ecx
mov word [esp + 0x5e], 0xa
call fcn.00453ee0
movsx eax, word [edi + 0x21e]
add esp, 0x30
lea ebx, [edi + 8]
shl eax, 0xc
push ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
call fcn.004e75c0
push ebx
lea ecx, [esp + 0x6c]
call fcn.004e75c0
push ebx
lea ecx, [esp + 0x78]
call fcn.004e75c0
push ebx
lea ecx, [esp + 0x84]
call fcn.004e75c0
lea edx, [esp + 0x3c]
lea eax, [edi + 0x164]
push edx
push eax
mov esi, 0x20
mov dword [esp + 0x1c], 0x40
mov dword [esp + 0x18], 0xffffffe0
mov dword [esp + 0x20], 0xffffffc0
call fcn.0046d3e0
lea eax, [esp + 0x44]
push eax
call fcn.0046d7b0
add esp, 0xc
lea ebp, [esp + 0x5c]
mov dword [esp + 0x1c], 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0xc
push ecx
mov ecx, ebp
call fcn.004e7650
push ebp
call fcn.0046d870
call fcn.0046da40
push ebp
call fcn.0046d790
mov eax, dword [ebp]
add esp, 8
cmp eax, esi
jle 0x48a0cb
mov esi, eax
jmp 0x48a0d5
cmp eax, dword [esp + 0x10]
jge 0x48a0d5
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jle 0x48a0e6
mov dword [esp + 0x14], eax
jmp 0x48a0f0
cmp eax, dword [esp + 0x18]
jge 0x48a0f0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
add ebp, 0xc
dec eax
mov dword [esp + 0x1c], eax
jne 0x48a098
lea edx, [esp + 0x20]
lea ecx, [esp + 0x30]
push edx
mov dword [esp + 0x24], 0xc
call fcn.004e7650
lea eax, [esp + 0x30]
push eax
call fcn.0046d870
call fcn.0046da40
lea ecx, [esp + 0x34]
push ecx
call fcn.0046d790
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x20]
xor edx, edx
push str.Bad_register_index
push 1
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
call fcn.004015b0
movsx ebp, word [edi + 0x222]
lea eax, [edi + 0x164]
push eax
shl ebp, 0xc
call fcn.0046d7b0
add esp, 0x14
lea esi, [esp + 0x5c]
mov dword [esp + 0x1c], 4
push esi
call fcn.0046d870
call fcn.0046da40
push esi
call fcn.0046d790
add esp, 8
lea edx, [esp + 0x24]
mov ecx, esi
mov dword [esp + 0x24], 0xc
push edx
call fcn.004e7680
mov eax, dword [ebx]
mov ecx, dword [esi]
add ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esi], ecx
mov ecx, dword [edi + 0x10]
mov dword [esi + 4], ebp
mov edx, dword [esi + 8]
add edx, ecx
mov dword [esi + 8], edx
add esi, 0xc
dec eax
mov dword [esp + 0x1c], eax
jne 0x48a1b1
mov eax, dword [edi + 0xc24]
pop esi
pop ebp
pop ebx
test eax, eax
jne 0x48a25d
push 0x84
call fcn.004088a0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x88], 0
je 0x48a233
mov ecx, eax
call fcn.00408fa0
jmp 0x48a235
xor eax, eax
push 0
push 0
mov ecx, eax
mov dword [esp + 0x90], 0xffffffff
mov dword [edi + 0xc24], eax
call fcn.004090e0
mov edx, dword [edi + 0xc24]
mov word [edx + 0x38], 0x20
mov ecx, dword [edi + 0xc24]
push 0x40
call fcn.004093e0
mov ecx, dword [edi + 0xc24]
call fcn.004093a0
lea eax, [esp + 0x74]
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x60]
push ecx
mov ecx, dword [edi + 0xc24]
lea eax, [esp + 0x58]
push edx
push eax
call fcn.004092c0
mov ecx, dword [esp + 0x80]
pop edi
mov dword fs:[0], ecx
add esp, 0x88
ret