Function at 0x432fe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, ecx
push edi
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov ecx, dword [eax]
cmp dword [eax + 0x10], edi
jle 0x433635
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 - 0x3c], ecx
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x433619
mov eax, dword [esi + 4]
add esi, 4
mov dword [ebp - 0x24], eax
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], 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 - 0x10], 1
mov ecx, dword [ebp - 0x24]
mov dword [edi + 0x64], eax
js 0x43347c
mov eax, dword [esi + 4]
add esi, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x30], 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 - 4], ebx
cmp esi, ebx
jne 0x433099
mov edx, dword [ebp - 0x24]
mov eax, edx
mov ebx, dword [ebp - 0xc]
sub eax, ecx
imul eax, dword [ebp - 8]
add ebx, eax
jmp 0x43346a
movzx eax, cl
mov ecx, 0x100
sub ecx, eax
imul ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x433243
mov ecx, edi
push 1
push ebx
cmp eax, 0xff
jl 0x43315d
lea eax, [ebp - 0x28]
push eax
call fcn.0042cbf0
mov eax, dword [edi + 0x48]
mov edx, 0x100
mov ebx, dword [eax + 0x10]
imul ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
mov ecx, eax
shr ecx, 8
and eax, 0xff00ff
and ecx, 0xff00ff
add ebx, dword [edi + 0x64]
mov edi, dword [edi + 0x50]
imul ecx, edi
mov dword [ebp - 0x1c], ebx
imul eax, edi
shr ecx, 8
and ecx, 0xff00ff
mov dword [ebp - 0x20], ecx
mov edi, dword [ebp - 0x20]
shr ecx, 0x10
sub edx, ecx
shr eax, 8
mov ecx, dword [ebx]
and eax, 0xff00ff
mov ebx, ecx
shr ecx, 8
and ebx, 0xff00ff
and ecx, 0xff00ff
imul ebx, edx
imul ecx, edx
shr ebx, 8
shr ecx, 8
and ebx, 0xff00ff
and ecx, 0xff00ff
add ebx, eax
add edi, ecx
jmp 0x4331e6
lea eax, [ebp - 0x2c]
push eax
call fcn.0042cbf0
mov eax, dword [edi + 0x48]
mov ecx, 0x100
mov edx, dword [eax + 0x10]
imul edx, ebx
mov ebx, dword [ebp - 0x2c]
mov eax, ebx
shr eax, 8
and ebx, 0xff00ff
and eax, 0xff00ff
add edx, dword [edi + 0x64]
mov edi, dword [edi + 0x50]
imul edi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov edx, dword [edx]
shr edi, 8
imul eax, edi
imul ebx, edi
shr eax, 8
and eax, 0xff00ff
shr ebx, 8
mov dword [ebp - 0x20], eax
and ebx, 0xff00ff
mov edi, dword [ebp - 0x20]
shr eax, 0x10
sub ecx, eax
mov eax, edx
shr edx, 8
and eax, 0xff00ff
and edx, 0xff00ff
imul eax, ecx
imul edx, ecx
shr eax, 8
shr edx, 8
and eax, 0xff00ff
and edx, 0xff00ff
add ebx, eax
add edi, edx
mov eax, edi
mov edx, 0x100
shr eax, 8
mov ecx, ebx
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, ebx
mov ebx, dword [ebp - 4]
xor edx, eax
mov eax, edi
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub ecx, eax
mov eax, dword [ebp - 0x1c]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp + 8]
xor edx, ecx
mov dword [eax], edx
mov ecx, dword [ebp - 8]
test ecx, ecx
jle 0x43345e
inc ebx
sub esi, ebx
mov dword [ebp - 4], ebx
test esi, esi
jle 0x43345e
cmp esi, dword [edi + 0x6c]
jle 0x43327f
mov dword [edi + 0x6c], esi
push dword [edi + 0x68]
call fcn.004af8b3
lea eax, [esi*4]
push eax
call fcn.004afadb
add esp, 8
mov dword [edi + 0x68], eax
mov ebx, dword [edi + 0x68]
mov ecx, edi
push esi
push dword [ebp - 4]
push ebx
call fcn.0042cbf0
mov eax, dword [edi + 0x48]
mov eax, dword [eax + 0x10]
mov edi, eax
imul edi, dword [ebp - 4]
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 - 4], edi
sar ecx, 8
mov dword [ebp - 0x1c], ecx
cmp ecx, 0xfe
jge 0x4333a0
nop
mov edi, dword [ebx]
dec esi
mov edx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, edi
shr ebx, 8
and edi, 0xff00ff
imul edi, dword [ebp - 0x1c]
and ebx, 0xff00ff
mov edx, dword [edx]
imul ebx, ecx
mov ecx, 0x100
shr edi, 8
and edi, 0xff00ff
shr ebx, 8
and ebx, 0xff00ff
mov eax, ebx
shr eax, 0x10
sub ecx, eax
mov eax, edx
and eax, 0xff00ff
shr edx, 8
imul eax, ecx
and edx, 0xff00ff
imul edx, ecx
shr eax, 8
and eax, 0xff00ff
shr edx, 8
add edi, eax
and edx, 0xff00ff
add ebx, edx
mov ecx, edi
mov eax, ebx
shr ecx, 8
shr eax, 8
mov edx, 0x100
and eax, 0xff00ff
and ecx, 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 edx, 0xff00ff
and eax, 0xff00ff
shl ebx, 8
sub ecx, eax
mov eax, dword [ebp - 4]
shl ecx, 8
or ecx, ebx
mov ebx, dword [ebp - 0xc]
xor edx, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax], edx
add eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
test esi, esi
jg 0x4332c0
jmp 0x43345b
mov edx, dword [ebx]
mov ecx, 0x100
add ebx, 4
dec esi
mov dword [ebp - 0xc], ebx
mov ebx, edx
shr ebx, 8
and edx, 0xff00ff
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
add ebx, eax
and edi, 0xff00ff
add edi, edx
mov eax, ebx
shr eax, 8
mov edx, 0x100
and eax, 0xff00ff
mov ecx, edi
sub edx, eax
shr ecx, 8
shl edx, 8
mov eax, ebx
shl eax, 8
and ecx, 0xff00ff
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, edi
mov edi, dword [ebp - 4]
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 - 0xc]
xor edx, ecx
mov dword [edi], edx
add edi, dword [ebp - 0x20]
mov dword [ebp - 4], edi
test esi, esi
jg 0x4333a0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp + 8]
movzx ebx, dl
imul ebx, ecx
sub dword [ebp - 0x10], 1
mov ecx, edx
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0xc], ebx
jns 0x433050
mov eax, ebx
cdq
and edx, 0xff
lea ebx, [edx + eax]
sar ebx, 8
test ebx, ebx
jle 0x433619
mov eax, ecx
mov ecx, edi
cdq
and edx, 0xff
push 1
lea esi, [edx + eax]
sar esi, 8
mov dword [ebp - 0x30], esi
push esi
cmp ebx, 0xff
jl 0x43353c
lea eax, [ebp - 0x34]
push eax
call fcn.0042cbf0
mov eax, dword [edi + 0x48]
mov edx, 0x100
mov ecx, dword [edi + 0x50]
mov esi, dword [eax + 0x10]
imul esi, dword [ebp - 0x30]
add esi, dword [edi + 0x64]
mov edi, dword [ebp - 0x34]
mov ebx, edi
shr ebx, 8
and edi, 0xff00ff
and ebx, 0xff00ff
mov dword [ebp - 0x30], esi
mov esi, dword [esi]
imul ebx, ecx
imul edi, ecx
shr ebx, 8
and ebx, 0xff00ff
shr edi, 8
mov eax, ebx
and edi, 0xff00ff
shr eax, 0x10
sub edx, eax
mov eax, esi
shr esi, 8
and eax, 0xff00ff
and esi, 0xff00ff
imul eax, edx
imul esi, edx
shr eax, 8
shr esi, 8
and eax, 0xff00ff
and esi, 0xff00ff
add edi, eax
add ebx, esi
jmp 0x4335c2
lea eax, [ebp - 0x38]
push eax
call fcn.0042cbf0
mov eax, dword [edi + 0x48]
mov ecx, 0x100
mov edx, dword [eax + 0x10]
imul edx, esi
mov esi, dword [edi + 0x50]
imul esi, ebx
add edx, dword [edi + 0x64]
mov edi, dword [ebp - 0x38]
mov ebx, edi
shr ebx, 8
and edi, 0xff00ff
and ebx, 0xff00ff
shr esi, 8
imul ebx, esi
mov dword [ebp - 0x30], edx
mov edx, dword [edx]
imul edi, esi
shr ebx, 8
and ebx, 0xff00ff
mov eax, ebx
shr eax, 0x10
sub ecx, eax
shr edi, 8
mov eax, edx
and edi, 0xff00ff
shr edx, 8
and eax, 0xff00ff
and edx, 0xff00ff
imul eax, ecx
imul edx, ecx
shr eax, 8
shr edx, 8
and eax, 0xff00ff
and edx, 0xff00ff
add edi, eax
add ebx, edx
mov eax, ebx
mov edx, 0x100
shr eax, 8
mov ecx, edi
and eax, 0xff00ff
shr ecx, 8
sub edx, eax
and ecx, 0xff00ff
mov eax, ebx
shl edx, 8
shl eax, 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 edx, 0xff00ff
and eax, 0xff00ff
shl ebx, 8
sub ecx, eax
mov eax, dword [ebp - 0x30]
shl ecx, 8
or ecx, ebx
xor edx, ecx
mov dword [eax], edx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov edi, eax
cmp eax, dword [ecx + 0x10]
mov eax, ecx
mov ecx, dword [ebp - 0x3c]
jl 0x433000
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4