Function at 0x4431c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov eax, ecx
push edi
xor edi, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edi
mov ecx, dword [eax]
cmp dword [eax + 0x10], edi
jle 0x4437b3
push ebx
push ebp
push esi
nop
mov eax, dword [eax + 0x18]
mov esi, ecx
mov ebp, dword [esi]
lea ecx, [ecx + eax*4]
dec ebp
mov dword [esp + 0x4c], ecx
test ebp, ebp
jle 0x443792
mov eax, dword [esi + 4]
add esi, 4
mov dword [esp + 0x38], eax
xor ebx, ebx
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 8]
add edx, edi
mov edi, dword [esp + 0x54]
mov ecx, dword [edi + 0x48]
mov dword [edi + 0x60], edx
mov eax, dword [ecx + 0xc]
imul eax, edx
add eax, dword [ecx]
sub ebp, 1
mov ecx, dword [esp + 0x38]
mov dword [edi + 0x64], eax
mov dword [esp + 0x3c], ebp
js 0x443637
mov eax, dword [esi + 4]
add esi, 8
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], esi
mov eax, dword [esi]
mov dword [esp + 0x38], eax
cdq
and edx, 0xff
lea esi, [edx + eax]
mov eax, ecx
cdq
and edx, 0xff
sar esi, 8
lea ebp, [edx + eax]
sar ebp, 8
mov dword [esp + 0x28], ebp
cmp esi, ebp
jne 0x44327e
mov edx, dword [esp + 0x38]
mov eax, edx
sub eax, ecx
imul eax, dword [esp + 0x24]
add ebx, eax
jmp 0x443626
movzx eax, cl
mov ecx, 0x100
sub ecx, eax
imul ecx, dword [esp + 0x24]
lea eax, [ebx + ecx]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [esp + 0x34], eax
test eax, eax
jle 0x44347b
mov ecx, edi
push 1
push ebp
cmp eax, 0xff
jl 0x44338b
lea eax, [esp + 0x18]
push eax
call fcn.00432570
mov eax, dword [edi + 0x48]
mov edx, 0x100
mov ecx, dword [edi + 0x50]
mov ebx, dword [eax + 0x10]
imul ebx, ebp
movzx ebp, byte [esp + 0x11]
or ebp, 0xff0000
imul ebp, ecx
add ebx, dword [edi + 0x64]
mov dword [esp + 0x34], ebx
shr ebp, 8
mov edi, dword [ebx]
and ebp, 0xff00ff
movzx ebx, byte [esp + 0x12]
mov eax, ebp
shr eax, 0x10
sub edx, eax
shl ebx, 0x10
movzx eax, byte [esp + 0x10]
or ebx, eax
mov eax, edi
and eax, 0xff00ff
shr edi, 8
imul eax, edx
and edi, 0xff00ff
imul edi, edx
mov edx, 0x100
imul ebx, ecx
shr eax, 8
and eax, 0xff00ff
shr edi, 8
shr ebx, 8
and edi, 0xff00ff
add ebp, edi
and ebx, 0xff00ff
add ebx, eax
mov eax, ebp
shr eax, 8
mov ecx, ebx
and eax, 0xff00ff
shr ecx, 8
sub edx, eax
and ecx, 0xff00ff
shl edx, 8
mov eax, ebp
shl eax, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, ebx
xor edx, eax
mov eax, ebp
shr eax, 8
and eax, 0xff00ff
sub ecx, eax
mov eax, dword [esp + 0x34]
jmp 0x443461
lea eax, [esp + 0x1c]
push eax
call fcn.00432570
mov eax, dword [edi + 0x48]
mov edx, 0x100
mov ecx, dword [edi + 0x50]
imul ecx, dword [esp + 0x34]
mov ebx, dword [eax + 0x10]
imul ebx, ebp
movzx ebp, byte [esp + 0x15]
shr ecx, 8
or ebp, 0xff0000
imul ebp, ecx
add ebx, dword [edi + 0x64]
mov dword [esp + 0x40], ebx
shr ebp, 8
mov edi, dword [ebx]
and ebp, 0xff00ff
movzx ebx, byte [esp + 0x16]
mov eax, ebp
shr eax, 0x10
sub edx, eax
shl ebx, 0x10
movzx eax, byte [esp + 0x14]
or ebx, eax
mov eax, edi
and eax, 0xff00ff
shr edi, 8
imul eax, edx
and edi, 0xff00ff
imul edi, edx
mov edx, 0x100
imul ebx, ecx
shr eax, 8
and eax, 0xff00ff
shr edi, 8
shr ebx, 8
and edi, 0xff00ff
add ebp, edi
and ebx, 0xff00ff
add ebx, eax
mov eax, ebp
shr eax, 8
mov ecx, ebx
and eax, 0xff00ff
shr ecx, 8
sub edx, eax
and ecx, 0xff00ff
shl edx, 8
mov eax, ebp
shl eax, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, ebx
xor edx, eax
mov eax, ebp
shr eax, 8
and eax, 0xff00ff
sub ecx, eax
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x54]
and edx, 0xff00ff
shl ebp, 8
shl ecx, 8
or ecx, ebp
mov ebp, dword [esp + 0x28]
xor edx, ecx
mov dword [eax], edx
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x443618
inc ebp
sub esi, ebp
mov dword [esp + 0x28], ebp
test esi, esi
jle 0x443618
cmp esi, dword [edi + 0x6c]
jle 0x4434b5
mov dword [edi + 0x6c], esi
push dword [edi + 0x68]
call fcn.0051723e
lea eax, [esi + esi*2]
push eax
call fcn.00517259
add esp, 8
mov dword [edi + 0x68], eax
mov ebp, dword [edi + 0x68]
mov ecx, edi
push esi
push dword [esp + 0x2c]
push ebp
call fcn.00432570
mov eax, dword [edi + 0x48]
mov edx, dword [eax + 0x10]
mov ebx, edx
mov eax, dword [edi + 0x50]
imul ebx, dword [esp + 0x28]
imul eax, dword [esp + 0x24]
mov dword [esp + 0x40], edx
add ebx, dword [edi + 0x64]
sar eax, 8
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], eax
cmp eax, 0xfe
jge 0x4435e0
mov edi, dword [ebx]
mov ecx, ebp
add ebp, 3
mov edx, 0x100
mov dword [esp + 0x44], ebp
dec esi
movzx ebp, byte [ecx + 1]
movzx ebx, byte [ecx + 2]
or ebp, 0xff0000
imul ebp, eax
shl ebx, 0x10
shr ebp, 8
and ebp, 0xff00ff
mov eax, ebp
shr eax, 0x10
sub edx, eax
movzx eax, byte [ecx]
or ebx, eax
mov eax, edi
imul ebx, dword [esp + 0x34]
and eax, 0xff00ff
imul eax, edx
shr edi, 8
and edi, 0xff00ff
imul edi, edx
mov edx, 0x100
shr ebx, 8
shr eax, 8
and ebx, 0xff00ff
and eax, 0xff00ff
add ebx, eax
shr edi, 8
mov ecx, ebx
and edi, 0xff00ff
shr ecx, 8
add ebp, edi
and ecx, 0xff00ff
mov eax, ebp
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, ebp
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, ebx
mov ebx, dword [esp + 0x28]
xor edx, eax
mov eax, ebp
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl ebp, 8
sub ecx, eax
mov eax, dword [esp + 0x34]
shl ecx, 8
or ecx, ebp
mov ebp, dword [esp + 0x44]
xor edx, ecx
mov dword [ebx], edx
add ebx, dword [esp + 0x40]
mov dword [esp + 0x28], ebx
test esi, esi
jg 0x4434f7
jmp 0x443614
mov ecx, ebp
dec esi
add ebp, 3
mov ax, word [ecx]
movzx ecx, byte [ecx + 2]
or ecx, 0xffffff00
mov word [esp + 0x20], ax
movzx eax, byte [esp + 0x21]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x20]
shl ecx, 8
or ecx, eax
mov dword [ebx], ecx
add ebx, edx
test esi, esi
jg 0x4435e0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x54]
movzx ebx, dl
imul ebx, ecx
sub dword [esp + 0x3c], 1
mov ecx, edx
mov esi, dword [esp + 0x48]
jns 0x443232
mov eax, ebx
cdq
and edx, 0xff
lea esi, [edx + eax]
sar esi, 8
test esi, esi
jle 0x443792
mov eax, ecx
mov ecx, edi
cdq
and edx, 0xff
push 1
lea ebx, [edx + eax]
sar ebx, 8
push ebx
cmp esi, 0xff
jl 0x4436b2
lea eax, [esp + 0x20]
push eax
call fcn.00432570
mov eax, dword [edi + 0x48]
mov edx, 0x100
mov ecx, dword [edi + 0x50]
mov ebp, dword [eax + 0x10]
imul ebp, ebx
movzx ebx, byte [esp + 0x19]
or ebx, 0xff0000
imul ebx, ecx
add ebp, dword [edi + 0x64]
movzx edi, byte [esp + 0x1a]
shr ebx, 8
and ebx, 0xff00ff
mov eax, ebx
shr eax, 0x10
sub edx, eax
movzx eax, byte [esp + 0x18]
jmp 0x4436fe
lea eax, [esp + 0x24]
push eax
call fcn.00432570
mov eax, dword [edi + 0x48]
mov edx, 0x100
mov ecx, dword [edi + 0x50]
imul ecx, esi
mov ebp, dword [eax + 0x10]
imul ebp, ebx
movzx ebx, byte [esp + 0x1d]
or ebx, 0xff0000
shr ecx, 8
imul ebx, ecx
add ebp, dword [edi + 0x64]
movzx edi, byte [esp + 0x1e]
shr ebx, 8
and ebx, 0xff00ff
mov eax, ebx
shr eax, 0x10
sub edx, eax
movzx eax, byte [esp + 0x1c]
mov esi, dword [ebp]
shl edi, 0x10
or edi, eax
mov eax, esi
and eax, 0xff00ff
imul edi, ecx
imul eax, edx
shr esi, 8
and esi, 0xff00ff
imul esi, edx
mov edx, 0x100
shr edi, 8
shr eax, 8
and edi, 0xff00ff
and eax, 0xff00ff
add edi, eax
shr esi, 8
mov ecx, edi
and esi, 0xff00ff
shr ecx, 8
add ebx, esi
and ecx, 0xff00ff
mov eax, ebx
shr eax, 8
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 edx, 0xff00ff
and eax, 0xff00ff
shl ebx, 8
sub ecx, eax
shl ecx, 8
or ecx, ebx
xor edx, ecx
mov dword [ebp], edx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
mov edi, eax
cmp eax, dword [ecx + 0x10]
mov eax, ecx
mov ecx, dword [esp + 0x4c]
jl 0x4431e0
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x40
ret 4