Function at 0x434200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, ecx
push edi
xor edi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
mov ecx, dword [eax]
cmp dword [eax + 0x10], edi
jle 0x4347c3
push ebx
push esi
nop
mov eax, dword [eax + 0x18]
mov esi, ecx
lea ecx, [ecx + eax*4]
mov eax, dword [esi]
dec eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x4347a7
mov eax, dword [esi + 4]
add esi, 4
mov dword [ebp - 0x24], eax
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
mov edx, dword [eax + 8]
add edx, edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x48]
mov dword [edi + 0x60], edx
mov eax, dword [ecx + 0xc]
imul eax, edx
add eax, dword [ecx]
sub dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0x24]
mov dword [edi + 0x64], eax
js 0x434685
mov eax, dword [esi + 4]
add esi, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], esi
mov eax, dword [esi]
mov dword [ebp - 0x24], eax
cdq
and edx, 0xff
lea esi, [edx + eax]
mov eax, ecx
cdq
and edx, 0xff
sar esi, 8
lea ebx, [edx + eax]
sar ebx, 8
mov dword [ebp - 0xc], ebx
cmp esi, ebx
jne 0x4342b9
mov edx, dword [ebp - 0x24]
mov eax, edx
mov ebx, dword [ebp - 0x10]
sub eax, ecx
imul eax, dword [ebp - 8]
add ebx, eax
jmp 0x434673
movzx eax, cl
mov ecx, 0x100
sub ecx, eax
imul ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x10]
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x434475
mov ecx, edi
push 1
push ebx
cmp eax, 0xff
jl 0x4343a6
lea eax, [ebp - 1]
push eax
call fcn.00443070
mov eax, dword [edi + 0x48]
mov ecx, 0x100
mov edx, dword [eax + 0x10]
movzx eax, byte [ebp - 1]
imul edx, ebx
mov ebx, eax
shl ebx, 0x10
or ebx, eax
imul ebx, dword [edi + 0x50]
add edx, dword [edi + 0x64]
mov dword [ebp - 0x20], edx
shr ebx, 8
and ebx, 0xff00ff
mov eax, ebx
shr eax, 0x10
sub ecx, eax
mov eax, dword [edx]
mov edi, eax
mov edx, 0x100
shr eax, 8
and edi, 0xff00ff
and eax, 0xff00ff
imul edi, ecx
imul eax, ecx
shr edi, 8
shr eax, 8
and edi, 0xff00ff
and eax, 0xff00ff
add edi, ebx
add ebx, eax
mov ecx, edi
mov eax, ebx
shr ecx, 8
shr eax, 8
and ecx, 0xff00ff
and eax, 0xff00ff
sub edx, eax
mov eax, ebx
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, edi
xor edx, eax
mov eax, ebx
shr eax, 8
and eax, 0xff00ff
sub ecx, eax
mov eax, dword [ebp - 0x20]
jmp 0x43445d
lea eax, [ebp - 2]
push eax
call fcn.00443070
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x50]
imul ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0x10]
movzx eax, byte [ebp - 2]
imul edx, ebx
mov ebx, eax
shr ecx, 8
shl ebx, 0x10
or ebx, eax
imul ebx, ecx
mov ecx, 0x100
add edx, dword [edi + 0x64]
mov dword [ebp - 0x10], edx
shr ebx, 8
and ebx, 0xff00ff
mov eax, ebx
shr eax, 0x10
sub ecx, eax
mov eax, dword [edx]
mov edi, eax
mov edx, 0x100
shr eax, 8
and edi, 0xff00ff
and eax, 0xff00ff
imul edi, ecx
imul eax, ecx
shr edi, 8
shr eax, 8
and edi, 0xff00ff
and eax, 0xff00ff
add edi, ebx
add ebx, eax
mov ecx, edi
mov eax, ebx
shr ecx, 8
shr eax, 8
and ecx, 0xff00ff
and eax, 0xff00ff
sub edx, eax
mov eax, ebx
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, edi
xor edx, eax
mov eax, ebx
shr eax, 8
and eax, 0xff00ff
sub ecx, eax
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
and edx, 0xff00ff
shl ebx, 8
shl ecx, 8
or ecx, ebx
mov ebx, dword [ebp - 0xc]
xor edx, ecx
mov dword [eax], edx
mov ecx, dword [ebp - 8]
test ecx, ecx
jle 0x434667
inc ebx
sub esi, ebx
mov dword [ebp - 0xc], ebx
test esi, esi
jle 0x434667
cmp esi, dword [edi + 0x6c]
jle 0x4344aa
mov dword [edi + 0x6c], esi
push dword [edi + 0x68]
call fcn.004af8b3
push esi
call fcn.004afadb
add esp, 8
mov dword [edi + 0x68], eax
mov ebx, dword [edi + 0x68]
mov ecx, edi
push esi
push dword [ebp - 0xc]
push ebx
call fcn.00443070
mov eax, dword [edi + 0x48]
mov eax, dword [eax + 0x10]
mov edi, eax
imul edi, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x50]
imul ecx, dword [ebp - 8]
add edi, dword [eax + 0x64]
mov dword [ebp - 0xc], edi
sar ecx, 8
mov dword [ebp - 0x28], ecx
cmp ecx, 0xfe
jge 0x4345b4
nop word [eax + eax]
movzx eax, byte [ebx]
mov edx, 0x100
inc ebx
dec esi
mov dword [ebp - 0x10], ebx
mov ebx, eax
shl ebx, 0x10
or ebx, eax
imul ebx, ecx
mov ecx, 0x100
shr ebx, 8
and ebx, 0xff00ff
mov eax, ebx
shr eax, 0x10
sub ecx, eax
mov eax, dword [edi]
mov edi, eax
shr eax, 8
and eax, 0xff00ff
and edi, 0xff00ff
imul eax, ecx
imul edi, ecx
shr eax, 8
and eax, 0xff00ff
shr edi, 8
and edi, 0xff00ff
add edi, ebx
add ebx, eax
mov eax, ebx
mov ecx, edi
shr eax, 8
and eax, 0xff00ff
shr ecx, 8
sub edx, eax
and ecx, 0xff00ff
shl edx, 8
mov eax, ebx
shl eax, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, edi
mov edi, dword [ebp - 0xc]
xor edx, eax
mov eax, ebx
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl ebx, 8
sub ecx, eax
shl ecx, 8
or ecx, ebx
mov ebx, dword [ebp - 0x10]
xor edx, ecx
mov ecx, dword [ebp - 0x28]
mov dword [edi], edx
add edi, dword [ebp - 0x20]
mov dword [ebp - 0xc], edi
test esi, esi
jg 0x4344f0
jmp 0x434664
movzx eax, byte [ebx]
mov ecx, 0x100
inc ebx
mov edx, 0x100
mov dword [ebp - 0x10], ebx
dec esi
mov ebx, eax
shl ebx, 0x10
or ebx, eax
mov eax, ebx
shr eax, 0x10
sub ecx, eax
mov eax, dword [edi]
mov edi, eax
shr eax, 8
and eax, 0xff00ff
and edi, 0xff00ff
imul eax, ecx
imul edi, ecx
shr eax, 8
and eax, 0xff00ff
shr edi, 8
and edi, 0xff00ff
add edi, ebx
add ebx, eax
mov eax, ebx
mov ecx, edi
shr eax, 8
and eax, 0xff00ff
shr ecx, 8
sub edx, eax
and ecx, 0xff00ff
shl edx, 8
mov eax, ebx
shl eax, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, edi
mov edi, dword [ebp - 0xc]
xor edx, eax
mov eax, ebx
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl ebx, 8
sub ecx, eax
shl ecx, 8
or ecx, ebx
mov ebx, dword [ebp - 0x10]
xor edx, ecx
mov dword [edi], edx
add edi, dword [ebp - 0x20]
mov dword [ebp - 0xc], edi
test esi, esi
jg 0x4345b4
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp + 8]
movzx ebx, dl
imul ebx, ecx
sub dword [ebp - 0x14], 1
mov ecx, edx
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x10], ebx
jns 0x434270
mov eax, ebx
cdq
and edx, 0xff
lea esi, [edx + eax]
sar esi, 8
test esi, esi
jle 0x4347a7
mov eax, ecx
mov ecx, edi
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [ebp - 0x24], eax
push 1
push eax
cmp esi, 0xff
jl 0x4346e4
lea eax, [ebp - 3]
push eax
call fcn.00443070
mov eax, dword [edi + 0x48]
mov ebx, dword [eax + 0x10]
imul ebx, dword [ebp - 0x24]
movzx eax, byte [ebp - 3]
add ebx, dword [edi + 0x64]
mov edi, eax
shl edi, 0x10
or edi, eax
mov eax, dword [ebp + 8]
imul edi, dword [eax + 0x50]
jmp 0x434711
lea eax, [ebp - 4]
push eax
call fcn.00443070
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x50]
imul ecx, esi
mov ebx, dword [eax + 0x10]
imul ebx, dword [ebp - 0x24]
movzx eax, byte [ebp - 4]
shr ecx, 8
add ebx, dword [edi + 0x64]
mov edi, eax
shl edi, 0x10
or edi, eax
imul edi, ecx
shr edi, 8
mov ecx, 0x100
and edi, 0xff00ff
mov edx, 0x100
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and eax, 0xff00ff
and esi, 0xff00ff
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, 0xff00ff
shr esi, 8
and esi, 0xff00ff
add esi, edi
add edi, eax
mov eax, edi
mov ecx, esi
shr eax, 8
and eax, 0xff00ff
shr ecx, 8
sub edx, eax
and ecx, 0xff00ff
mov eax, edi
shl edx, 8
shl eax, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
xor edx, eax
mov eax, edi
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub ecx, eax
shl ecx, 8
or ecx, edi
xor edx, ecx
mov dword [ebx], edx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov edi, eax
cmp eax, dword [ecx + 0x10]
mov eax, ecx
mov ecx, dword [ebp - 0x30]
jl 0x434220
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4