Function at 0x468d30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
cmp byte [ecx + 0x14], 0
jne 0x468d42
or eax, 0xffffffff
add esp, 0x2c
ret 0x34
push ebx
mov ebx, dword [esp + 0x64]
push ebp
xor eax, eax
cmp dword [ecx + 0xc], eax
push esi
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x24], eax
jle 0x468d7c
mov edx, dword [esp + 0x40]
add edx, ebx
lea esi, [edi + ebx*4]
movzx ebx, byte [edx]
mov ebp, dword [ecx + 0x18]
mov ebx, dword [ebp + ebx*4]
mov dword [esi], ebx
inc eax
inc edx
add esi, 4
cmp eax, dword [ecx + 0xc]
jl 0x468d62
mov ebx, dword [esp + 0x70]
mov esi, dword [ecx + 0xc]
cmp esi, dword [ecx + 8]
jge 0x468da6
mov eax, dword [esp + 0x40]
mov edx, edi
lea ebx, [ebx]
movzx edi, byte [eax]
mov ebp, dword [ecx + 0x18]
mov edi, dword [ebp + edi*4]
mov dword [edx], edi
inc esi
inc eax
add edx, 4
cmp esi, dword [ecx + 8]
jl 0x468d90
mov edx, 1
cmp ebx, edx
mov dword [esp + 0x10], edx
jl 0x468e24
mov edi, dword [esp + 0x58]
add edi, 4
mov dword [esp + 0x28], edi
mov edi, edi
mov dword [edi], 0
mov esi, dword [ecx + 8]
xor ebp, ebp
test esi, esi
jle 0x468e05
xor ebx, ebx
mov eax, dword [esp + 0x44]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x468dee
add eax, ebx
cdq
idiv esi
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax + edx*4]
xor dword [edi], edx
mov edx, dword [esp + 0x10]
mov esi, dword [ecx + 8]
inc ebp
add ebx, edx
cmp ebp, esi
jl 0x468dd1
cmp dword [edi], 0
je 0x468e05
mov dword [esp + 0x24], 1
mov eax, dword [edi]
mov esi, dword [ecx + 0x18]
mov eax, dword [esi + eax*4]
inc edx
mov dword [edi], eax
add edi, 4
cmp edx, dword [esp + 0x70]
mov dword [esp + 0x10], edx
jle 0x468dc0
cmp dword [esp + 0x24], 0
jne 0x468e30
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0x34
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
xor edi, edi
mov dword [ebx], edi
mov eax, dword [edx]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x48]
mov edx, dword [eax]
lea esi, [ebx + 4]
mov dword [edx], edi
mov edx, dword [eax + 4]
mov dword [edx], 1
mov edx, 1
cmp dword [esp + 0x70], edx
jle 0x468e78
mov ebp, dword [eax]
mov dword [ebp + edx*4], 0xffffffff
mov ebp, dword [eax + 4]
mov dword [ebp + edx*4], edi
inc edx
cmp edx, dword [esp + 0x70]
jl 0x468e60
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [ebp], edi
mov dword [ebp + 4], edi
mov dword [edx], 0xffffffff
mov dword [edx + 4], edi
sub edx, eax
mov dword [esp + 0x34], edx
mov edx, eax
sub edx, ebx
mov dword [esp + 0x20], edx
mov edx, ebp
sub edx, ebx
mov dword [esp + 0x14], edx
mov edx, 0xfffffffc
sub edx, ebx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x58]
sub edx, eax
sub eax, ebp
mov dword [esp + 0x44], edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], eax
jmp 0x468ed4
mov ebx, dword [esp + 0x4c]
inc dword [esp + 0x44]
add esi, 4
add ebp, 4
or eax, 0xffffffff
mov dword [esp + 0x30], ebp
cmp dword [esi - 4], eax
jne 0x468f30
mov edx, dword [ebp]
mov eax, dword [esp + 0x14]
mov dword [eax + esi], edx
xor eax, eax
test edx, edx
jl 0x4690ae
mov edi, edi
mov edx, dword [esp + 0x18]
mov edi, dword [edx + ebp]
mov edi, dword [edi + eax*4]
mov ebx, dword [esp + 0x20]
mov ebx, dword [ebx + esi]
mov dword [ebx + eax*4], edi
mov edx, dword [edx + ebp]
mov edi, dword [edx + eax*4]
mov ebx, dword [ecx + 0x18]
mov edi, dword [ebx + edi*4]
lea edx, [edx + eax*4]
inc eax
mov dword [edx], edi
cmp eax, dword [ebp]
jle 0x468f00
jmp 0x4690ae
mov edi, dword [esp + 0x44]
dec edi
mov dword [esp + 0x1c], edi
cmp dword [esi - 8], eax
jne 0x468f4e
mov edi, edi
test edi, edi
jle 0x468fad
dec edi
cmp dword [ebx + edi*4], eax
je 0x468f40
mov dword [esp + 0x1c], edi
test edi, edi
jle 0x468fb1
mov ebx, dword [esp + 0x54]
lea edx, [edi*4]
mov dword [esp + 0x24], edx
add edx, ebx
mov ebx, dword [esp + 0x4c]
sub ebx, dword [esp + 0x54]
mov eax, edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
jmp 0x468f7b
mov ebx, dword [esp + 0x10]
sub edx, 4
dec eax
cmp dword [ebx + edx], 0xffffffff
mov dword [esp + 0x1c], edx
je 0x468fa9
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x54]
mov ebx, dword [edx + ebx]
mov edx, dword [esp + 0x1c]
cmp ebx, dword [edx]
jge 0x468fa9
lea ebx, [eax*4]
mov edi, eax
mov dword [esp + 0x24], ebx
test eax, eax
jg 0x468f77
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x50]
mov edx, dword [eax + edi*4]
mov eax, dword [esp + 0x44]
sub edx, edi
add eax, edx
mov edx, dword [ebp]
cmp edx, eax
jle 0x468fd0
mov eax, dword [esp + 0x14]
mov dword [eax + esi], edx
jmp 0x468fd7
mov edx, dword [esp + 0x14]
mov dword [edx + esi], eax
mov edx, dword [esp + 0x70]
xor eax, eax
test edx, edx
jle 0x468ff4
mov ebx, dword [esp + 0x20]
mov ebx, dword [ebx + esi]
mov dword [ebx + eax*4], 0
inc eax
cmp eax, edx
jl 0x468fe1
mov eax, dword [esp + 0x50]
xor ebx, ebx
cmp dword [eax + edi*4], ebx
mov dword [esp + 0x10], ebx
jl 0x469070
mov edx, dword [esp + 0x28]
add edx, esi
mov dword [esp + 0x24], edx
lea ecx, [ecx]
mov eax, dword [esp + 0x48]
mov edx, dword [eax + edi*4]
mov eax, dword [edx + ebx*4]
mov dword [esp + 0x2c], eax
cmp eax, 0xffffffff
je 0x469062
mov eax, dword [esi - 4]
mov edx, dword [esp + 0x4c]
sub eax, dword [edx + edi*4]
mov ebp, dword [ecx + 8]
add eax, ebp
add eax, dword [esp + 0x2c]
cdq
idiv ebp
mov ebp, dword [esp + 0x44]
mov eax, dword [ecx + 0x1c]
sub ebp, edi
mov edi, dword [esp + 0x24]
add ebp, ebx
mov ebx, dword [esp + 0x48]
mov edi, dword [edi + ebx + 4]
mov ebx, dword [esp + 0x10]
mov edx, dword [eax + edx*4]
mov dword [edi + ebp*4], edx
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
inc ebx
cmp ebx, dword [eax + edi*4]
mov dword [esp + 0x10], ebx
jle 0x469010
xor eax, eax
cmp dword [ebp], eax
jl 0x4690ae
jmp 0x469080
mov edi, dword [esp + 0x18]
mov ebx, dword [edi + ebp]
mov edx, dword [esp + 0x20]
mov edx, dword [edx + esi]
mov ebx, dword [ebx + eax*4]
xor dword [edx + eax*4], ebx
mov ebx, dword [ecx + 0x18]
lea edx, [edx + eax*4]
mov edx, dword [edi + ebp]
mov edi, dword [edx + eax*4]
mov edi, dword [ebx + edi*4]
lea edx, [edx + eax*4]
inc eax
mov dword [edx], edi
cmp eax, dword [ebp]
jle 0x469080
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
lea edx, [eax + esi]
mov eax, dword [esp + 0x44]
mov edi, eax
sub edi, dword [ebx + esi]
cmp eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x34]
mov dword [edx + ebx], edi
jge 0x469164
mov eax, dword [esp + 0x38]
mov edx, dword [edx + eax]
cmp edx, 0xffffffff
je 0x4690e9
mov edi, dword [ecx + 0x1c]
mov edx, dword [edi + edx*4]
mov dword [esi], edx
jmp 0x4690ef
mov dword [esi], 0
mov edx, dword [esp + 0x14]
mov ebx, 1
cmp dword [edx + esi], ebx
jl 0x46914a
mov edx, dword [esp + 0x28]
add edx, esi
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x18]
lea edi, [edx + eax]
add edi, ebp
cmp dword [edi], 0xffffffff
je 0x46913d
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + eax + 4]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x46913d
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + eax*4]
add eax, dword [edi]
xor edx, edx
div dword [ecx + 8]
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax + edx*4]
xor dword [esi], edx
mov edx, dword [esp + 0x14]
inc ebx
sub edi, 4
cmp ebx, dword [edx + esi]
jle 0x469110
mov eax, dword [esi]
mov edi, dword [ecx + 0x18]
mov eax, dword [edi + eax*4]
mov dword [esi], eax
mov edx, dword [edx + esi]
cmp edx, dword [ecx + 4]
jle 0x468ed0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x50]
mov edi, dword [edx + eax*4 + 4]
inc eax
cmp edi, dword [ecx + 4]
mov dword [esp + 0x44], eax
jg 0x469264
xor esi, esi
test edi, edi
jl 0x46919c
mov edi, dword [esp + 0x48]
mov edi, dword [edi + eax*4]
mov ebx, dword [edi + esi*4]
mov ebp, dword [ecx + 0x18]
mov ebx, dword [ebp + ebx*4]
lea edi, [edi + esi*4]
inc esi
mov dword [edi], ebx
cmp esi, dword [edx + eax*4]
jle 0x469180
mov ebp, dword [esp + 0x6c]
mov edi, 1
cmp dword [edx + eax*4], edi
mov esi, edi
jl 0x4691c5
lea esp, [esp]
mov ebx, dword [esp + 0x48]
mov ebx, dword [ebx + eax*4]
mov ebx, dword [ebx + esi*4]
mov dword [ebp + esi*4], ebx
add esi, edi
cmp esi, dword [edx + eax*4]
jle 0x4691b0
cmp dword [ecx + 8], edi
mov esi, dword [esp + 0x60]
mov dword [esp + 0x70], 0
mov dword [esp + 0x10], edi
jl 0x46925b
mov edi, dword [esp + 0x5c]
sub edi, esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x4c], edi
lea esp, [esp]
mov ebx, 1
cmp dword [edx + eax*4], ebx
mov esi, ebx
jl 0x46924d
lea esp, [esp]
mov edi, dword [ebp + esi*4]
cmp edi, 0xffffffff
je 0x469222
lea eax, [edi + esi]
cdq
idiv dword [ecx + 8]
mov dword [ebp + esi*4], edx
mov eax, dword [ecx + 0x1c]
xor ebx, dword [eax + edx*4]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x44]
inc esi
cmp esi, dword [edx + eax*4]
jle 0x469200
test ebx, ebx
jne 0x46924d
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x4c]
inc dword [esp + 0x70]
mov dword [ebx + esi], edi
mov ebx, dword [ecx + 8]
sub ebx, edi
mov dword [esi], ebx
add esi, 4
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x10]
inc esi
cmp esi, dword [ecx + 8]
mov dword [esp + 0x10], esi
jle 0x4691f0
mov edx, dword [edx + eax*4]
cmp dword [esp + 0x70], edx
je 0x469271
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x2c
ret 0x34
mov ebp, dword [esp + 0x64]
mov edi, 1
cmp edx, edi
mov dword [esp + 0x10], edi
jl 0x469379
mov edx, dword [esp + 0x58]
mov ebx, 0xfffffffc
sub ebx, edx
sub edx, ebp
lea esi, [ebp + 4]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], edx
jmp 0x4692a4
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x48]
add edx, esi
mov edx, dword [edx]
cmp edx, 0xffffffff
je 0x4692e8
mov ebp, dword [ebx + eax*4]
mov ebp, dword [ebp + edi*4]
cmp ebp, 0xffffffff
je 0x4692ca
mov ebx, dword [ecx + 0x1c]
mov ebp, dword [ebx + ebp*4]
xor ebp, dword [ebx + edx*4]
mov dword [esi], ebp
jmp 0x469303
cmp edx, 0xffffffff
je 0x4692e8
mov ebp, dword [ebx + eax*4]
cmp dword [ebp + edi*4], 0xffffffff
jne 0x4692e3
mov ebx, dword [ecx + 0x1c]
mov edx, dword [ebx + edx*4]
mov dword [esi], edx
jmp 0x469303
cmp edx, 0xffffffff
jne 0x4692fd
mov edx, dword [ebx + eax*4]
mov edx, dword [edx + edi*4]
cmp edx, 0xffffffff
je 0x4692fd
mov ebx, dword [ecx + 0x1c]
mov edx, dword [ebx + edx*4]
mov dword [esi], edx
jmp 0x469303
mov dword [esi], 0
mov ebx, 1
cmp edi, ebx
jle 0x46935a
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x4c]
add edx, esi
add ebp, edx
jmp 0x469320
mov edx, dword [esp + 0x58]
mov edx, dword [edx + ebx*4]
cmp edx, 0xffffffff
je 0x469352
mov edi, dword [esp + 0x48]
mov edi, dword [edi + eax*4]
mov edi, dword [edi + ebp]
cmp edi, 0xffffffff
je 0x46934e
lea eax, [edi + edx]
cdq
idiv dword [ecx + 8]
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax + edx*4]
xor dword [esi], edx
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x10]
inc ebx
sub ebp, 4
cmp ebx, edi
jl 0x469320
mov edx, dword [esi]
mov ebx, dword [ecx + 0x18]
mov edx, dword [ebx + edx*4]
mov dword [esi], edx
mov edx, dword [esp + 0x50]
inc edi
add esi, 4
cmp edi, dword [edx + eax*4]
mov dword [esp + 0x10], edi
jle 0x4692a0
mov ebp, dword [esp + 0x68]
xor esi, esi
xor edx, edx
cmp dword [ecx + 8], esi
jle 0x469390
mov dword [ebp + edx*4], esi
inc edx
cmp edx, dword [ecx + 8]
jl 0x469386
mov edx, dword [esp + 0x50]
cmp dword [edx + eax*4], esi
mov dword [esp + 0x10], esi
jle 0x4694c1
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x48], esi
lea esp, [esp]
mov esi, dword [ebx]
mov edi, 1
mov dword [ebp + esi*4], 1
cmp dword [edx + eax*4], edi
jl 0x469403
mov esi, dword [esp + 0x64]
cmp dword [esi + edi*4], 0xffffffff
je 0x4693fd
mov eax, dword [ebx]
mov edx, dword [esp + 0x48]
lea esi, [ebp + eax*4]
mov eax, dword [esp + 0x5c]
mov eax, dword [edx + eax]
mov edx, dword [esp + 0x64]
imul eax, edi
add eax, dword [edx + edi*4]
cdq
idiv dword [ecx + 8]
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax + edx*4]
xor dword [esi], edx
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x50]
inc edi
cmp edi, dword [edx + eax*4]
jle 0x4693c4
mov esi, dword [ebx]
cmp dword [ebp + esi*4], 0
je 0x4694a7
mov edi, dword [ecx + 0x18]
mov edx, esi
lea esi, [ebp + edx*4]
mov edx, dword [esi]
mov edx, dword [edi + edx*4]
mov dword [esi], edx
mov edx, dword [esp + 0x50]
mov eax, dword [edx + eax*4]
xor esi, esi
xor edi, edi
mov dword [esp + 0x54], eax
test eax, eax
jle 0x46946b
cmp edi, dword [esp + 0x10]
je 0x469466
mov eax, dword [esp + 0x60]
mov eax, dword [eax + edi*4]
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x5c]
add eax, dword [edx + ebp]
mov ebp, dword [esp + 0x68]
cdq
idiv dword [ecx + 8]
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax + edx*4]
mov eax, dword [ecx + 0x18]
xor edx, 1
add esi, dword [eax + edx*4]
mov eax, dword [esp + 0x54]
inc edi
cmp edi, eax
jl 0x469433
mov edx, dword [ebx]
mov edi, dword [ecx + 8]
lea eax, [ebp + edx*4]
mov dword [esp + 0x54], eax
mov eax, esi
cdq
idiv edi
mov esi, dword [esp + 0x54]
mov eax, edi
sub eax, edx
add eax, dword [esi]
cdq
idiv edi
mov eax, dword [ecx + 0x1c]
mov edi, dword [esp + 0x40]
mov edx, dword [eax + edx*4]
mov dword [esi], edx
mov esi, dword [ebx]
mov al, byte [ebp + esi*4]
xor byte [esi + edi], al
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x10]
add dword [esp + 0x48], 4
inc esi
add ebx, 4
cmp esi, dword [edx + eax*4]
mov dword [esp + 0x10], esi
jl 0x4693b0
mov eax, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x34