Function at 0x563340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x93500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
xor edx, edx
push ebx
push esi
push edi
mov eax, dword [ecx + 0x358]
mov edi, dword [ecx + 0x368]
mov ebx, dword [ecx + 0x364]
mov esi, dword [ecx + 0x36c]
mov dword [ebp - 0x154], ecx
mov ecx, 0x14
mov dword [ebp - 0x150], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x140], esi
cmp edx, ecx
jbe 0x5633e0
inc ecx
movzx eax, cx
cmp eax, edx
jb 0x5633c1
lea eax, [edx - 0x14]
movzx ecx, ax
lea edi, [esi + 0x28]
shr ecx, 1
mov eax, 0x140014
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
lea eax, [edx - 0x14]
mov byte [ebp - 0x101], 0
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x118], 0
nop word [eax + eax]
xor esi, esi
mov dword [ebp - 0x10c], 0x14
mov dword [ebp - 0x134], esi
cmp eax, 0x14
jbe 0x5634bb
mov eax, dword [ebp + 0xc]
mov edx, 0x14
add eax, 0xffffffec
mov dword [ebp - 0x12c], eax
nop dword [eax]
mov eax, dword [ebp - 0x140]
movzx ecx, word [eax + edx*2]
lea eax, [eax + edx*2]
mov dword [ebp - 0x13c], eax
mov eax, ecx
cmp eax, dword [ebp - 0x12c]
jae 0x563499
nop dword [eax]
imul eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov bl, byte [ebp - 0x101]
add eax, edx
cmp byte [eax + edi], bl
mov ebx, dword [ebp - 0x130]
mov edi, dword [ebp - 0x128]
ja 0x56347e
inc ecx
movzx eax, cx
cmp eax, dword [ebp - 0x12c]
jb 0x563450
jmp 0x563499
mov edx, dword [ebp - 0x10c]
movzx eax, si
inc esi
mov word [edi + eax*2], cx
mov word [ebx + eax*2], dx
mov eax, dword [ebp - 0x13c]
mov word [eax], cx
mov eax, dword [ebp - 0x10c]
inc eax
movzx edx, ax
mov dword [ebp - 0x10c], eax
cmp edx, dword [ebp - 0x108]
jb 0x563430
mov dword [ebp - 0x134], esi
xor edi, edi
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x12c], edi
xor eax, eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x114], edx
cmp ax, si
jae 0x563610
movzx eax, si
mov dword [ebp - 0x13c], eax
lea eax, [edx + 1]
or ecx, 0xffffffff
movzx esi, ax
mov dword [ebp - 0x120], ecx
cmp si, word [ebp - 0x134]
jae 0x563563
mov edi, dword [ebp - 0x134]
nop word [eax + eax]
movzx edx, si
movzx eax, word [ebx + edx*2 - 2]
movzx ecx, word [ebx + edx*2]
sub ecx, eax
cmp ecx, 1
jg 0x563551
mov ecx, dword [ebp - 0x128]
movzx eax, word [ecx + edx*2 - 2]
movzx ecx, word [ecx + edx*2]
sub ecx, eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jg 0x563551
movzx ecx, si
inc esi
mov dword [ebp - 0x120], ecx
cmp si, di
jb 0x563510
jmp 0x563557
mov ecx, dword [ebp - 0x120]
mov edi, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x114]
movsx eax, cx
mov dword [ebp - 0x114], eax
cmp eax, dword [ebp - 0x13c]
jge 0x5635e0
cmp cx, 0xffff
je 0x5635e0
lea esi, [eax - 5]
movzx eax, dx
cmp esi, eax
jle 0x5635e0
cmp eax, esi
jge 0x5635dd
mov ebx, dword [ebp - 0x128]
movzx esi, dx
movzx ecx, word [ebx + eax*2 + 0xa]
inc esi
movzx eax, word [ebx + eax*2]
sub eax, ecx
cdq
mov ecx, eax
movzx eax, di
xor ecx, edx
inc edi
sub ecx, edx
mov edx, dword [ebp - 0x144]
mov word [edx + eax*2], cx
movzx eax, cx
add dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x114]
movzx eax, si
add ecx, 0xfffffffb
cmp eax, ecx
jl 0x563591
mov ebx, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x12c], edi
movzx edx, cx
inc edx
mov dword [ebp - 0x114], edx
cmp dx, word [ebp - 0x134]
jb 0x5634e7
test di, di
je 0x56360a
mov eax, dword [ebp - 0x11c]
xor edx, edx
movzx ecx, di
div ecx
mov ecx, eax
jmp 0x563610
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
xor eax, eax
mov dword [ebp + edx - 0x100], 0
cmp ax, di
jae 0x563680
mov edx, dword [ebp - 0x144]
xor esi, esi
movzx eax, di
mov dword [ebp - 0x13c], eax
mov ebx, eax
nop dword [eax + eax]
movzx eax, word [edx]
lea edx, [edx + 2]
sub eax, ecx
imul eax, eax
add esi, eax
sub ebx, 1
jne 0x563640
mov edx, dword [ebp - 0x118]
mov ebx, dword [ebp - 0x130]
mov dword [ebp + edx - 0x100], esi
test di, di
je 0x563680
mov eax, esi
cdq
idiv dword [ebp - 0x13c]
mov edx, dword [ebp - 0x118]
mov dword [ebp + edx - 0x100], eax
mov ecx, dword [ebp + edx - 0x100]
mov eax, ecx
mov esi, dword [ebp - 0x110]
neg eax
mov dword [ebp + edx - 0x54], eax
cmp ecx, 0x4e20
jle 0x5636bd
test esi, esi
jne 0x5636bd
mov al, byte [ebp - 0x101]
mov esi, 1
movzx ecx, al
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x138], ecx
jmp 0x5636c3
mov ecx, dword [ebp - 0x138]
mov al, byte [ebp - 0x101]
add edx, 4
inc al
mov dword [ebp - 0x118], edx
mov byte [ebp - 0x101], al
cmp al, 0x14
mov eax, dword [ebp - 0x108]
jb 0x563400
test esi, esi
je 0x563712
movzx edx, cx
movzx eax, cx
cmp edx, 0x14
jge 0x563712
inc eax
cmp ax, 0x14
jb 0x5636f7
mov eax, 0x14
lea edi, [ebp - 0x58]
sub eax, ecx
lea edi, [edi + edx*4]
movzx ecx, ax
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.005631f0
add esp, 8
test al, al
jne 0x563753
lea ecx, [ebp - 0x54]
mov edx, 0x14
mov eax, dword [ecx]
lea ecx, [ecx + 4]
neg eax
mov dword [ecx - 4], eax
sub edx, 1
jne 0x563731
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.005631f0
add esp, 8
cmp al, 1
je 0x563770
cmp esi, 1
je 0x563770
mov ecx, dword [ebp - 0x94]
mov esi, dword [ebp - 0xa4]
mov dword [ebp - 0x13c], ecx
jmp 0x56377c
mov esi, dword [ebp - 0xa8]
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x12c], esi
mov ecx, 1
cmp esi, 0x11
jle 0x563860
cmp al, 2
jb 0x563860
movzx eax, al
mov dword [ebp - 0x12c], 0x98967f
mov word [ebp - 0x102], ax
cmp cx, ax
ja 0x56384d
mov ebx, ecx
nop word [eax + eax]
movzx eax, bx
mov eax, dword [ebp + eax*4 - 0xac]
mov dword [ebp - 0x114], eax
mov esi, dword [ebp + eax*4 - 0x58]
mov edi, dword [ebp + eax*4 - 0x54]
mov ecx, dword [ebp + eax*4 - 0x5c]
mov eax, esi
sub eax, edi
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x10c], eax
mov eax, ecx
sub eax, esi
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp - 0x10c]
add edx, eax
cmp ecx, esi
mov eax, esi
mov dword [ebp - 0x10c], edx
cmovl eax, ecx
cmp esi, edi
cmovl edi, esi
cmp eax, edi
cmovl edi, eax
imul eax, edx, 0x64
cdq
idiv edi
cmp eax, dword [ebp - 0x12c]
jge 0x563839
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x148], eax
inc ebx
cmp bx, word [ebp - 0x102]
jbe 0x5637c0
mov ebx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x148]
mov eax, dword [ebp + eax*4 - 0xac]
mov dword [ebp - 0x12c], eax
mov edx, dword [ebp + 0xc]
mov ecx, 3
cmp edx, ecx
jbe 0x563895
nop dword [eax]
inc ecx
movzx eax, cx
cmp eax, edx
jb 0x563870
mov edi, dword [ebp - 0x140]
lea eax, [edx - 3]
movzx ecx, ax
add edi, 6
shr ecx, 1
mov eax, 0x30003
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor ecx, ecx
lea eax, [edx - 3]
mov dword [ebp - 0x10c], ecx
mov byte [ebp - 0x101], cl
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x11c], ecx
xor edi, edi
mov dword [ebp - 0x110], 3
mov dword [ebp - 0x124], edi
cmp eax, 3
jb 0x563964
mov eax, dword [ebp + 0x10]
mov edx, 3
add eax, 0xfffffffd
mov dword [ebp - 0x114], eax
nop
mov eax, dword [ebp - 0x140]
movzx ecx, word [eax + edx*2]
lea eax, [eax + edx*2]
mov dword [ebp - 0x108], eax
mov eax, ecx
cmp eax, dword [ebp - 0x114]
jae 0x563946
imul edx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
add eax, edx
mov bl, byte [ebp - 0x101]
cmp byte [eax + esi], bl
mov ebx, dword [ebp - 0x130]
mov esi, dword [ebp - 0x128]
ja 0x56392b
inc ecx
movzx eax, cx
cmp eax, dword [ebp - 0x114]
jb 0x563901
jmp 0x563946
mov edx, dword [ebp - 0x110]
movzx eax, di
inc edi
mov word [esi + eax*2], dx
mov word [ebx + eax*2], cx
mov eax, dword [ebp - 0x108]
mov word [eax], cx
mov eax, dword [ebp - 0x110]
inc eax
movzx edx, ax
mov dword [ebp - 0x110], eax
cmp edx, dword [ebp - 0x134]
jbe 0x5638e0
mov dword [ebp - 0x124], edi
xor edi, edi
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x118], edi
xor eax, eax
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x108], ecx
cmp ax, word [ebp - 0x124]
jae 0x563a97
mov edx, dword [ebp - 0x124]
or eax, 0xffffffff
mov dword [ebp - 0x120], eax
lea eax, [ecx + 1]
movzx esi, ax
cmp si, dx
jae 0x563a6b
nop dword [eax]
movzx edi, si
movzx ecx, word [ebx + edi*2 - 2]
movzx eax, word [ebx + edi*2]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jg 0x5639f3
mov ecx, dword [ebp - 0x128]
movzx eax, word [ecx + edi*2 - 2]
movzx ecx, word [ecx + edi*2]
sub ecx, eax
cmp ecx, 1
jg 0x5639f3
movzx eax, si
inc esi
mov dword [ebp - 0x120], eax
cmp si, word [ebp - 0x124]
jb 0x5639b0
jmp 0x5639f9
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x108]
mov edi, dword [ebp - 0x118]
cmp ax, 0xffff
je 0x563a65
cwde
lea edx, [eax - 5]
movzx eax, cx
mov dword [ebp - 0x114], edx
cmp edx, eax
jle 0x563a65
movzx esi, cx
cmp eax, edx
jge 0x563a5c
movzx ecx, word [ebx + eax*2 + 0xa]
inc esi
movzx eax, word [ebx + eax*2]
sub eax, ecx
movzx ecx, di
cdq
inc edi
xor eax, edx
sub eax, edx
mov edx, dword [ebp - 0x144]
mov word [edx + ecx*2], ax
movzx eax, ax
add dword [ebp - 0x110], eax
movzx eax, si
cmp eax, dword [ebp - 0x114]
jl 0x563a23
mov dword [ebp - 0x118], edi
mov eax, dword [ebp - 0x120]
movzx ecx, ax
mov edx, dword [ebp - 0x124]
inc ecx
mov dword [ebp - 0x108], ecx
cmp cx, dx
jb 0x563991
test di, di
je 0x563a91
mov eax, dword [ebp - 0x110]
xor edx, edx
movzx ecx, di
div ecx
mov edx, eax
jmp 0x563a97
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x11c]
mov dword [ebp + eax - 0x100], 0
xor eax, eax
cmp ax, di
jae 0x563b10
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x108], eax
movzx eax, di
mov dword [ebp - 0x114], eax
mov ebx, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
sub eax, edx
imul eax, eax
add dword [ebp - 0x108], eax
sub ebx, 1
jne 0x563ac6
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x108]
mov ebx, dword [ebp - 0x130]
mov dword [ebp + edx - 0x100], eax
test di, di
je 0x563b16
cdq
idiv dword [ebp - 0x114]
mov edx, dword [ebp - 0x11c]
mov dword [ebp + edx - 0x100], eax
jmp 0x563b16
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp + edx - 0x100]
mov eax, ecx
neg eax
cmp ecx, 0x4e20
mov ecx, dword [ebp - 0x10c]
mov dword [ebp + edx - 0x54], eax
jle 0x563b53
test ecx, ecx
jne 0x563b53
mov al, byte [ebp - 0x101]
mov ecx, 1
movzx edi, al
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x138], edi
jmp 0x563b59
mov edi, dword [ebp - 0x138]
mov al, byte [ebp - 0x101]
add edx, 4
inc al
mov dword [ebp - 0x11c], edx
mov byte [ebp - 0x101], al
cmp al, 0x14
mov eax, dword [ebp - 0x134]
jb 0x5638b2
test ecx, ecx
je 0x563bab
movzx edx, di
movzx eax, di
cmp edx, 0x14
jge 0x563bab
nop dword [eax]
inc eax
cmp ax, 0x14
jb 0x563b90
mov eax, 0x14
sub eax, edi
lea edi, [ebp - 0x58]
movzx ecx, ax
lea edi, [edi + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.005631f0
add esp, 8
test al, al
jne 0x563bf2
lea ecx, [ebp - 0x54]
mov edx, 0x14
nop word [eax + eax]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
neg eax
mov dword [ecx - 4], eax
sub edx, 1
jne 0x563bd0
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.005631f0
add esp, 8
cmp al, 1
je 0x563c13
cmp dword [ebp - 0x10c], 1
je 0x563c13
mov edx, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x150], edx
jmp 0x563c19
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x114], ecx
cmp ecx, 0x11
jle 0x563d00
cmp al, 2
jb 0x563d00
movzx eax, al
mov ecx, 1
mov dword [ebp - 0x114], 0x98967f
mov word [ebp - 0x102], ax
cmp cx, ax
ja 0x563ced
mov ebx, ecx
nop dword [eax]
nop dword [eax + eax]
movzx eax, bx
mov eax, dword [ebp + eax*4 - 0xac]
mov dword [ebp - 0x10c], eax
mov esi, dword [ebp + eax*4 - 0x58]
mov edi, dword [ebp + eax*4 - 0x54]
mov ecx, dword [ebp + eax*4 - 0x5c]
mov eax, esi
sub eax, edi
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x108], eax
mov eax, ecx
sub eax, esi
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp - 0x108]
add edx, eax
cmp ecx, esi
mov eax, esi
mov dword [ebp - 0x108], edx
cmovl eax, ecx
cmp esi, edi
cmovl edi, esi
cmp eax, edi
cmovl edi, eax
imul eax, edx, 0x64
cdq
idiv edi
cmp eax, dword [ebp - 0x114]
jge 0x563cd9
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x148], eax
inc ebx
cmp bx, word [ebp - 0x102]
jbe 0x563c60
mov ebx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp + eax*4 - 0xac]
mov dword [ebp - 0x114], ecx
mov edi, dword [ebp + 0xc]
mov ecx, 3
mov esi, dword [ebp + 0x10]
cmp edi, ecx
jbe 0x563d5f
mov eax, dword [ebp - 0x134]
cmp eax, 0x10
jb 0x563d5f
mov ebx, dword [ebp - 0x140]
and eax, 0xf
mov edx, edi
sub edx, eax
movsx eax, si
movd xmm0, eax
mov eax, ecx
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
psubw xmm0, xmmword [0x6a2e90]
movups xmmword [ebx + eax*2], xmm0
lea eax, [ecx + 8]
add ecx, 0x10
movzx eax, ax
movups xmmword [ebx + eax*2], xmm0
movzx eax, cx
cmp eax, edx
jb 0x563d41
mov ebx, dword [ebp - 0x130]
movzx eax, cx
cmp eax, edi
jae 0x563d7c
lea edx, [esi - 3]
mov esi, dword [ebp - 0x140]
nop
inc ecx
mov word [esi + eax*2], dx
movzx eax, cx
cmp eax, edi
jb 0x563d70
xor eax, eax
mov dword [ebp - 0x110], eax
mov byte [ebp - 0x101], al
mov dword [ebp - 0x120], eax
xor esi, esi
mov edi, 3
mov dword [ebp - 0x124], esi
cmp dword [ebp - 0x134], edi
jbe 0x563e2a
mov edx, edi
nop dword [eax + eax]
mov eax, dword [ebp - 0x140]
movzx ecx, word [eax + edx*2]
lea eax, [eax + edx*2]
mov dword [ebp - 0x108], eax
cmp ecx, 3
jbe 0x563e1e
imul edx, dword [ebp + 0x10]
nop dword [eax]
mov esi, dword [ebp + 8]
mov bl, byte [ebp - 0x101]
movzx eax, cx
add eax, edx
cmp byte [eax + esi], bl
mov ebx, dword [ebp - 0x130]
mov esi, dword [ebp - 0x124]
ja 0x563dfd
add ecx, 0xffff
cmp cx, 3
ja 0x563dd0
jmp 0x563e1e
mov edx, dword [ebp - 0x128]
movzx eax, si
inc esi
mov dword [ebp - 0x124], esi
mov word [edx + eax*2], di
mov word [ebx + eax*2], cx
mov eax, dword [ebp - 0x108]
mov word [eax], cx
inc edi
movzx edx, di
cmp edx, dword [ebp - 0x134]
jb 0x563db0
xor edi, edi
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x11c], edi
xor eax, eax
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x108], ecx
cmp ax, si
jae 0x563f77
nop dword [eax]
or eax, 0xffffffff
mov dword [ebp - 0x10c], eax
lea eax, [ecx + 1]
movzx esi, ax
cmp si, word [ebp - 0x124]
jae 0x563f53
nop dword [eax]
movzx edi, si
movzx ecx, word [ebx + edi*2 - 2]
movzx eax, word [ebx + edi*2]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jg 0x563eb3
mov ecx, dword [ebp - 0x128]
movzx eax, word [ecx + edi*2 - 2]
movzx ecx, word [ecx + edi*2]
sub ecx, eax
cmp ecx, 1
jg 0x563eb3
movzx eax, si
inc esi
mov dword [ebp - 0x10c], eax
cmp si, word [ebp - 0x124]
jb 0x563e70
jmp 0x563eb9
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x108]
mov edi, dword [ebp - 0x11c]
cmp ax, 0xffff
je 0x563f4d
cwde
lea edx, [eax - 5]
movzx eax, cx
mov dword [ebp - 0x14c], edx
cmp edx, eax
jle 0x563f4d
movzx esi, cx
cmp eax, edx
jge 0x563f3c
nop word [eax + eax]
movzx ecx, word [ebx + eax*2 + 0xa]
inc esi
movzx eax, word [ebx + eax*2]
sub eax, ecx
movzx ecx, di
cdq
inc edi
xor eax, edx
sub eax, edx
mov edx, dword [ebp - 0x144]
mov word [edx + ecx*2], ax
mov edx, dword [ebp - 0x118]
movzx eax, ax
add edx, eax
movzx eax, si
mov dword [ebp - 0x118], edx
cmp eax, dword [ebp - 0x14c]
jl 0x563ef0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x11c], edi
movzx ecx, ax
jmp 0x563f53
mov eax, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x118]
movzx ecx, ax
jmp 0x563f53
mov edx, dword [ebp - 0x118]
inc ecx
mov dword [ebp - 0x108], ecx
cmp cx, word [ebp - 0x124]
jb 0x563e50
test di, di
je 0x563f77
mov eax, edx
movzx ecx, di
xor edx, edx
div ecx
mov edx, eax
mov eax, dword [ebp - 0x120]
mov dword [ebp + eax - 0x100], 0
xor eax, eax
cmp ax, di
jae 0x563fe4
mov ecx, dword [ebp - 0x144]
xor esi, esi
movzx eax, di
mov dword [ebp - 0x14c], eax
mov ebx, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
sub eax, edx
imul eax, eax
add esi, eax
sub ebx, 1
jne 0x563fa2
mov edx, dword [ebp - 0x120]
mov ebx, dword [ebp - 0x130]
mov dword [ebp + edx - 0x100], esi
test di, di
je 0x563fea
mov eax, esi
cdq
idiv dword [ebp - 0x14c]
mov edx, dword [ebp - 0x120]
mov dword [ebp + edx - 0x100], eax
jmp 0x563fea
mov edx, dword [ebp - 0x120]
mov ecx, dword [ebp + edx - 0x100]
mov eax, ecx
neg eax
cmp ecx, 0x4e20
mov ecx, dword [ebp - 0x110]
mov dword [ebp + edx - 0x54], eax
jle 0x564027
test ecx, ecx
jne 0x564027
mov al, byte [ebp - 0x101]
mov ecx, 1
movzx esi, al
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x138], esi
jmp 0x56402d
mov esi, dword [ebp - 0x138]
mov al, byte [ebp - 0x101]
add edx, 4
inc al
mov dword [ebp - 0x120], edx
mov byte [ebp - 0x101], al
cmp al, 0x14
jb 0x563d90
test ecx, ecx
je 0x56407b
movzx edx, si
movzx eax, si
cmp edx, 0x14
jge 0x56407b
nop dword [eax + eax]
inc eax
cmp ax, 0x14
jb 0x564060
mov eax, 0x14
lea edi, [ebp - 0x58]
sub eax, esi
lea edi, [edi + edx*4]
movzx ecx, ax
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.005631f0
mov cl, al
add esp, 8
test cl, cl
jne 0x5640ec
lea ecx, [ebp - 0x54]
mov edx, 0x14
nop dword [eax]
mov eax, dword [ecx]
neg eax
mov dword [ecx], eax
add ecx, 4
sub edx, 1
jne 0x5640a0
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.005631f0
mov cl, al
add esp, 8
mov byte [ebp - 0x101], cl
test cl, cl
jne 0x5640ec
push 0x53f
push str.srcDeskewlib_deskew_preprocess.c
push str.u8_m
call fcn.005f79c0
mov cl, byte [ebp - 0x101]
add esp, 0xc
jmp 0x5640f1
cmp cl, 1
je 0x56410e
cmp dword [ebp - 0x110], 1
je 0x56410e
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x110], edx
jmp 0x56411a
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x110], eax
cmp eax, 0x11
jle 0x5641e4
cmp cl, 2
jb 0x5641e4
movzx eax, cl
mov ebx, 1
mov ecx, ebx
mov dword [ebp - 0x10c], 0x98967f
mov word [ebp - 0x102], ax
cmp cx, ax
ja 0x5641d7
movzx eax, bx
mov eax, dword [ebp + eax*4 - 0xac]
mov dword [ebp - 0x14c], eax
mov esi, dword [ebp + eax*4 - 0x58]
mov edi, dword [ebp + eax*4 - 0x54]
mov ecx, dword [ebp + eax*4 - 0x5c]
mov eax, esi
sub eax, edi
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x108], eax
mov eax, ecx
sub eax, esi
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp - 0x108]
add edx, eax
cmp ecx, esi
mov eax, esi
mov dword [ebp - 0x108], edx
cmovl eax, ecx
cmp esi, edi
cmovl edi, esi
cmp eax, edi
cmovl edi, eax
imul eax, edx, 0x64
cdq
idiv edi
cmp eax, dword [ebp - 0x10c]
jge 0x5641c9
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x148], eax
inc ebx
cmp bx, word [ebp - 0x102]
jbe 0x564150
mov eax, dword [ebp - 0x148]
mov eax, dword [ebp + eax*4 - 0xac]
mov edx, dword [ebp - 0x114]
cmp dword [ebp - 0x12c], edx
mov ebx, dword [ebp - 0x150]
cmovg edx, dword [ebp - 0x12c]
cmp dword [ebp - 0x13c], ebx
mov ecx, dword [ebp - 0x110]
cmovg ebx, dword [ebp - 0x13c]
mov esi, dword [ebp - 0x154]
cmp ebx, ecx
pop edi
cmovg ecx, ebx
cmp edx, eax
mov dword [esi + 0x34c], ecx
cmovg eax, edx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0052bbde
mov esp, ebp
pop ebp
ret