Function at 0x6426da4d
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
cmp dword [esi + 0x20], 0
je 0x6426de6b
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x6426de6b
lea eax, [ecx + 0x90]
test eax, eax
je 0x6426da84
mov eax, dword [eax]
test eax, eax
je 0x6426da84
mov eax, dword [eax + 4]
jmp 0x6426da86
xor eax, eax
mov edi, dword [esi + 0x70]
cmp edi, dword [ecx + 8]
jb 0x6426dd6a
push 8
pop ebx
cmp eax, 6
je 0x6426dd74
cmp eax, ebx
je 0x6426dd74
cmp eax, 2
jne 0x6426de6b
xor edx, edx
and dword [esp + 0x10], edx
cmp dword [esi + 0xc], eax
jl 0x6426dac1
mov edx, dword [ecx + 0xc]
mov ebp, edx
jmp 0x6426dac4
mov ebp, dword [ecx + 0xc]
lea eax, [edx + ebp]
cmp edi, eax
jb 0x6426dd6a
mov eax, dword [ecx + 0x14]
inc eax
add eax, edx
cmp edi, eax
jb 0x6426dd6a
mov eax, dword [esi + 0x64]
xor edx, edx
mov dword [esp + 0x14], eax
mov eax, edi
div ebp
test edx, edx
jne 0x6426dd6a
cmp dword [esi + 0xc], 2
jl 0x6426db18
sub edi, ebp
mov dword [esi + 0x70], edi
cmp dword [ecx + 0xc], edx
jbe 0x6426db18
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x34]
mov al, byte [edx + eax]
mov byte [edx + ecx + 0x28], al
inc edx
mov eax, dword [esi + 0x34]
cmp edx, dword [eax + 0xc]
jb 0x6426db02
mov ecx, dword [esi + 0x34]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push eax
push edi
push eax
push dword [ecx + 0xc]
lea edx, [ecx + 0x28]
add ecx, 0x90
call fcn.6426482e
add esp, 0x14
test eax, eax
jne 0x6426de70
cmp edi, dword [esp + 0x10]
jne 0x6426de6b
mov edx, dword [esi + 0x70]
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x64]
mov dword [esp + 0x18], edx
mov ecx, dword [ecx + 0x14]
movzx eax, byte [edx + eax - 1]
inc ecx
add ecx, eax
cmp edx, ecx
sbb ebp, ebp
xor edi, edi
inc ebp
inc eax
cmp edx, ecx
mov dword [esp + 0x14], ebp
cmovae edi, eax
cmp dword [esi + 0xc], 0
jle 0x6426de6b
and dword [esp + 0x10], 0
lea eax, [edi + 1]
xor ebp, ebp
mov ecx, edx
sub ecx, edi
xor ebx, ebx
inc ebp
dec ecx
cmp edx, eax
mov edx, dword [esi + 0x34]
push 8
cmovae ebx, dword [esp + 0x18]
mov eax, dword [edx + 0x14]
lea edx, [edi - 1]
add eax, 0x4000
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x1c]
cmp ecx, eax
sbb eax, eax
neg eax
and ebx, eax
mov dword [esp + 0x24], ebx
imul ebx, ecx
mov ecx, ebp
add ebx, dword [esi + 0x64]
mov dword [esp + 0x18], ebx
mov esi, ebx
pop ebx
xor eax, eax
cmp ecx, edi
cmovbe eax, ebp
mov ebp, eax
movzx eax, byte [esi + ecx]
sub eax, dword [esp + 0x1c]
neg eax
sbb eax, eax
inc eax
imul eax, ebp
add dword [esp + 0x10], eax
inc ecx
cmp ecx, 0x100
jbe 0x6426dbcc
mov esi, dword [esp + 0x24]
xor eax, eax
cmp dword [esp + 0x10], edi
cmove eax, dword [esp + 0x20]
imul ebp, eax, 0x1ff
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x34]
and ebp, edi
sub edx, ebp
mov dword [esi + 0x70], edx
sub edx, dword [eax + 0x14]
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x70], edx
shr edx, 8
mov byte [eax], dl
mov ecx, dword [esi + 0x5c]
mov al, byte [esi + 0x70]
mov byte [ecx + 1], al
mov eax, dword [esi + 0x34]
push dword [eax + 0x14]
mov eax, dword [esi + 0x70]
add eax, dword [esi + 0x64]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.642921cb
add esp, 0xc
cmp dword [esi + 0xc], 0
jle 0x6426de6b
mov eax, dword [esi + 0x70]
lea edi, [eax + 0x15]
add eax, 0x15
add edi, ebp
shr eax, 6
shr edi, 6
sub edi, eax
imul eax, dword [esp + 0x10], 0xff
and edi, eax
mov eax, dword [esi + 0x34]
mov edx, eax
lea ecx, [eax + 0x44]
test ecx, ecx
je 0x6426dc88
mov edx, dword [esi + 0x54]
push ebx
call fcn.64266185
mov eax, dword [esi + 0x34]
mov edx, eax
pop ecx
lea ecx, [edx + 0x44]
test ecx, ecx
je 0x6426dc9f
mov edx, dword [esi + 0x58]
push 3
call fcn.64266185
mov eax, dword [esi + 0x34]
mov edx, eax
pop ecx
lea ecx, [edx + 0x44]
test ecx, ecx
je 0x6426dcb6
mov edx, dword [esi + 0x5c]
push 2
call fcn.64266185
mov eax, dword [esi + 0x34]
mov edx, eax
pop ecx
lea ecx, [edx + 0x44]
test ecx, ecx
je 0x6426dcce
push dword [esi + 0x70]
mov edx, dword [esi + 0x64]
call fcn.64266185
mov eax, dword [esi + 0x34]
mov edx, eax
pop ecx
lea ecx, [edx + 0x44]
test ecx, ecx
je 0x6426dce5
mov edx, dword [esi + 0x70]
add edx, dword [esi + 0x64]
call fcn.642661a8
mov eax, dword [esi + 0x34]
mov edx, eax
add edi, 1
je 0x6426dd0e
mov edx, eax
lea ecx, [eax + 0x44]
test ecx, ecx
je 0x6426dd09
mov ebp, dword [ecx]
test ebp, ebp
je 0x6426dd09
push dword [esi + 0x64]
push dword [ecx + 4]
call dword [ebp + 0x2c]
mov eax, dword [esi + 0x34]
mov edx, eax
pop ecx
pop ecx
sub edi, 1
jne 0x6426dcec
lea ecx, [edx + 0x44]
test ecx, ecx
je 0x6426dd1d
call fcn.6426620e
mov edx, dword [esi + 0x34]
mov edi, dword [esi + 0x70]
xor ch, ch
add edi, dword [esi + 0x64]
xor ebp, ebp
mov edx, dword [edx + 0x14]
test edx, edx
je 0x6426dd46
lea eax, [esp + 0x38]
sub edi, eax
lea eax, [esp + 0x38]
add eax, ebp
mov cl, byte [edi + eax]
xor cl, byte [eax]
or ch, cl
inc ebp
cmp ebp, edx
jb 0x6426dd34
xor eax, eax
test ch, ch
cmove eax, dword [esp + 0x10]
test eax, eax
je 0x6426dd6a
cmp dword [esi + 0x70], 0
jne 0x6426de4a
inc dword [esi + 0x7c]
cmp dword [esi + 0x7c], 3
jle 0x6426de4e
mov eax, 0xffff8e80
jmp 0x6426de70
mov eax, dword [ecx]
mov edx, dword [ecx + 0xc]
sub edx, dword [ecx + 0x10]
push 0x10
test byte [eax + 0x24], 2
pop ebp
cmovne ebp, ebx
lea eax, [edx + ebp]
cmp edi, eax
jb 0x6426dd6a
mov eax, dword [esi + 0x64]
sub edi, ebp
push ebx
push dword [esi + 0x54]
mov dword [esp + 0x2c], eax
sub edi, edx
lea eax, [esp + 0x30]
mov dword [esi + 0x70], edi
push eax
call fcn.642921cb
mov al, byte [esi + 0x6c]
add esp, 0xc
mov edx, dword [esi + 0x34]
mov byte [esp + 0x30], al
mov al, byte [esi + 8]
mov byte [esp + 0x31], al
mov al, byte [esi + 0xc]
mov byte [esp + 0x32], al
mov al, byte [esi + 0x71]
mov byte [esp + 0x33], al
mov al, byte [esi + 0x70]
mov byte [esp + 0x34], al
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 0x10]
push eax
push dword [esi + 0x60]
lea eax, [edx + 0x28]
add eax, dword [edx + 0x10]
push eax
call fcn.642921cb
mov ecx, dword [esi + 0x34]
add esp, 0xc
mov edx, 0xffff9d00
mov eax, dword [ecx + 0x90]
cmp dword [eax + 4], 6
jne 0x6426de33
mov eax, dword [esp + 0x24]
mov edx, edi
push eax
push eax
push ebp
add eax, edi
push eax
push ecx
lea eax, [esp + 0x3c]
push eax
push dword [ecx + 0xc]
lea eax, [ecx + 0x28]
mov ecx, dword [ecx + 0xcc]
push eax
call fcn.64265edc
add esp, 0x20
mov edx, 0xffff9d00
cmp eax, 0xffffffee
cmove eax, edx
jmp 0x6426de38
mov eax, 0xffff9f80
test eax, eax
je 0x6426dd53
cmp eax, edx
je 0x6426dd6a
jmp 0x6426de70
and dword [esi + 0x7c], 0
mov eax, dword [esi + 0x54]
add byte [eax + ebx - 1], 1
jne 0x6426de5d
sub ebx, 1
jne 0x6426de4e
xor eax, eax
mov ecx, 0xffff9480
test ebx, ebx
cmove eax, ecx
jmp 0x6426de70
mov eax, 0xffff9400
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret