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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
add esp, 0xffffff80
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
mov eax, dword [ecx]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [edx]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x5c], eax
xor eax, eax
test esi, esi
je 0xa9be1f
mov ebx, dword [ebp + 8]
mov edi, ecx
mov ebx, dword [ebx + 0x38]
mov eax, ebx
shl eax, 4
movzx ecx, byte [eax + 0x1254d28]
add eax, 0x1254d20
mov dword [esp + 0x3c], ebx
and ecx, 3
mov ebx, dword [edi + ecx*4]
test ebx, ebx
je 0xa9c025
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebx + ecx*4]
test ecx, ecx
je 0xa9c025
movzx ecx, byte [eax + 0xa]
and ecx, 3
mov esi, dword [edi + ecx*4]
test esi, esi
je 0xa9c025
mov ecx, dword [ebx + ecx*4]
test ecx, ecx
je 0xa9c025
movzx ecx, byte [eax + 0xc]
and ecx, 3
mov esi, dword [edi + ecx*4]
test esi, esi
je 0xa9c025
mov esi, dword [ebx + ecx*4]
test esi, esi
je 0xa9c025
movzx eax, byte [eax + 0xe]
and eax, 3
mov ecx, dword [edi + eax*4]
test ecx, ecx
je 0xa9c025
mov edi, dword [ebx + eax*4]
test edi, edi
je 0xa9c025
mov edi, dword [ebp + 8]
mov edi, dword [edi + 0x34]
mov eax, edi
shl eax, 4
add eax, 0x1254d20
mov dword [esp + 0x34], edi
movzx ecx, byte [eax + 8]
and ecx, 3
mov esi, dword [edx + ecx*4]
test esi, esi
je 0xa9c1d7
mov ebx, dword [ebp + 0x20]
mov edi, dword [ebx + ecx*4]
test edi, edi
je 0xa9c1d7
movzx ecx, byte [eax + 0xa]
and ecx, 3
mov esi, dword [edx + ecx*4]
test esi, esi
je 0xa9c1d7
mov edi, dword [ebx + ecx*4]
test edi, edi
je 0xa9c1d7
movzx ecx, byte [eax + 0xc]
and ecx, 3
mov esi, dword [edx + ecx*4]
test esi, esi
je 0xa9c1d7
mov ecx, dword [ebx + ecx*4]
test ecx, ecx
je 0xa9c1d7
movzx eax, byte [eax + 0xe]
and eax, 3
mov edx, dword [edx + eax*4]
test edx, edx
je 0xa9c1d7
mov edx, dword [ebp + 0x20]
mov ebx, dword [edx + eax*4]
test ebx, ebx
je 0xa9c1d7
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebx + 0x60]
test edx, edx
sete al
test ecx, ecx
je 0xa9bffe
test al, al
je 0xa9bc1e
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
add eax, dword [ebp + 0x18]
cmp eax, dword [edx + 0xc]
jne 0xa9c1a9
mov edi, dword [ebp + 8]
mov edx, 0xffffffff
mov dword [edi + 0x60], 0xffffffff
mov eax, dword [esp + 0x3c]
shl eax, 4
movzx ebx, byte [eax + 0x1254d27]
xor eax, eax
test bl, 2
jne 0xa9be58
cmp dword [esp + 0x3c], 0x42
je 0xa9be58
cmp edx, 1
je 0xa9c1f9
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov edi, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov eax, edx
neg eax
mov dword [esp + 0x70], eax
mov eax, edi
neg eax
mov dword [esp + 0x74], eax
mov eax, esi
neg eax
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], eax
neg eax
mov edi, dword [ecx]
mov dword [esp + 0x7c], eax
mov eax, edi
neg eax
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x30], eax
neg eax
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x2c], eax
neg eax
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x28], eax
neg eax
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x18]
sub eax, 1
imul edx, eax
add dword [esp + 0x40], edx
mov edx, ebx
and edx, 2
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x50]
mov edx, dword [ebp + 0x18]
je 0xa9c187
sar edx, cl
mov ecx, edx
sub ecx, 1
imul eax, dword [esp + 0x38]
mov edx, edi
add dword [esp + 0x4c], eax
mov eax, dword [ebp + 8]
imul ecx, esi
add dword [esp + 0x48], ecx
mov esi, dword [eax + 0x10]
lea eax, [esi - 1]
imul edx, eax
add dword [esp + 0x50], edx
mov edx, dword [ebp + 8]
imul eax, dword [esp + 0x28]
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [edx + 0x58]
mov edx, dword [esp + 0x30]
shl eax, 4
movzx eax, byte [eax + 0x1254d24]
sar esi, cl
lea ecx, [esi - 1]
imul edx, ecx
imul ecx, dword [esp + 0x2c]
add dword [esp + 0x54], edx
add dword [esp + 0x58], ecx
cmp al, 4
je 0xa9bd47
cmp al, 2
je 0xa9bd47
mov dword [esp + 0x4c], 0
cmp al, 1
jbe 0xa9bd50
and ebx, 0x10
jne 0xa9bd77
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
test eax, eax
jne 0xa9bd77
cmp dword [esp + 0x3c], 0x42
je 0xa9bd77
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x34]
shl eax, 4
movzx eax, byte [eax + 0x1254d24]
cmp al, 4
je 0xa9bd95
cmp al, 2
je 0xa9bd95
mov dword [esp + 0x5c], 0
cmp al, 1
mov eax, dword [esp + 0x34]
jbe 0xa9c1c8
shl eax, 4
movzx eax, byte [eax + 0x1254d27]
test al, 0x10
jne 0xa9bdd2
test al, 2
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
jne 0xa9bdd2
cmp dword [esp + 0x34], 0x42
je 0xa9bdd2
mov dword [esp + 0x54], 0
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0xa9bde3
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x60], 0
mov edi, dword [ebp + 0x18]
lea eax, [esp + 0x60]
mov edx, dword [ebp + 8]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov eax, dword [edx + 0xc]
sub eax, dword [ebp + 0x14]
mov dword [esp], edx
sub eax, edi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
call dword [edx + 4]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [esp + 0x34], 2
je 0xa9c080
shl esi, 8
mov edx, dword [ebp + 8]
add esi, ebx
shl ecx, 0x10
add esi, ecx
add esi, dword [esp + 0x38]
mov dword [edx + eax*4 + 0x478], esi
add eax, 1
cmp eax, 0x100
je 0xa9bfde
cmp dword [esp + 0x3c], 0xb
je 0xa9c047
cmp dword [esp + 0x3c], 0x16
je 0xa9c0c0
cmp dword [esp + 0x3c], 0x13
je 0xa9c0f6
cmp dword [esp + 0x3c], 0x18
je 0xa9c150
cmp dword [esp + 0x3c], 0x42
je 0xa9c130
cmp dword [esp + 0x3c], 8
je 0xa9c130
mov edx, eax
mov esi, eax
sar edx, 3
mov ebx, edx
shl ebx, 8
sar esi, 1
sub ebx, edx
and esi, 3
mov edx, eax
and edx, 1
imul esi, esi, 0x55
mov ecx, edx
shl ecx, 8
sub ecx, edx
mov dword [esp + 0x38], 0xff000000
mov dword [esp + 0x28], 0xff
lea esi, [esi]
imul edx, esi, 0x4087
imul edi, ecx, 0x20de
add edi, edx
imul edx, ebx, 0xc88
lea edi, [edi + edx + 0x84000]
sar edi, 0xf
test edi, 0xffffff00
mov edx, edi
je 0xa9beff
neg edi
mov edx, edi
sar edx, 0x1f
movzx edx, dl
imul edi, ecx, 0xffffecff
mov dword [esp + 0x30], edx
imul edx, esi, 0xffffdac8
add edi, edx
imul edx, ebx, 0x3838
lea edx, [edi + edx + 0x404000]
sar edx, 0xf
test edx, 0xffffff00
mov edi, edx
je 0xa9bf35
neg edx
mov edi, edx
sar edi, 0x1f
mov edx, edi
movzx edi, dl
mov dword [esp + 0x2c], edi
imul edx, esi, 0xffffd0e3
imul edi, ecx, 0x3838
add edi, edx
imul edx, ebx, 0xfffff6e4
lea edx, [edi + edx + 0x404000]
sar edx, 0xf
test edx, 0xffffff00
mov edi, edx
je 0xa9bf6d
neg edx
mov edi, edx
sar edi, 0x1f
mov edx, dword [esp + 0x2c]
and edi, 0xff
shl edi, 0x10
shl edx, 8
add edx, dword [esp + 0x30]
add edx, edi
mov edi, dword [ebp + 8]
add edx, dword [esp + 0x38]
cmp dword [esp + 0x34], 0x1b
mov dword [edi + eax*4 + 0x78], edx
je 0xa9c0a0
jle 0xa9be27
cmp dword [esp + 0x34], 0x1c
je 0xa9c080
cmp dword [esp + 0x34], 0x1d
jne 0xa9be32
shl ebx, 8
mov edi, dword [ebp + 8]
add ebx, dword [esp + 0x28]
shl esi, 0x10
shl ecx, 0x18
add ebx, esi
add ebx, ecx
mov dword [edi + eax*4 + 0x478], ebx
add eax, 1
cmp eax, 0x100
jne 0xa9be58
mov eax, dword [esp + 0x3c]
mov edi, dword [ebp + 8]
shl eax, 4
movzx ebx, byte [eax + 0x1254d27]
mov eax, dword [edi + 0x34]
mov edx, dword [edi + 0x60]
mov dword [esp + 0x34], eax
jmp 0xa9bc42
test al, al
je 0xa9bc1e
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0xa9bc0f
mov ebx, dword [ebp + 8]
mov edx, 1
mov dword [ebx + 0x60], 1
jmp 0xa9bc1e
mov eax, dword [ebp + 8]
mov dword [esp + 8], str.bad_src_image_pointers_n
mov dword [esp + 4], 0x10
mov dword [esp], eax
call fcn.00acfa00
xor eax, eax
jmp 0xa9be1f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov ebx, dword [edx + eax*4]
mov edi, ebx
mov ecx, ebx
shr edi, 0x18
movzx esi, bh
mov dword [esp + 0x28], edi
sar ecx, 0x10
and ebx, 0xff
shl edi, 0x18
and ecx, 0xff
mov dword [esp + 0x38], edi
jmp 0xa9bed0
shl esi, 8
mov edx, dword [ebp + 8]
add esi, ecx
shl ebx, 0x10
add esi, ebx
add esi, dword [esp + 0x38]
mov dword [edx + eax*4 + 0x478], esi
jmp 0xa9be4a
shl ecx, 8
add ecx, dword [esp + 0x28]
shl esi, 0x10
shl ebx, 0x18
add ecx, esi
add ecx, ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + eax*4 + 0x478], ecx
jmp 0xa9be4a
mov edx, eax
mov ebx, eax
sar edx, 5
and ebx, 3
lea ecx, [edx + edx*8]
mov edx, eax
sar edx, 2
and edx, 7
lea esi, [edx + edx*8]
shl ecx, 2
shl esi, 2
imul ebx, ebx, 0x55
mov dword [esp + 0x38], 0xff000000
mov dword [esp + 0x28], 0xff
jmp 0xa9bed0
mov edx, eax
mov ebx, eax
sar edx, 3
and edx, 7
lea esi, [edx + edx*8]
mov edx, eax
and edx, 7
sar ebx, 6
lea ecx, [edx + edx*8]
imul ebx, ebx, 0x55
shl esi, 2
shl ecx, 2
mov dword [esp + 0x38], 0xff000000
mov dword [esp + 0x28], 0xff
jmp 0xa9bed0
mov ebx, eax
mov esi, eax
mov ecx, eax
mov dword [esp + 0x38], 0xff000000
mov dword [esp + 0x28], 0xff
jmp 0xa9bed0
mov edx, eax
mov esi, eax
sar edx, 3
mov ecx, edx
shl ecx, 8
sub ecx, edx
mov edx, eax
and edx, 1
sar esi, 1
mov ebx, edx
and esi, 3
shl ebx, 8
imul esi, esi, 0x55
sub ebx, edx
mov dword [esp + 0x38], 0xff000000
mov dword [esp + 0x28], 0xff
jmp 0xa9bed0
sar edx, cl
mov ecx, edx
sub ecx, 1
cmp dword [esp + 0x3c], 0x42
je 0xa9bcdf
mov edx, dword [esp + 0x24]
imul edx, ecx
add dword [esp + 0x44], edx
jmp 0xa9bcdf
mov dword [esp + 8], str.Slices_start_in_the_middle__n
mov dword [esp + 4], 0x10
mov dword [esp], edx
call fcn.00acfa00
xor eax, eax
jmp 0xa9be1f
shl eax, 4
movzx eax, byte [eax + 0x1254d27]
jmp 0xa9bdaf
mov edi, dword [ebp + 8]
mov dword [esp + 8], str.bad_dst_image_pointers_n
mov dword [esp + 4], 0x10
mov dword [esp], edi
call fcn.00acfa00
xor eax, eax
jmp 0xa9be1f
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x20]
mov eax, dword [edx]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x64], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x68], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x3c]
shl eax, 4
movzx eax, byte [eax + 0x1254d24]
cmp al, 4
je 0xa9c253
cmp al, 2
je 0xa9c253
mov dword [esp + 0x4c], 0
cmp al, 1
jbe 0xa9c25c
test bl, 0x10
jne 0xa9c280
and ebx, 2
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
jne 0xa9c280
cmp dword [esp + 0x3c], 0x42
je 0xa9c280
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x34]
shl eax, 4
movzx eax, byte [eax + 0x1254d24]
cmp al, 4
je 0xa9c29e
cmp al, 2
je 0xa9c29e
mov dword [esp + 0x5c], 0
cmp al, 1
mov eax, dword [esp + 0x34]
jbe 0xa9c32c
shl eax, 4
movzx eax, byte [eax + 0x1254d27]
test al, 0x10
jne 0xa9c2db
test al, 2
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
jne 0xa9c2db
cmp dword [esp + 0x34], 0x42
je 0xa9c2db
mov dword [esp + 0x54], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
add eax, dword [ebp + 0x18]
cmp eax, dword [ebx + 0xc]
jne 0xa9c2f0
mov dword [ebx + 0x60], 0
lea eax, [esp + 0x70]
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x50]
mov edx, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp], edx
mov dword [esp + 0xc], eax
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
call dword [edx + 4]
jmp 0xa9be1f
shl eax, 4
movzx eax, byte [eax + 0x1254d27]
jmp 0xa9c2b8