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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00564170
mov ebp, eax
mov dword [esp], eax
call fcn.004968c0
mov dword [esp], eax
call fcn.0055db80
mov edx, dword [eax + 0x14]
mov esi, eax
movzx eax, byte [edx]
cmp al, 2
je 0x5644e1
mov edx, dword [esp + 0x74]
test edx, edx
jle 0x5644d7
xor ebx, ebx
cmp al, 2
je 0x5644b4
jmp 0x5646ba
mov eax, dword [esi + 0x14]
cmp byte [eax], 2
jne 0x5646ba
mov eax, dword [edi + ebx*4]
add ebx, 1
call fcn.00556c10
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004a7750
cmp ebx, dword [esp + 0x74]
mov ebp, eax
jne 0x5644a8
add esp, 0x5c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 8]
shr edx, 4
test edx, edx
je 0x564495
mov dword [esp], ebp
call fcn.004968c0
mov dword [esp], eax
call fcn.0055db80
mov ebx, eax
mov eax, dword [esp + 0x74]
test eax, eax
jle 0x5646ca
mov eax, dword [ebx + 0x14]
cmp byte [eax], 2
jne 0x5646d2
mov eax, dword [eax + 0x18]
test dword [eax + 8], 0xfffffff0
je 0x5646d2
mov dword [esp + 0x38], 0
xor esi, esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], edi
jmp 0x5645c1
cmp eax, edi
jae 0x56460a
mov dword [esp + 4], eax
mov dword [esp + 0x2c], eax
mov dword [esp], str.packed_array_index__ld_out_of_bounds
mov dword [esp + 0x28], edx
call fcn.00557510
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
mov ebx, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x18]
mov edi, dword [ecx + 8]
shr edi, 4
sub eax, dword [esp + 0x30]
add esi, 1
imul eax, edi
add dword [esp + 0x38], eax
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call fcn.0055db80
cmp esi, dword [esp + 0x74]
mov ebx, eax
je 0x56465e
mov eax, dword [ebx + 0x14]
cmp byte [eax], 2
jne 0x5646d2
mov eax, dword [eax + 0x18]
test dword [eax + 8], 0xfffffff0
je 0x5646d2
lea edx, [esp + 0x48]
lea edi, [esp + 0x40]
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call fcn.004f9b60
test eax, eax
js 0x564630
mov edi, dword [esp + 0x24]
mov eax, dword [edi + esi*4]
call fcn.00556c10
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], edi
cmp edx, ebp
jl 0x564548
jle 0x564540
cmp edx, dword [esp + 0x4c]
jl 0x564574
jg 0x564548
cmp eax, dword [esp + 0x48]
nop
jbe 0x564574
jmp 0x564548
mov dword [esp], str.dont_know_bounds_of_array
call fcn.00557510
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
jmp 0x5645e0
mov eax, dword [esp + 0x38]
mov ecx, edi
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
add esi, 7
test eax, eax
mov eax, dword [esp + 0x38]
cmovns esi, dword [esp + 0x38]
sar edx, 0x1f
shr edx, 0x1d
add eax, edx
and eax, 7
sar esi, 3
sub eax, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 8], esi
mov dword [esp], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
call fcn.0055e390
add esp, 0x5c
pop ebx
pop esi
pop edi
mov ebp, eax
mov eax, ebp
pop ebp
ret
mov dword [esp + 4], ebx
mov dword [esp], str.too_many_subscripts___d_expected_
call fcn.0059a2d0
xor eax, eax
xor esi, esi
xor ecx, ecx
jmp 0x56468e
mov dword [esp], str.attempt_to_do_packed_indexing_of_something_other_than_a_packed_array
call fcn.0059a2d0
nop