Function at 0x469700
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 0x46a225
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 0x46a225
push dword [esp + 0x98]
lea eax, [esp + 0x50]
push dword [esp + 0x8c]
push eax
call fcn.004664a0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x46a22a
push dword [esp + 0x8c]
lea eax, [esp + 0x3c]
push dword [esp + 0x1c]
push eax
call fcn.004664a0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x46a22a
push dword [esp + 0x90]
lea eax, [esp + 0x28]
push dword [esp + 0x98]
push eax
call fcn.004664a0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x46a22a
mov eax, dword [esp + 0x90]
add eax, dword [esp + 0x94]
push edi
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.004664a0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x46a22a
lea eax, [esp + 0x64]
push eax
call fcn.004665d0
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.004665d0
or edi, eax
lea eax, [esp + 0x40]
push eax
call fcn.004665d0
or edi, eax
lea eax, [esp + 0x58]
push eax
call fcn.004665d0
add esp, 0x10
or edi, eax
jne 0x469aa2
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 0x469a93
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.004665d0
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.004665d0
or edi, eax
lea eax, [esp + 0x40]
push eax
call fcn.004665d0
or edi, eax
lea eax, [esp + 0x58]
push eax
call fcn.004665d0
add esp, 0x10
or edi, eax
mov eax, dword [esp + 0x88]
je 0x4698c0
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x60], esi
cmp ebx, dword [esp + 0x78]
ja 0x46a225
cmp ebp, dword [esp + 0x7c]
ja 0x46a225
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x20], eax
ja 0x46a225
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 0x469c50
cmp ecx, edx
jb 0x469af4
mov eax, ebp
shr eax, 3
sub ecx, eax
and ebp, 7
jmp 0x469b16
cmp ecx, eax
je 0x469bc3
mov edx, ebp
mov eax, ecx
shr edx, 3
sub eax, edx
cmp eax, dword [esp + 0x58]
jb 0x469ba0
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 0x469bbb
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 0x469acf
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 0x469c50
cmp ecx, edx
jb 0x469bdc
mov eax, ebp
shr eax, 3
sub ecx, eax
and ebp, 7
jmp 0x469bf6
cmp ecx, eax
je 0x469c50
mov edx, ebp
mov eax, ecx
shr edx, 3
sub eax, edx
cmp eax, dword [esp + 0x58]
jb 0x469c33
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 0x469c9c
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 0x469bb7
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 0x469c54
mov edx, dword [esp + 0x4c]
cmp ebx, dword [esp + 0x78]
jae 0x469c9c
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 0x469c70
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 0x469e20
cmp ecx, edx
jb 0x469ccd
mov eax, ebp
shr eax, 3
sub ecx, eax
and ebp, 7
jmp 0x469cef
cmp ecx, eax
je 0x469d90
mov edx, ebp
mov eax, ecx
shr edx, 3
sub eax, edx
cmp eax, dword [esp + 0x44]
jb 0x469d68
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 0x469d83
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 0x469ca8
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 0x469e20
cmp ecx, edx
jb 0x469da9
mov eax, ebp
shr eax, 3
sub ecx, eax
and ebp, 7
jmp 0x469dc3
cmp ecx, eax
je 0x469e20
mov edx, ebp
mov eax, ecx
shr edx, 3
sub eax, edx
cmp eax, dword [esp + 0x44]
jb 0x469e03
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 0x469e6c
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 0x469d7f
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 0x469e24
mov edx, dword [esp + 0x38]
cmp edi, dword [esp + 0x7c]
jae 0x469e6c
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 0x469e40
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 0x469ff0
cmp ecx, edx
jb 0x469e9d
mov eax, ebp
shr eax, 3
sub ecx, eax
and ebp, 7
jmp 0x469ebf
cmp ecx, eax
je 0x469f60
mov edx, ebp
mov eax, ecx
shr edx, 3
sub eax, edx
cmp eax, dword [esp + 0x30]
jb 0x469f3c
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 0x469f57
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 0x469e78
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 0x469ff0
cmp ecx, edx
jb 0x469f79
mov eax, ebp
shr eax, 3
sub ecx, eax
and ebp, 7
jmp 0x469f93
cmp ecx, eax
je 0x469ff0
mov edx, ebp
mov eax, ecx
shr edx, 3
sub eax, edx
cmp eax, dword [esp + 0x30]
jb 0x469fd3
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 0x46a03d
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 0x469f53
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 0x469ff4
mov edx, dword [esp + 0x24]
cmp ebx, dword [esp + 0x80]
jae 0x46a03d
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 0x46a011
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 0x46a10e
cmp ecx, eax
jb 0x46a066
mov eax, ebp
shr eax, 3
sub ecx, eax
and ebp, 7
jmp 0x46a082
cmp ecx, ebx
je 0x46a10e
mov edx, ebp
mov eax, ecx
shr edx, 3
sub eax, edx
cmp eax, ebx
jb 0x46a0f1
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 0x46a10a
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 0x46a041
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 0x46a1aa
cmp ecx, eax
jb 0x46a12b
mov eax, ebp
shr eax, 3
sub ecx, eax
and ebp, 7
jmp 0x46a147
cmp ecx, dword [esp + 0x70]
je 0x46a1aa
mov edx, ebp
mov eax, ecx
shr edx, 3
sub eax, edx
cmp eax, dword [esp + 0x70]
jb 0x46a18d
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 0x46a1e9
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 0x46a112
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 0x46a1ae
mov edx, dword [esp + 0x64]
cmp esi, dword [esp + 0x84]
jae 0x46a1e9
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 0x46a1c0
mov dword [esp + 0x68], ebp
lea eax, [esp + 0x64]
push eax
call fcn.00469120
mov edx, eax
lea eax, [esp + 0x28]
push eax
call fcn.00469120
and edx, eax
lea eax, [esp + 0x40]
push eax
call fcn.00469120
and edx, eax
lea eax, [esp + 0x58]
push eax
call fcn.00469120
add esp, 0x10
test eax, edx
mov eax, dword [esp + 0xa4]
jne 0x46a22a
mov eax, 0xffffffec
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret