Function at 0x70dceb55
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0xa0
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x800]
mov edx, dword [eax + 0x81c]
and dword [ebp + 0x38], 0
push ebx
mov ebx, dword [eax + 0x80c]
push esi
push edi
xor edi, edi
inc edi
cmp word [ecx + 2], 0
mov dword [ebp + 0x3c], ecx
mov dword [ebp + 0x34], edx
jbe 0x70dcf436
mov eax, ecx
add eax, 4
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x40]
movzx esi, word [eax + 4]
movzx eax, word [eax]
add esi, dword [ebp + 0x3c]
push 0x10
lea ecx, [ebp + 0x60]
push ecx
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0x14]
push ecx
push eax
push esi
push dword [ebp + 0x74]
call fcn.70dce7cd
test eax, eax
je 0x70dcf41f
mov eax, dword [ebp + 0x40]
movzx eax, word [eax]
movzx eax, word [esi + eax*2 - 2]
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x10]
and eax, 3
push 0
mov dword [ebp + 0x60], eax
pop eax
setne al
push eax
push edi
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.70dcda5c
movzx esi, ax
mov eax, dword [ebp + 0x74]
imul esi, dword [eax + 0x818]
push edi
lea eax, [ebp + 0x14]
push eax
mov dword [ebp + 0x48], esi
call fcn.70dcdb30
test eax, eax
je 0x70dcee1f
lea eax, [ebp + 0x4c]
push eax
push 0
lea eax, [ebp + 0x14]
push eax
call fcn.70dce406
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
call fcn.70dce721
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
mov word [ebx + esi*4], 2
inc esi
call fcn.70dce721
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
mov word [ebx + esi*4], 2
inc esi
call fcn.70dce721
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
mov word [ebx + esi*4], 5
inc esi
call fcn.70dce721
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
mov word [ebx + esi*4], 6
inc esi
call fcn.70dce721
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
mov word [ebx + esi*4], 5
inc esi
call fcn.70dce721
mov word [ebx + esi*4 + 2], ax
push 0
lea eax, [ebp + 0x4c]
mov word [ebx + esi*4], 4
inc esi
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
call fcn.70dce721
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
mov word [ebx + esi*4], 0x9804
inc esi
call fcn.70dce721
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
mov word [ebx + esi*4], 0xa000
lea esi, [ebx + esi*4 + 4]
call fcn.70dce721
and word [esi], 0
mov word [esi + 2], ax
mov dword [ebp + 0x44], 0x600
mov edx, dword [ebp + 0x44]
mov esi, dword [ebp + 0x34]
movzx eax, dh
xor ecx, ecx
mov ch, byte [esi + eax*2]
mov cl, dl
add edx, 0xfffffa00
mov dword [ebp + 0x5c], edx
movzx ecx, word [esi + ecx*2]
mov eax, ecx
and eax, 0x3ff
cmp ax, 9
jb 0x70dcee0b
movzx esi, ax
add esi, dword [ebp + 0x48]
movzx eax, cx
shr eax, 0xa
cmp eax, 4
je 0x70dcedeb
push edi
cmp eax, 8
push edi
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
je 0x70dcedd5
call fcn.70dcda5c
test ax, ax
mov dword [ebp + 0x64], eax
jne 0x70dcedae
mov dword [ebp + 0x64], 2
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
lea esi, [ebx + esi*4]
call fcn.70dce721
mov word [esi + 2], ax
mov eax, dword [ebp + 0x64]
and ax, 0x7ff
mov word [esi], ax
jmp 0x70dcee0b
call fcn.70dcda5c
test ax, ax
mov dword [ebp + 0x64], eax
jne 0x70dcedae
mov dword [ebp + 0x64], 5
jmp 0x70dcedae
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
lea esi, [ebx + esi*4]
call fcn.70dce721
mov word [esi + 2], ax
mov word [esi], 5
inc dword [ebp + 0x44]
cmp word [ebp + 0x44], 0x700
jb 0x70dced4c
jmp 0x70dcf41f
cmp dword [ebp + 0x60], 0
je 0x70dcf16e
movzx eax, word [ebp + 0x14]
test byte [eax + 0x70e610a0], 4
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x14]
je 0x70dcee66
push 0
push eax
call fcn.70dce406
mov ecx, dword [ebp + 0x74]
push 0
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x14]
push edi
push edi
lea eax, [ecx + eax*2]
push eax
push ecx
call fcn.70dce721
mov word [ebx + esi*4], 2
jmp 0x70dcee8f
push 3
push eax
call fcn.70dce406
mov ecx, dword [ebp + 0x74]
push 0
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x14]
push edi
push edi
lea eax, [ecx + eax*2 + 0x600]
push eax
push ecx
call fcn.70dce721
mov word [ebx + esi*4], di
mov word [ebx + esi*4 + 2], ax
movzx eax, word [ebp + 0x14]
inc esi
test byte [eax + 0x70e610a0], 4
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x14]
push 0
push eax
call fcn.70dce406
mov ecx, dword [ebp + 0x74]
movzx eax, word [ebp + 0x14]
push 0
lea edx, [ebp + 0x4c]
push edx
push edi
lea eax, [ecx + eax*2]
push edi
push eax
push ecx
mov dword [ebp + 0x68], eax
call fcn.70dce721
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
mov word [ebx + esi*4], 2
push dword [ebp + 0x74]
inc esi
call fcn.70dce721
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
mov word [ebx + esi*4], 5
push dword [ebp + 0x74]
inc esi
call fcn.70dce721
mov word [ebx + esi*4 + 2], ax
movzx eax, word [ebp + 0x14]
mov word [ebx + esi*4], 6
and word [ebx + esi*4 + 6], 0
inc esi
mov word [ebx + esi*4], 0x6003
inc esi
test byte [eax + 0x70e610a0], 4
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x14]
je 0x70dcef4e
push 0
push eax
call fcn.70dce406
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
push dword [ebp + 0x74]
jmp 0x70dcef6e
push 3
push eax
call fcn.70dce406
mov ecx, dword [ebp + 0x74]
push 0
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x14]
push edi
push edi
lea eax, [ecx + eax*2 + 0x600]
push eax
push ecx
call fcn.70dce721
mov word [ebx + esi*4 + 2], ax
movzx eax, word [ebp + 0x14]
mov word [ebx + esi*4], 4
inc esi
test byte [eax + 0x70e610a0], 4
lea eax, [ebp + 0x4c]
je 0x70dcefb6
push eax
push 0
lea eax, [ebp + 0x14]
push eax
call fcn.70dce406
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
push dword [ebp + 0x74]
call fcn.70dce721
mov word [ebx + esi*4], 4
jmp 0x70dcefd6
mov ecx, dword [ebp + 0x74]
push 0
push eax
movzx eax, word [ebp + 0x14]
push edi
push edi
lea eax, [ecx + eax*2 + 0x600]
push eax
push ecx
call fcn.70dce721
mov word [ebx + esi*4], 0x9804
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push 0
lea eax, [ebp + 0x14]
push eax
inc esi
call fcn.70dce406
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
push dword [ebp + 0x74]
call fcn.70dce721
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
mov word [ebx + esi*4], 0xa000
push dword [ebp + 0x74]
lea esi, [ebx + esi*4 + 4]
call fcn.70dce721
and word [esi], 0
mov word [esi + 2], ax
mov dword [ebp + 0x44], 0x600
mov edx, dword [ebp + 0x44]
mov esi, dword [ebp + 0x34]
movzx eax, dh
xor ecx, ecx
mov ch, byte [esi + eax*2]
mov cl, dl
add edx, 0xfffffa00
mov dword [ebp + 0x5c], edx
movzx ecx, word [esi + ecx*2]
mov eax, ecx
and eax, 0x3ff
cmp ax, 9
jb 0x70dcf15a
movzx esi, ax
add esi, dword [ebp + 0x48]
movzx eax, cx
shr eax, 0xa
dec eax
dec eax
je 0x70dcf109
dec eax
dec eax
je 0x70dcf0d9
sub eax, 4
je 0x70dcf0c7
push 0
push edi
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.70dcda5c
test ax, ax
mov dword [ebp + 0x64], eax
jne 0x70dcf095
mov dword [ebp + 0x64], edi
movzx edx, word [ebp + 0x14]
test byte [edx + 0x70e610a0], 4
jne 0x70dcf109
lea eax, [ebp + 0x4c]
push eax
push 3
lea eax, [ebp + 0x14]
push eax
call fcn.70dce406
push 0
lea eax, [ebp + 0x4c]
push eax
mov eax, dword [ebp + 0x74]
push edi
push edi
lea ecx, [eax + edx*2 + 0x600]
push ecx
push eax
jmp 0x70dcf144
lea esi, [ebx + esi*4]
and word [esi + 2], 0
mov word [esi], 0x6003
jmp 0x70dcf15a
lea eax, [ebp + 0x4c]
push eax
push 0
lea eax, [ebp + 0x14]
push eax
call fcn.70dce406
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
lea esi, [ebx + esi*4]
push dword [ebp + 0x74]
call fcn.70dce721
mov word [esi + 2], ax
mov word [esi], 5
jmp 0x70dcf15a
push edi
push edi
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.70dcda5c
test ax, ax
mov dword [ebp + 0x64], eax
jne 0x70dcf127
mov dword [ebp + 0x64], 2
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x14]
push 0
push eax
call fcn.70dce406
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
push dword [ebp + 0x74]
lea esi, [ebx + esi*4]
call fcn.70dce721
mov word [esi + 2], ax
mov eax, dword [ebp + 0x64]
and ax, 0x7ff
mov word [esi], ax
inc dword [ebp + 0x44]
cmp word [ebp + 0x44], 0x700
jb 0x70dcf02f
jmp 0x70dcf41f
lea eax, [ebp + 0x4c]
push eax
push 2
lea eax, [ebp + 0x14]
push eax
call fcn.70dce406
movzx eax, word [ebp + 0x14]
mov ecx, dword [ebp + 0x74]
push 0
lea edx, [ebp + 0x4c]
push edx
push edi
lea eax, [ecx + eax*2 + 0x400]
push edi
push eax
push ecx
mov dword [ebp + 0x60], eax
call fcn.70dce721
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
lea eax, [ebp + 0x14]
mov word [ebx + esi*4], di
push eax
inc esi
call fcn.70dce406
movzx eax, word [ebp + 0x14]
mov ecx, dword [ebp + 0x74]
push 0
lea edx, [ebp + 0x4c]
push edx
push edi
lea eax, [ecx + eax*2 + 0x200]
push edi
push eax
push ecx
mov dword [ebp + 0x68], eax
call fcn.70dce721
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
lea eax, [ebp + 0x14]
mov word [ebx + esi*4], 2
push eax
inc esi
call fcn.70dce406
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
push dword [ebp + 0x74]
call fcn.70dce721
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
lea eax, [ebp + 0x14]
mov word [ebx + esi*4], 5
push eax
inc esi
call fcn.70dce406
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
push dword [ebp + 0x74]
call fcn.70dce721
mov word [ebx + esi*4 + 2], ax
mov word [ebx + esi*4], 6
and word [ebx + esi*4 + 6], 0
inc esi
lea eax, [ebp + 0x4c]
mov word [ebx + esi*4], 0x6003
inc esi
push eax
push 2
lea eax, [ebp + 0x14]
push eax
call fcn.70dce406
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x60]
push dword [ebp + 0x74]
call fcn.70dce721
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push 2
lea eax, [ebp + 0x14]
mov word [ebx + esi*4], 4
push eax
inc esi
call fcn.70dce406
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x60]
push dword [ebp + 0x74]
call fcn.70dce721
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
lea eax, [ebp + 0x14]
mov word [ebx + esi*4], 0x9804
push eax
inc esi
call fcn.70dce406
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
push dword [ebp + 0x74]
call fcn.70dce721
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
lea eax, [ebp + 0x14]
mov word [ebx + esi*4], 0xa000
push eax
inc esi
call fcn.70dce406
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
lea esi, [ebx + esi*4]
push dword [ebp + 0x74]
call fcn.70dce721
and word [esi], 0
mov word [esi + 2], ax
mov dword [ebp + 0x44], 0x600
mov edx, dword [ebp + 0x44]
mov esi, dword [ebp + 0x34]
movzx eax, dh
xor ecx, ecx
mov ch, byte [esi + eax*2]
mov cl, dl
add edx, 0xfffffa00
mov dword [ebp + 0x5c], edx
movzx ecx, word [esi + ecx*2]
mov eax, ecx
and eax, 0x3ff
cmp ax, 9
jb 0x70dcf410
movzx esi, ax
add esi, dword [ebp + 0x48]
movzx eax, cx
shr eax, 0xa
dec eax
dec eax
je 0x70dcf3c0
dec eax
dec eax
je 0x70dcf391
sub eax, 4
je 0x70dcf382
push 0
push edi
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.70dcda5c
test ax, ax
mov dword [ebp + 0x64], eax
jne 0x70dcf366
mov dword [ebp + 0x64], edi
lea eax, [ebp + 0x4c]
push eax
push 2
lea eax, [ebp + 0x14]
push eax
call fcn.70dce406
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x60]
jmp 0x70dcf3f7
lea esi, [ebx + esi*4]
and word [esi + 2], 0
mov word [esi], 0x6003
jmp 0x70dcf410
lea eax, [ebp + 0x4c]
push eax
push edi
lea eax, [ebp + 0x14]
push eax
call fcn.70dce406
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
lea esi, [ebx + esi*4]
push dword [ebp + 0x74]
call fcn.70dce721
mov word [esi + 2], ax
mov word [esi], 5
jmp 0x70dcf410
push edi
push edi
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.70dcda5c
test ax, ax
mov dword [ebp + 0x64], eax
jne 0x70dcf3de
mov dword [ebp + 0x64], 2
lea eax, [ebp + 0x4c]
push eax
push edi
lea eax, [ebp + 0x14]
push eax
call fcn.70dce406
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
push dword [ebp + 0x74]
lea esi, [ebx + esi*4]
call fcn.70dce721
mov word [esi + 2], ax
mov eax, dword [ebp + 0x64]
and ax, 0x7ff
mov word [esi], ax
inc dword [ebp + 0x44]
cmp word [ebp + 0x44], 0x700
jb 0x70dcf304
mov eax, dword [ebp + 0x3c]
movzx eax, word [eax + 2]
inc dword [ebp + 0x38]
add dword [ebp + 0x40], 6
cmp dword [ebp + 0x38], eax
jl 0x70dceb98
mov eax, dword [ebp + 0x3c]
and dword [ebp + 0x38], 0
cmp word [eax + 2], 0
jbe 0x70dcf9ea
add eax, 4
mov dword [ebp + 0x68], eax
mov ecx, dword [ebp + 0x68]
movzx eax, word [ecx + 4]
movzx ecx, word [ecx]
add eax, dword [ebp + 0x3c]
push 0x10
lea edx, [ebp + 0x60]
push edx
lea edx, [ebp + 0x10]
push edx
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp + 0x14]
push edx
push ecx
push eax
push dword [ebp + 0x74]
mov dword [ebp + 0xc], eax
call fcn.70dce7cd
test eax, eax
je 0x70dcf9d3
mov ecx, dword [ebp + 0x68]
push 2
pop eax
cmp word [ecx], ax
mov dword [ebp + 0x64], eax
jb 0x70dcf9d3
mov eax, dword [ebp + 0x10]
and al, 3
neg al
sbb eax, eax
neg eax
mov dword [ebp + 0x44], eax
push dword [ebp + 0x44]
movzx edi, word [ebp + 0x64]
push edi
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.70dcda5c
movzx esi, ax
mov eax, dword [ebp + 0x74]
imul esi, dword [eax + 0x818]
push edi
lea eax, [ebp + 0x14]
push eax
mov dword [ebp + 0x60], esi
call fcn.70dcdb30
test eax, eax
je 0x70dcf5d0
mov ax, word [ebp + 0x64]
mov ecx, dword [ebp + 0x68]
cmp ax, word [ecx]
lea eax, [ebp + 0x4c]
push 0
push eax
lea eax, [ebp + 0x14]
jne 0x70dcf55c
push 1
push edi
push eax
call fcn.70dce42b
mov eax, dword [ebp + 0x68]
add eax, 2
and dword [ebp + 0x40], 0
mov dword [ebp + 0x60], eax
lea esi, [ebx + esi*4]
push 1
lea eax, [ebp + 0x4c]
push eax
push edi
push 1
push dword [ebp + 0x60]
push dword [ebp + 0x74]
call fcn.70dce721
mov word [esi + 2], ax
mov eax, dword [ebp + 0x40]
add dword [ebp + 0x40], 4
lea eax, [eax + 0x70e6129c]
mov cx, word [eax]
xor cx, word [esi]
and cx, 0x7ff
xor word [esi], cx
mov cx, word [esi]
mov dx, word [eax]
xor dx, cx
and dx, 0x7ff
xor dx, word [eax]
mov word [esi], dx
add esi, 4
cmp dword [ebp + 0x40], 0x24
jb 0x70dcf507
jmp 0x70dcf9c0
push 0
push edi
push eax
call fcn.70dce42b
lea esi, [ebx + esi*4]
xor edi, edi
xor eax, eax
mov ax, word [esi + 2]
push eax
push dword [ebp + 0x74]
call fcn.70dce343
test eax, eax
jne 0x70dcf5c0
push eax
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x64]
push eax
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x74]
call fcn.70dce721
mov word [esi + 2], ax
lea eax, [edi + 0x70e6129c]
mov cx, word [eax]
xor cx, word [esi]
and cx, 0x7ff
xor word [esi], cx
mov cx, word [esi]
mov dx, word [eax]
xor dx, cx
and dx, 0x7ff
xor dx, word [eax]
mov word [esi], dx
add edi, 4
add esi, 4
cmp edi, 0x24
jb 0x70dcf56a
jmp 0x70dcf9c0
mov eax, dword [ebp + 0x68]
xor ecx, ecx
mov cx, word [eax]
lea eax, [edi + edi]
mov dword [ebp + 0x48], eax
xor esi, esi
mov si, word [ebp + eax + 0x12]
movzx eax, cx
mov dword [ebp + 0x40], ecx
mov ecx, dword [ebp + 0xc]
sub eax, edi
movzx eax, word [ecx + eax*2]
push eax
push esi
push dword [ebp + 0x74]
call fcn.70dce36f
movzx edx, si
test byte [edx + 0x70e610a0], 6
mov dword [ebp + 0x34], eax
je 0x70dcf61e
mov ax, word [ebp + 0x40]
cmp word [ebp + 0x64], ax
jne 0x70dcf61e
mov dword [ebp + 0x34], 1
mov ecx, dword [ebp + 0x48]
mov eax, ecx
shr ecx, 2
lea esi, [ebp - 0x14]
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x74]
mov ax, word [eax + edx*2 + 0x200]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x48]
mov word [ebp + ecx - 0x36], ax
mov eax, dword [ebp + 0x68]
mov ax, word [eax]
xor edi, edi
cmp word [ebp + 0x64], ax
mov eax, dword [ebp + 0x60]
lea esi, [ebx + eax*4]
jne 0x70dcf883
cmp word [ebp + 0x34], 1
jne 0x70dcf733
movzx eax, word [edi + 0x70e612e6]
sub eax, 0
je 0x70dcf6f2
dec eax
je 0x70dcf6ba
dec eax
jne 0x70dcf71f
push 0
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x64]
push 0
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.70dce42b
xor eax, eax
mov ax, word [esi + 2]
push eax
push dword [ebp + 0x74]
call fcn.70dce343
test eax, eax
jne 0x70dcf71f
push eax
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x64]
push eax
push eax
lea eax, [ebp - 0x14]
jmp 0x70dcf6e3
push 0
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x64]
push 1
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.70dce42b
push 0
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x64]
push eax
mov eax, dword [ebp + 0x68]
push 1
add eax, 2
push eax
push dword [ebp + 0x74]
call fcn.70dce721
mov word [esi + 2], ax
jmp 0x70dcf6f7
and word [esi + 2], 0
lea eax, [edi + 0x70e612e4]
mov cx, word [eax]
xor cx, word [esi]
and cx, 0x7ff
xor word [esi], cx
mov dx, word [eax]
mov cx, word [esi]
xor dx, cx
and dx, 0x7ff
xor dx, word [eax]
mov word [esi], dx
add edi, 4
add esi, 4
cmp edi, 0x24
jb 0x70dcf66b
jmp 0x70dcf9c0
mov dword [ebp + 0x60], edi
movzx eax, word [edi + 0x70e612c2]
sub eax, 0
je 0x70dcf83f
dec eax
je 0x70dcf7ff
dec eax
jne 0x70dcf86c
movzx eax, word [ebp + 0x64]
mov dword [ebp + 0x5c], eax
lea eax, [ebp + 0x4c]
push eax
push 3
lea eax, [ebp + 0x14]
push eax
call fcn.70dce406
xor edx, edx
inc edx
cmp dword [ebp + 0x5c], 2
jbe 0x70dcf79e
lea eax, [ebp + 0x16]
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffffe
mov dword [ebp + 0x48], eax
dec dword [ebp + 0x5c]
lea eax, [ebp + edx + 0x4c]
push eax
push 2
push dword [ebp + 0x60]
call fcn.70dce406
add dword [ebp + 0x60], 2
inc edx
dec dword [ebp + 0x48]
jne 0x70dcf782
cmp dword [ebp + 0x5c], 1
jbe 0x70dcf7cb
lea eax, [ebp + edx + 0x4c]
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x5c]
dec eax
lea edx, [ebp + edx*2 + 0x14]
mov dword [ebp + 0x48], eax
push dword [ebp + 0x60]
push 1
push edx
call fcn.70dce406
inc dword [ebp + 0x60]
inc edx
inc edx
dec dword [ebp + 0x48]
jne 0x70dcf7b6
xor eax, eax
mov ax, word [esi + 2]
push eax
push dword [ebp + 0x74]
call fcn.70dce343
test eax, eax
jne 0x70dcf86c
push eax
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x64]
push eax
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x74]
call fcn.70dce721
mov word [esi + 2], ax
jmp 0x70dcf844
movzx edi, word [ebp + 0x64]
push 1
lea eax, [ebp + 0x4c]
push eax
push 1
push edi
lea eax, [ebp + 0x14]
push eax
call fcn.70dce42b
push 0
lea eax, [ebp + 0x4c]
push eax
mov eax, dword [ebp + 0x68]
push edi
push 1
add eax, 2
push eax
push dword [ebp + 0x74]
call fcn.70dce721
mov edi, dword [ebp + 0x60]
mov word [esi + 2], ax
mov eax, dword [ebp + 0x60]
lea eax, [eax + 0x70e612c0]
jmp 0x70dcf84a
and word [esi + 2], 0
lea eax, [edi + 0x70e612c0]
mov cx, word [esi]
xor cx, word [eax]
and cx, 0x7ff
xor word [esi], cx
mov dx, word [eax]
mov cx, word [esi]
xor dx, cx
and dx, 0x7ff
xor dx, word [eax]
mov word [esi], dx
add edi, 4
add esi, 4
cmp edi, 0x24
mov dword [ebp + 0x60], edi
jb 0x70dcf736
jmp 0x70dcf9c0
movzx eax, word [edi + 0x70e612e6]
sub eax, 0
je 0x70dcf984
dec eax
je 0x70dcf93e
dec eax
jne 0x70dcf9b1
movzx eax, word [ebp + 0x64]
mov dword [ebp + 0x5c], eax
lea eax, [ebp + 0x4c]
push eax
push 3
lea eax, [ebp + 0x14]
push eax
call fcn.70dce406
xor edx, edx
inc edx
cmp dword [ebp + 0x5c], 2
jbe 0x70dcf8eb
lea eax, [ebp + 0x16]
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffffe
mov dword [ebp + 0x48], eax
dec dword [ebp + 0x5c]
lea eax, [ebp + edx + 0x4c]
push eax
push 2
push dword [ebp + 0x60]
call fcn.70dce406
add dword [ebp + 0x60], 2
inc edx
dec dword [ebp + 0x48]
jne 0x70dcf8cf
mov eax, dword [ebp + 0x5c]
cmp eax, 1
jbe 0x70dcf917
lea ecx, [ebp + edx + 0x4c]
dec eax
mov dword [ebp + 0x60], ecx
lea edx, [ebp + edx*2 + 0x14]
mov dword [ebp + 0x48], eax
push dword [ebp + 0x60]
push 1
push edx
call fcn.70dce406
inc dword [ebp + 0x60]
inc edx
inc edx
dec dword [ebp + 0x48]
jne 0x70dcf902
xor eax, eax
mov ax, word [esi + 2]
push eax
push dword [ebp + 0x74]
call fcn.70dce343
test eax, eax
jne 0x70dcf9b1
push eax
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x64]
push eax
push eax
lea eax, [ebp - 0x14]
jmp 0x70dcf975
push 0
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x64]
push 0
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.70dce42b
xor eax, eax
mov ax, word [esi + 2]
push eax
push dword [ebp + 0x74]
call fcn.70dce343
test eax, eax
jne 0x70dcf9b1
push eax
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x64]
push eax
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x74]
call fcn.70dce721
mov word [esi + 2], ax
jmp 0x70dcf989
and word [esi + 2], 0
lea eax, [edi + 0x70e612e4]
mov cx, word [eax]
xor cx, word [esi]
and cx, 0x7ff
xor word [esi], cx
mov dx, word [eax]
mov cx, word [esi]
xor dx, cx
and dx, 0x7ff
xor dx, word [eax]
mov word [esi], dx
add edi, 4
add esi, 4
cmp edi, 0x24
jb 0x70dcf883
inc dword [ebp + 0x64]
mov eax, dword [ebp + 0x68]
mov cx, word [ebp + 0x64]
cmp cx, word [eax]
jbe 0x70dcf4a2
mov eax, dword [ebp + 0x3c]
movzx eax, word [eax + 2]
inc dword [ebp + 0x38]
add dword [ebp + 0x68], 6
cmp dword [ebp + 0x38], eax
jl 0x70dcf44e
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
add ebp, 0x6c
leave
ret 0xc