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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x84
mov eax, dword [esp + 0x98]
mov ebx, dword [esp + 0x98]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebx]
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
sub edx, 1
mov dword [esp + 0x14], edx
mov ebp, esi
sub ebp, 1
lea eax, [edx + eax - 5]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x10]
mov ebx, dword [esp + 0x10]
mov dword [esp], esi
mov esi, dword [esp + 0x10]
mov edx, eax
sub edx, dword [esp + 0x9c]
mov ebx, dword [ebx + 0x2c]
lea eax, [ebp + eax - 0x101]
mov esi, dword [esi + 0x30]
lea edi, [ebp + edx]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], esi
mov edi, dword [edi + 0x34]
mov esi, ebx
mov eax, dword [eax + 0x28]
mov dword [esp + 0x38], edi
mov edi, dword [esi + 0x4c]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x38]
mov ebx, dword [ebx + 0x3c]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x10]
mov esi, dword [esi + 0x50]
add edx, dword [esp]
mov edi, dword [edi + 0x54]
mov dword [esp + 0x3c], esi
mov esi, 1
mov dword [esp + 0x5c], edx
mov dword [esp + 8], edi
movzx ecx, byte [esp + 8]
mov edi, esi
shl edi, cl
mov ecx, dword [esp + 0x10]
sub edi, 1
mov dword [esp + 0x24], edi
mov edi, dword [ecx + 0x58]
mov ecx, edi
mov edi, dword [esp + 0x2c]
shl esi, cl
sub esi, 1
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x38]
shr edi, 2
mov dword [esp + 0x44], edi
shl edi, 2
mov dword [esp + 0x40], edi
sub esi, 1
mov dword [esp + 0x34], esi
add esi, edi
mov dword [esp + 0x60], esi
cmp ebx, 0xe
ja 0xeaed7b
mov edx, dword [esp + 0x14]
mov ecx, ebx
movzx esi, byte [edx + 1]
movzx edx, byte [edx + 2]
shl esi, cl
lea ecx, [ebx + 8]
add ebx, 0x10
shl edx, cl
add edx, esi
mov esi, dword [esp + 0x14]
add eax, edx
add esi, 2
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
and edx, eax
lea edx, [edi + edx*4]
movzx ecx, byte [edx + 1]
movzx esi, word [edx + 2]
shr eax, cl
sub ebx, ecx
movzx ecx, byte [edx]
test ecx, ecx
je 0xeaedfa
test cl, 0x10
jne 0xeaee79
test cl, 0x40
jne 0xeaf134
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x1c]
jmp 0xeaedc9
test cl, 0x10
jne 0xeaee75
test cl, 0x40
jne 0xeaf130
mov edx, 1
movzx esi, si
shl edx, cl
mov ecx, edx
sub ecx, 1
and ecx, eax
add esi, ecx
lea edx, [ebp + esi*4]
movzx ecx, byte [edx + 1]
movzx esi, word [edx + 2]
movzx edi, cl
shr eax, cl
movzx ecx, byte [edx]
sub ebx, edi
test ecx, ecx
jne 0xeaedb7
mov ebp, dword [esp + 0x18]
mov edx, esi
mov byte [ebp + 1], dl
add ebp, 1
cmp ebp, dword [esp + 0x20]
jae 0xeaee16
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x14], esi
jb 0xeaed4f
mov edx, dword [esp + 0x14]
mov ecx, ebx
mov esi, 1
shr ecx, 3
mov edi, dword [esp + 0x98]
sub edx, ecx
shl ecx, 3
sub ebx, ecx
mov ecx, ebx
shl esi, cl
sub esi, 1
and esi, eax
lea eax, [edx + 1]
mov dword [edi], eax
lea eax, [ebp + 1]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x28]
sub eax, edx
add eax, 5
mov dword [edi + 4], eax
mov eax, dword [esp + 0x20]
sub eax, ebp
add eax, 0x101
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [eax + 0x38], esi
mov dword [eax + 0x3c], ebx
add esp, 0x84
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, dword [esp + 0x18]
movzx esi, si
mov dword [esp + 0x18], esi
mov esi, ecx
and esi, 0xf
je 0xeaeeb9
cmp esi, ebx
jbe 0xeaeea3
mov edi, dword [esp + 0x14]
mov ecx, ebx
add ebx, 8
movzx edx, byte [edi + 1]
add edi, 1
mov dword [esp + 0x14], edi
shl edx, cl
add eax, edx
mov ecx, esi
mov edx, 1
shl edx, cl
sub ebx, esi
sub edx, 1
and edx, eax
add dword [esp + 0x18], edx
shr eax, cl
cmp ebx, 0xe
jbe 0xeaf148
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x3c]
and edx, eax
lea edx, [esi + edx*4]
movzx ecx, byte [edx + 1]
movzx edi, word [edx + 2]
shr eax, cl
sub ebx, ecx
movzx ecx, byte [edx]
test cl, 0x10
jne 0xeaef2f
test cl, 0x40
jne 0xeaf194
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x3c]
jmp 0xeaeeff
test cl, 0x40
jne 0xeaf190
mov edx, 1
movzx edi, di
shl edx, cl
sub edx, 1
and edx, eax
add edi, edx
lea edx, [ebp + edi*4]
movzx ecx, byte [edx + 1]
movzx edi, word [edx + 2]
movzx esi, cl
shr eax, cl
movzx ecx, byte [edx]
sub ebx, esi
test cl, 0x10
je 0xeaeef6
mov ebp, dword [esp + 0x30]
mov esi, ecx
movzx edi, di
and esi, 0xf
cmp esi, ebx
mov dword [esp + 0x64], edi
jbe 0xeaef61
mov edi, dword [esp + 0x14]
mov ecx, ebx
movzx edx, byte [edi + 1]
shl edx, cl
lea ecx, [ebx + 8]
add eax, edx
cmp esi, ecx
ja 0xeaf417
add edi, 1
mov ebx, ecx
mov dword [esp + 0x14], edi
mov ecx, esi
mov edx, 1
shl edx, cl
sub ebx, esi
lea edi, [edx - 1]
mov edx, dword [esp + 0x64]
and edi, eax
shr eax, cl
mov ecx, ebp
sub ecx, dword [esp + 0x4c]
add edx, edi
mov dword [esp + 0x30], edx
mov edx, ebp
sub edx, dword [esp + 0x30]
cmp dword [esp + 0x30], ecx
jbe 0xeaf1b1
mov esi, dword [esp + 0x30]
sub esi, ecx
cmp dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
jae 0xeaefb5
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 0x1bc0]
test esi, esi
jne 0xeaf540
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
test ecx, ecx
mov dword [esp + 0x6c], edx
jne 0xeaf21e
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
sub edx, dword [esp + 0x54]
add edx, dword [esp + 0x34]
cmp dword [esp + 0x18], ecx
jbe 0xeaf0c7
sub dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
sub ecx, ebp
sub esi, ecx
mov ecx, dword [esp + 0x54]
sub esi, dword [esp + 0x64]
sub esi, edi
add esi, dword [esp + 0x38]
shr ecx, 2
mov dword [esp + 0x70], ecx
shl ecx, 2
lea edi, [esi + 1]
test ecx, ecx
mov dword [esp + 0x6c], edi
lea edi, [ebp + 1]
mov dword [esp + 0x64], ecx
je 0xeaf56a
mov ecx, dword [esp + 0x6c]
cmp dword [esp + 0x54], 9
seta byte [esp + 0x74]
or ecx, edi
and ecx, 3
sete cl
and byte [esp + 0x74], cl
lea ecx, [esi + 5]
cmp edi, ecx
seta byte [esp + 0x78]
lea ecx, [ebp + 5]
cmp dword [esp + 0x6c], ecx
seta cl
or byte [esp + 0x78], cl
movzx ecx, byte [esp + 0x78]
test byte [esp + 0x74], cl
je 0xeaf56a
mov edi, dword [esp + 0x70]
xor ecx, ecx
mov dword [esp + 0x6c], eax
lea esi, [esi]
mov eax, dword [esi + ecx*4 + 1]
mov dword [ebp + ecx*4 + 1], eax
add ecx, 1
cmp edi, ecx
ja 0xeaf070
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x64]
sub edi, dword [esp + 0x64]
add esi, ebp
mov eax, dword [esp + 0x6c]
add edx, dword [esp + 0x64]
cmp dword [esp + 0x54], ecx
je 0xeaf0bd
mov dword [esp + 0x64], ebp
xor ecx, ecx
mov ebp, eax
movzx eax, byte [edx + ecx + 1]
mov byte [esi + ecx + 1], al
add ecx, 1
cmp edi, ecx
jne 0xeaf0a7
mov eax, ebp
mov ebp, dword [esp + 0x64]
add ebp, dword [esp + 0x54]
mov edx, ebp
sub edx, dword [esp + 0x30]
cmp dword [esp + 0x18], 2
jbe 0xeaf0fc
mov ecx, dword [esp + 0x18]
mov esi, eax
movzx eax, byte [edx + 1]
sub ecx, 3
mov byte [ebp + 1], al
movzx eax, byte [edx + 2]
add edx, 3
mov byte [ebp + 2], al
movzx eax, byte [edx]
add ebp, 3
cmp ecx, 2
mov byte [ebp], al
ja 0xeaf0d4
mov dword [esp + 0x18], ecx
mov eax, esi
mov edi, dword [esp + 0x18]
test edi, edi
je 0xeaee02
movzx ecx, byte [edx + 1]
cmp dword [esp + 0x18], 2
mov byte [ebp + 1], cl
jne 0xeaf524
movzx edx, byte [edx + 2]
mov byte [ebp + 2], dl
add ebp, 2
jmp 0xeaee02
mov ebp, dword [esp + 0x18]
and ecx, 0x20
je 0xeaf170
mov esi, dword [esp + 0x10]
mov dword [esi], 0xb
jmp 0xeaee16
mov edi, dword [esp + 0x14]
mov ecx, ebx
movzx esi, byte [edi + 1]
movzx edx, byte [edi + 2]
add edi, 2
mov dword [esp + 0x14], edi
shl esi, cl
lea ecx, [ebx + 8]
add ebx, 0x10
shl edx, cl
add edx, esi
add eax, edx
jmp 0xeaeec2
mov edi, dword [esp + 0x98]
mov edx, dword [esp + 0x10]
mov dword [edi + 0x18], 0x14659f4
mov dword [edx], 0x1d
jmp 0xeaee16
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x10]
mov dword [esi + 0x18], 0x14659de
mov dword [edi], 0x1d
jmp 0xeaee16
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
jmp 0xeaf1c4
mov edx, edi
mov ebp, esi
movzx ecx, byte [edx + 1]
sub eax, 3
cmp eax, 2
lea esi, [ebp + 3]
lea edi, [edx + 3]
mov byte [ebp + 1], cl
movzx ecx, byte [edx + 2]
mov byte [ebp + 2], cl
movzx ecx, byte [edx + 3]
mov byte [ebp + 3], cl
ja 0xeaf1c0
mov dword [esp + 0x18], eax
mov ecx, esi
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
test esi, esi
je 0xeaf42e
movzx ecx, byte [edx + 4]
cmp dword [esp + 0x18], 2
mov byte [ebp + 4], cl
jne 0xeaf52c
movzx edx, byte [edx + 5]
mov byte [ebp + 5], dl
add ebp, 5
jmp 0xeaee02
mov esi, dword [esp + 0x54]
cmp dword [esp + 0x2c], esi
mov ecx, esi
jae 0xeaf435
mov esi, dword [esp + 0x2c]
add esi, dword [esp + 0x58]
sub ecx, dword [esp + 0x2c]
mov edx, esi
sub edx, dword [esp + 0x54]
add edx, dword [esp + 0x34]
cmp dword [esp + 0x18], ecx
mov dword [esp + 0x54], ecx
jbe 0xeaf0c7
sub dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x5c]
sub ecx, ebp
sub esi, ecx
sub esi, dword [esp + 0x64]
mov dword [esp + 0x80], ecx
sub esi, edi
add esi, dword [esp + 0x38]
lea ecx, [esi + 1]
mov dword [esp + 0x78], ecx
lea ecx, [ebp + 1]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x54]
shr ecx, 2
mov dword [esp + 0x68], ecx
shl ecx, 2
test ecx, ecx
mov dword [esp + 0x70], ecx
je 0xeaf57d
cmp dword [esp + 0x54], 9
mov ecx, dword [esp + 0x78]
seta byte [esp + 0x74]
or ecx, dword [esp + 0x7c]
and ecx, 3
sete cl
and byte [esp + 0x74], cl
lea ecx, [esi + 5]
cmp dword [esp + 0x7c], ecx
lea ecx, [ebp + 5]
seta byte [esp + 0xf]
cmp dword [esp + 0x78], ecx
seta cl
or byte [esp + 0xf], cl
movzx ecx, byte [esp + 0xf]
test byte [esp + 0x74], cl
je 0xeaf57d
xor ecx, ecx
mov dword [esp + 0x74], eax
mov eax, dword [esi + ecx*4 + 1]
mov dword [ebp + ecx*4 + 1], eax
add ecx, 1
cmp dword [esp + 0x68], ecx
ja 0xeaf2e2
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x70]
add edx, dword [esp + 0x70]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
add esi, ebp
cmp dword [esp + 0x54], ecx
je 0xeaf337
mov dword [esp + 0x70], ebp
xor ecx, ecx
mov ebp, eax
movzx eax, byte [edx + ecx + 1]
mov byte [esi + ecx + 1], al
add ecx, 1
cmp dword [esp + 0x68], ecx
jne 0xeaf31f
mov eax, ebp
mov ebp, dword [esp + 0x70]
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x18]
add edx, ebp
cmp dword [esp + 0x2c], esi
mov dword [esp + 0x54], edx
jae 0xeaf535
mov edx, dword [esp + 0x2c]
sub esi, edx
mov edx, dword [esp + 0x80]
sub edx, dword [esp + 0x2c]
add edx, dword [esp + 0x64]
mov dword [esp + 0x18], esi
add edx, edi
add ebp, edx
mov edx, dword [esp + 0x40]
test edx, edx
je 0xeaf559
mov edx, dword [esp + 0x38]
lea esi, [ebp + 4]
cmp dword [esp + 0x2c], 9
seta cl
or edx, ebp
and edx, 3
mov edi, ecx
sete dl
and edi, edx
mov edx, dword [esp + 0x38]
add edx, 4
cmp ebp, edx
seta dl
cmp dword [esp + 0x38], esi
seta cl
mov esi, ecx
mov ecx, edi
or edx, esi
test cl, dl
je 0xeaf559
mov esi, dword [esp + 0x38]
xor edx, edx
mov edi, dword [esp + 0x44]
mov ecx, dword [esi + edx*4]
mov dword [ebp + edx*4], ecx
add edx, 1
cmp edi, edx
ja 0xeaf3be
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x40]
add ecx, dword [esp + 0x40]
sub esi, dword [esp + 0x40]
cmp dword [esp + 0x2c], edx
mov dword [esp + 0x6c], edi
je 0xeaf404
xor edx, edx
mov ebp, eax
movzx eax, byte [edi + edx + 1]
mov byte [ecx + edx + 1], al
add edx, 1
cmp esi, edx
jne 0xeaf3f2
mov eax, ebp
mov ebp, dword [esp + 0x54]
add ebp, dword [esp + 0x2c]
mov edx, ebp
sub edx, dword [esp + 0x30]
jmp 0xeaf0c7
movzx edx, byte [edi + 2]
add edi, 2
add ebx, 0x10
mov dword [esp + 0x14], edi
shl edx, cl
add eax, edx
jmp 0xeaef61
mov ebp, ecx
jmp 0xeaee02
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x54]
add edx, dword [esp + 0x34]
cmp dword [esp + 0x18], esi
jbe 0xeaf0c7
mov ecx, dword [esp + 0x5c]
sub dword [esp + 0x18], esi
mov esi, dword [esp + 0x2c]
sub ecx, ebp
sub esi, ecx
mov ecx, dword [esp + 0x54]
sub esi, dword [esp + 0x64]
sub esi, edi
add esi, dword [esp + 0x38]
shr ecx, 2
mov dword [esp + 0x74], ecx
shl ecx, 2
lea edi, [esi + 1]
test ecx, ecx
mov dword [esp + 0x68], edi
lea edi, [ebp + 1]
mov dword [esp + 0x64], ecx
je 0xeaf575
mov ecx, dword [esp + 0x68]
cmp dword [esp + 0x54], 9
seta byte [esp + 0x6c]
or ecx, edi
and ecx, 3
sete cl
and byte [esp + 0x6c], cl
lea ecx, [esi + 5]
cmp edi, ecx
seta byte [esp + 0x78]
lea ecx, [ebp + 5]
cmp dword [esp + 0x68], ecx
seta cl
or byte [esp + 0x78], cl
movzx ecx, byte [esp + 0x78]
test byte [esp + 0x6c], cl
je 0xeaf575
mov edi, dword [esp + 0x74]
xor ecx, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esi + ecx*4 + 1]
mov dword [ebp + ecx*4 + 1], eax
add ecx, 1
cmp edi, ecx
ja 0xeaf4d4
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x64]
sub edi, dword [esp + 0x64]
add esi, ebp
mov eax, dword [esp + 0x6c]
add edx, dword [esp + 0x64]
cmp dword [esp + 0x54], ecx
je 0xeaf0bd
mov dword [esp + 0x64], ebp
xor ecx, ecx
mov ebp, eax
movzx eax, byte [edx + ecx + 1]
mov byte [esi + ecx + 1], al
add ecx, 1
cmp edi, ecx
jne 0xeaf50f
jmp 0xeaf0b7
add ebp, 1
jmp 0xeaee02
add ebp, 4
nop
jmp 0xeaee02
mov ebp, edx
mov edx, dword [esp + 0x34]
jmp 0xeaf0c7
mov esi, dword [esp + 0x98]
mov dword [esi + 0x18], str.invalid_distance_too_far_back
mov dword [edx], 0x1d
jmp 0xeaee16
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x6c]
jmp 0xeaf3ee
mov edi, dword [esp + 0x54]
mov esi, ebp
jmp 0xeaf09f
mov edi, dword [esp + 0x54]
mov esi, ebp
jmp 0xeaf507
mov esi, dword [esp + 0x54]
mov dword [esp + 0x68], esi
mov esi, ebp
jmp 0xeaf317