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

Disassembly:
mov edx, dword [esp + 0x10]
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
cmp edx, 0xa
jb 0x85b225
mov ecx, dword [esp + 0xb0]
mov edi, edx
mov ebx, dword [esp + 0xa0]
mov eax, dword [esp + 0xa4]
add eax, ebx
mov dword [esp + 0x84], eax
lea eax, [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
movzx ebp, word [eax + 2]
movzx esi, word [eax]
mov dword [esp + 0x8c], ebp
movzx ebp, word [eax + 4]
add eax, 6
mov dword [esp + 0x88], eax
sub edi, ebp
sub edi, dword [esp + 0x8c]
add eax, esi
mov dword [esp + 0x18], eax
sub edi, esi
add eax, dword [esp + 0x8c]
sub edi, 6
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa4]
add eax, 3
mov dword [esp + 0x98], esi
shr eax, 2
mov dword [esp + 0x90], ebp
lea edx, [eax + ebx]
lea esi, [edx + eax]
mov dword [esp + 0x78], edx
add eax, esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], eax
mov ebp, edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x20], esi
mov esi, eax
mov eax, dword [ecx]
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], eax
cmp edi, dword [esp + 0xac]
ja 0x85b225
push dword [esp + 0x98]
lea eax, [esp + 0x50]
push dword [esp + 0x8c]
push eax
call fcn.008574a0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x85b22a
push dword [esp + 0x8c]
lea eax, [esp + 0x3c]
push dword [esp + 0x1c]
push eax
call fcn.008574a0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x85b22a
push dword [esp + 0x90]
lea eax, [esp + 0x28]
push dword [esp + 0x98]
push eax
call fcn.008574a0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x85b22a
mov eax, dword [esp + 0x90]
add eax, dword [esp + 0x94]
push edi
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.008574a0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x85b22a
lea eax, [esp + 0x64]
push eax
call fcn.008575d0
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.008575d0
or edi, eax
lea eax, [esp + 0x40]
push eax
call fcn.008575d0
or edi, eax
lea eax, [esp + 0x58]
push eax
call fcn.008575d0
add esp, 0x10
or edi, eax
jne 0x85aaa2
mov eax, dword [esp + 0x84]
mov ebp, dword [esp + 0x10]
add eax, 0xfffffff9
mov dword [esp + 0x88], eax
nop dword [eax + eax]
cmp esi, eax
jae 0x85aa93
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
neg ebx
mov edx, dword [esp + 0x4c]
and ecx, 0x1f
shl edx, cl
and ebx, 0x1f
mov ecx, ebx
mov edi, dword [esp + 0x68]
shr edx, cl
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x60], ebx
movzx eax, byte [ebp + edx*2 + 1]
add eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
movzx eax, byte [ebp + edx*2]
mov byte [ecx], al
inc ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
and ecx, 0x1f
shl edx, cl
mov ecx, ebx
shr edx, cl
mov ecx, dword [esp + 0x1c]
movzx eax, byte [eax + edx*2]
movzx ebp, byte [ebp + edx*2 + 1]
mov byte [ecx], al
inc ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x28]
and ecx, 0x1f
add ebp, dword [esp + 0x3c]
shl edx, cl
mov ecx, ebx
shr edx, cl
mov ecx, dword [esp + 0x10]
movzx ebx, byte [ecx + edx*2 + 1]
movzx eax, byte [ecx + edx*2]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x64]
add ebx, dword [esp + 0x28]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x20], ecx
mov ecx, edi
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x60]
shr edx, cl
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx + edx*2 + 1]
add edi, eax
movzx eax, byte [ecx + edx*2]
mov edx, dword [esp + 0x18]
mov ecx, edx
mov byte [esi], al
and ecx, 0x1f
mov eax, dword [esp + 0x4c]
shl eax, cl
mov ecx, dword [esp + 0x60]
shr eax, cl
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
movzx eax, byte [ecx + eax*2 + 1]
add eax, edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
movzx eax, byte [ecx + eax*2]
mov ecx, dword [esp + 0xa0]
mov byte [ecx], al
inc ecx
mov dword [esp + 0xa0], ecx
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x60]
shr edx, cl
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx + edx*2 + 1]
add eax, ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
movzx eax, byte [ecx + edx*2]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, ebx
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x60]
shr edx, cl
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx + edx*2 + 1]
add eax, ebx
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + edx*2]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x64]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x20], ecx
mov ecx, edi
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x60]
shr edx, cl
movzx eax, byte [ebp + edx*2 + 1]
add eax, edi
mov dword [esp + 0x68], eax
movzx eax, byte [ebp + edx*2]
mov byte [esi + 1], al
lea eax, [esp + 0x64]
push eax
add esi, 2
call fcn.008575d0
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.008575d0
or edi, eax
lea eax, [esp + 0x40]
push eax
call fcn.008575d0
or edi, eax
lea eax, [esp + 0x58]
push eax
call fcn.008575d0
add esp, 0x10
or edi, eax
mov eax, dword [esp + 0x88]
je 0x85a8c0
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x60], esi
cmp ebx, dword [esp + 0x78]
ja 0x85b225
cmp ebp, dword [esp + 0x7c]
ja 0x85b225
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x20], eax
ja 0x85b225
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
cmp ebp, 0x20
ja 0x85ac50
cmp ecx, edx
jb 0x85aaf4
mov eax, ebp
shr eax, 3
sub ecx, eax
and ebp, 7
jmp 0x85ab16
cmp ecx, eax
je 0x85abc3
mov edx, ebp
mov eax, ecx
shr edx, 3
sub eax, edx
cmp eax, dword [esp + 0x58]
jb 0x85aba0
imul eax, edx, 0xfffffff8
sub ecx, edx
add ebp, eax
mov eax, dword [esp + 0x78]
mov edx, dword [ecx]
add eax, 0xfffffffc
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ecx
cmp ebx, eax
ja 0x85abbb
mov ebx, dword [esp + 0x14]
mov ecx, ebp
and ecx, 0x1f
neg ebx
shl edx, cl
and ebx, 0x1f
mov ecx, ebx
shr edx, cl
mov ecx, dword [esp + 0xa0]
movzx edi, byte [edi + edx*2 + 1]
add edi, ebp
mov ebp, dword [esp + 0x10]
movzx eax, byte [ebp + edx*2]
mov byte [ecx], al
inc ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xa0], ecx
mov ecx, edi
and ecx, 0x1f
shl eax, cl
mov ecx, ebx
mov ebx, dword [esp + 0xa0]
shr eax, cl
movzx ebp, byte [ebp + eax*2 + 1]
add ebp, edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x50], ebp
movzx eax, byte [edi + eax*2]
mov byte [ebx], al
inc ebx
mov dword [esp + 0xa0], ebx
jmp 0x85aacf
mov eax, ecx
sub eax, dword [esp + 0x58]
sub ecx, eax
imul eax, eax, 0xfffffff8
mov dword [esp + 0x54], ecx
mov edx, dword [ecx]
add ebp, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebp
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
cmp ebp, 0x20
ja 0x85ac50
cmp ecx, edx
jb 0x85abdc
mov eax, ebp
shr eax, 3
sub ecx, eax
and ebp, 7
jmp 0x85abf6
cmp ecx, eax
je 0x85ac50
mov edx, ebp
mov eax, ecx
shr edx, 3
sub eax, edx
cmp eax, dword [esp + 0x58]
jb 0x85ac33
imul eax, edx, 0xfffffff8
sub ecx, edx
add ebp, eax
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ecx
cmp ebx, dword [esp + 0x78]
jae 0x85ac9c
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x14]
neg ecx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x54]
movzx eax, byte [edi + edx*2 + 1]
add ebp, eax
mov al, byte [edi + edx*2]
mov byte [ebx], al
inc ebx
jmp 0x85abb7
mov eax, ecx
sub eax, dword [esp + 0x58]
sub ecx, eax
imul eax, eax, 0xfffffff8
mov dword [esp + 0x54], ecx
mov edx, dword [ecx]
add ebp, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebp
jmp 0x85ac54
mov edx, dword [esp + 0x4c]
cmp ebx, dword [esp + 0x78]
jae 0x85ac9c
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x78]
neg eax
and eax, 0x1f
mov dword [esp + 0x18], eax
nop dword [eax + eax]
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
movzx eax, byte [edi + edx*2 + 1]
add ebp, eax
mov al, byte [edi + edx*2]
mov edx, dword [esp + 0x4c]
mov byte [ebx], al
inc ebx
mov eax, dword [esp + 0x18]
cmp ebx, esi
jb 0x85ac70
mov esi, dword [esp + 0x60]
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
cmp ebp, 0x20
ja 0x85ae20
cmp ecx, edx
jb 0x85accd
mov eax, ebp
shr eax, 3
sub ecx, eax
and ebp, 7
jmp 0x85acef
cmp ecx, eax
je 0x85ad90
mov edx, ebp
mov eax, ecx
shr edx, 3
sub eax, edx
cmp eax, dword [esp + 0x44]
jb 0x85ad68
imul eax, edx, 0xfffffff8
sub ecx, edx
add ebp, eax
mov eax, dword [esp + 0x7c]
mov edx, dword [ecx]
add eax, 0xfffffffc
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ecx
cmp edi, eax
ja 0x85ad83
mov ebx, dword [esp + 0x14]
mov ecx, ebp
and ecx, 0x1f
neg ebx
shl edx, cl
and ebx, 0x1f
mov ecx, ebx
shr edx, cl
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx + edx*2 + 1]
movzx eax, byte [ecx + edx*2]
add edi, ebp
mov ecx, dword [esp + 0x1c]
mov byte [ecx], al
inc ecx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
mov ecx, edi
and ecx, 0x1f
shl eax, cl
mov ecx, ebx
mov ebx, dword [esp + 0x10]
shr eax, cl
movzx ebp, byte [ebx + eax*2 + 1]
movzx eax, byte [ebx + eax*2]
add ebp, edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x3c], ebp
mov byte [edi], al
inc edi
mov dword [esp + 0x1c], edi
jmp 0x85aca8
mov eax, ecx
sub eax, dword [esp + 0x44]
sub ecx, eax
imul eax, eax, 0xfffffff8
mov dword [esp + 0x40], ecx
mov edx, dword [ecx]
add ebp, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
nop dword [eax + eax]
cmp ebp, 0x20
ja 0x85ae20
cmp ecx, edx
jb 0x85ada9
mov eax, ebp
shr eax, 3
sub ecx, eax
and ebp, 7
jmp 0x85adc3
cmp ecx, eax
je 0x85ae20
mov edx, ebp
mov eax, ecx
shr edx, 3
sub eax, edx
cmp eax, dword [esp + 0x44]
jb 0x85ae03
imul eax, edx, 0xfffffff8
sub ecx, edx
add ebp, eax
mov edx, dword [ecx]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ecx
cmp edi, dword [esp + 0x7c]
jae 0x85ae6c
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x14]
neg ecx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x40]
movzx eax, byte [ebx + edx*2 + 1]
add ebp, eax
mov al, byte [ebx + edx*2]
mov byte [edi], al
inc edi
jmp 0x85ad7f
mov eax, ecx
sub eax, dword [esp + 0x44]
sub ecx, eax
imul eax, eax, 0xfffffff8
mov dword [esp + 0x40], ecx
mov edx, dword [ecx]
add ebp, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebp
jmp 0x85ae24
mov edx, dword [esp + 0x38]
cmp edi, dword [esp + 0x7c]
jae 0x85ae6c
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x7c]
neg eax
and eax, 0x1f
mov dword [esp + 0x18], eax
nop dword [eax + eax]
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
movzx eax, byte [ebx + edx*2 + 1]
add ebp, eax
mov al, byte [ebx + edx*2]
mov edx, dword [esp + 0x38]
mov byte [edi], al
inc edi
mov eax, dword [esp + 0x18]
cmp edi, esi
jb 0x85ae40
mov esi, dword [esp + 0x60]
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
cmp ebp, 0x20
ja 0x85aff0
cmp ecx, edx
jb 0x85ae9d
mov eax, ebp
shr eax, 3
sub ecx, eax
and ebp, 7
jmp 0x85aebf
cmp ecx, eax
je 0x85af60
mov edx, ebp
mov eax, ecx
shr edx, 3
sub eax, edx
cmp eax, dword [esp + 0x30]
jb 0x85af3c
imul eax, edx, 0xfffffff8
sub ecx, edx
add ebp, eax
mov eax, dword [esp + 0x80]
mov edx, dword [ecx]
add eax, 0xfffffffc
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ecx
cmp ebx, eax
ja 0x85af57
mov ebx, dword [esp + 0x14]
mov ecx, ebp
and ecx, 0x1f
neg ebx
shl edx, cl
and ebx, 0x1f
mov ecx, ebx
shr edx, cl
mov ecx, dword [esp + 0x20]
movzx edi, byte [edi + edx*2 + 1]
add edi, ebp
mov ebp, dword [esp + 0x10]
movzx eax, byte [ebp + edx*2]
mov byte [ecx], al
inc ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], ecx
mov ecx, edi
and ecx, 0x1f
shl eax, cl
mov ecx, ebx
mov ebx, dword [esp + 0x20]
shr eax, cl
movzx ebp, byte [ebp + eax*2 + 1]
add ebp, edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x28], ebp
movzx eax, byte [edi + eax*2]
mov byte [ebx], al
inc ebx
mov dword [esp + 0x20], ebx
jmp 0x85ae78
mov eax, ecx
sub eax, dword [esp + 0x30]
sub ecx, eax
imul eax, eax, 0xfffffff8
mov dword [esp + 0x2c], ecx
mov edx, dword [ecx]
add ebp, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
nop
cmp ebp, 0x20
ja 0x85aff0
cmp ecx, edx
jb 0x85af79
mov eax, ebp
shr eax, 3
sub ecx, eax
and ebp, 7
jmp 0x85af93
cmp ecx, eax
je 0x85aff0
mov edx, ebp
mov eax, ecx
shr edx, 3
sub eax, edx
cmp eax, dword [esp + 0x30]
jb 0x85afd3
imul eax, edx, 0xfffffff8
sub ecx, edx
add ebp, eax
mov edx, dword [ecx]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ecx
cmp ebx, dword [esp + 0x80]
jae 0x85b03d
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x14]
neg ecx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x2c]
movzx eax, byte [edi + edx*2 + 1]
add ebp, eax
mov al, byte [edi + edx*2]
mov byte [ebx], al
inc ebx
jmp 0x85af53
mov eax, ecx
sub eax, dword [esp + 0x30]
sub ecx, eax
imul eax, eax, 0xfffffff8
mov dword [esp + 0x2c], ecx
mov edx, dword [ecx]
add ebp, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebp
jmp 0x85aff4
mov edx, dword [esp + 0x24]
cmp ebx, dword [esp + 0x80]
jae 0x85b03d
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x80]
neg eax
and eax, 0x1f
mov dword [esp + 0x18], eax
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
movzx eax, byte [edi + edx*2 + 1]
add ebp, eax
mov al, byte [edi + edx*2]
mov edx, dword [esp + 0x24]
mov byte [ebx], al
inc ebx
mov eax, dword [esp + 0x18]
cmp ebx, esi
jb 0x85b011
mov esi, dword [esp + 0x60]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x68]
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
cmp ebp, 0x20
ja 0x85b10e
cmp ecx, eax
jb 0x85b066
mov eax, ebp
shr eax, 3
sub ecx, eax
and ebp, 7
jmp 0x85b082
cmp ecx, ebx
je 0x85b10e
mov edx, ebp
mov eax, ecx
shr edx, 3
sub eax, edx
cmp eax, ebx
jb 0x85b0f1
imul eax, edx, 0xfffffff8
sub ecx, edx
add ebp, eax
mov eax, dword [esp + 0x84]
mov edx, dword [ecx]
add eax, 0xfffffffc
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ecx
cmp esi, eax
ja 0x85b10a
mov ebx, dword [esp + 0x14]
mov ecx, ebp
and ecx, 0x1f
neg ebx
shl edx, cl
and ebx, 0x1f
mov ecx, ebx
shr edx, cl
movzx edi, byte [edi + edx*2 + 1]
add edi, ebp
mov ebp, dword [esp + 0x10]
mov ecx, edi
and ecx, 0x1f
movzx eax, byte [ebp + edx*2]
mov byte [esi], al
mov eax, dword [esp + 0x64]
shl eax, cl
mov ecx, ebx
shr eax, cl
movzx ebp, byte [ebp + eax*2 + 1]
add ebp, edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x68], ebp
movzx eax, byte [edi + eax*2]
mov byte [esi + 1], al
add esi, 2
jmp 0x85b041
mov eax, ecx
sub eax, ebx
sub ecx, eax
imul eax, eax, 0xfffffff8
mov dword [esp + 0x6c], ecx
mov edx, dword [ecx]
add ebp, eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebp
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x14]
cmp ebp, 0x20
ja 0x85b1aa
cmp ecx, eax
jb 0x85b12b
mov eax, ebp
shr eax, 3
sub ecx, eax
and ebp, 7
jmp 0x85b147
cmp ecx, dword [esp + 0x70]
je 0x85b1aa
mov edx, ebp
mov eax, ecx
shr edx, 3
sub eax, edx
cmp eax, dword [esp + 0x70]
jb 0x85b18d
imul eax, edx, 0xfffffff8
sub ecx, edx
add ebp, eax
mov edx, dword [ecx]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ecx
cmp esi, dword [esp + 0x84]
jae 0x85b1e9
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, ebx
neg ecx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x6c]
movzx eax, byte [edi + edx*2 + 1]
add ebp, eax
mov al, byte [edi + edx*2]
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x74]
mov dword [esp + 0x68], ebp
jmp 0x85b112
mov eax, ecx
sub eax, dword [esp + 0x70]
sub ecx, eax
imul eax, eax, 0xfffffff8
mov dword [esp + 0x6c], ecx
mov edx, dword [ecx]
add ebp, eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebp
jmp 0x85b1ae
mov edx, dword [esp + 0x64]
cmp esi, dword [esp + 0x84]
jae 0x85b1e9
neg ebx
and ebx, 0x1f
nop dword [eax]
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, ebx
shr edx, cl
movzx eax, byte [edi + edx*2 + 1]
add ebp, eax
mov al, byte [edi + edx*2]
mov edx, dword [esp + 0x64]
mov byte [esi], al
inc esi
cmp esi, dword [esp + 0x84]
jb 0x85b1c0
mov dword [esp + 0x68], ebp
lea eax, [esp + 0x64]
push eax
call fcn.0085a120
mov edx, eax
lea eax, [esp + 0x28]
push eax
call fcn.0085a120
and edx, eax
lea eax, [esp + 0x40]
push eax
call fcn.0085a120
and edx, eax
lea eax, [esp + 0x58]
push eax
call fcn.0085a120
add esp, 0x10
test eax, edx
mov eax, dword [esp + 0xa4]
jne 0x85b22a
mov eax, 0xffffffec
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret