Function at 0x439ad0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 8]
shl eax, 4
add eax, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], eax
cmp edx, eax
je 0x439d79
push ebx
push ebp
push esi
push edi
mov eax, dword [edx]
mov ecx, dword [edx + 0xc]
mov ebp, dword [edx + 8]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 4]
add ecx, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ecx
cmp eax, ecx
jge 0x439d64
mov edi, dword [esp + 0x3c]
nop dword [eax + eax]
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x10]
sub ecx, dword [edi + 0x10]
mov edx, dword [ebx + 0xc]
imul edx, eax
mov dword [esp + 0x18], ebp
add edx, dword [ebx]
mov dword [edi + 0x14], edx
imul ecx, dword [esi + 0xc]
mov eax, dword [esi]
add eax, ecx
mov dword [edi + 0x18], eax
mov ebp, dword [ebx + 0x10]
mov dword [esp + 0x28], eax
mov eax, ebp
imul eax, dword [esp + 0x24]
mov dword [esp + 0x1c], ebp
add eax, edx
mov edx, dword [esp + 0x24]
sub edx, dword [edi + 0xc]
cmp dword [edi + 8], 0xfe
jge 0x439c4c
nop
mov ecx, dword [edi + 4]
mov esi, edx
inc edx
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + 0x10]
mov ecx, dword [edi + 0x18]
imul edx, esi
mov esi, 0x100
movzx ecx, byte [edx + ecx]
mov edx, 0x100
mov ebx, ecx
shl ebx, 0x10
or ebx, ecx
imul ebx, dword [edi + 8]
shr ebx, 8
and ebx, 0xff00ff
mov ecx, ebx
shr ecx, 0x10
sub edx, ecx
mov ecx, dword [eax]
mov edi, ecx
shr ecx, 8
and ecx, 0xff00ff
and edi, 0xff00ff
imul ecx, edx
imul edi, edx
shr ecx, 8
and ecx, 0xff00ff
shr edi, 8
and edi, 0xff00ff
add edi, ebx
add ebx, ecx
mov ecx, ebx
mov edx, edi
shr ecx, 8
and ecx, 0xff00ff
shr edx, 8
sub esi, ecx
and edx, 0xff00ff
shl esi, 8
mov ecx, ebx
shl ecx, 8
or esi, ecx
mov ecx, 0x100
sub ecx, edx
mov edx, 0x100
or ecx, edi
mov edi, dword [esp + 0x3c]
xor esi, ecx
mov ecx, ebx
shr ecx, 8
and esi, 0xff00ff
and ecx, 0xff00ff
shl ebx, 8
sub edx, ecx
mov ecx, dword [esp + 0x18]
shl edx, 8
dec ecx
or edx, ebx
mov dword [esp + 0x18], ecx
xor esi, edx
mov edx, dword [esp + 0x1c]
mov dword [eax], esi
add eax, ebp
test ecx, ecx
jg 0x439b70
jmp 0x439d49
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x10]
mov ebp, ecx
imul ebp, edx
mov dword [esp + 0x2c], ecx
add ebp, dword [esp + 0x28]
cmp dword [esp + 0x1c], ecx
jne 0x439c90
cmp dword [esi + 8], 1
jne 0x439c90
cmp dword [ebx + 8], 1
jne 0x439c90
imul ecx, dword [esp + 0x14]
push ecx
push ebp
push eax
call fcn.00514850
add esp, 0xc
jmp 0x439d49
movzx ecx, byte [ebp]
mov edx, 0x100
mov ebx, ecx
add ebp, dword [esp + 0x2c]
shl ebx, 0x10
mov esi, 0x100
or ebx, ecx
mov ecx, ebx
shr ecx, 0x10
sub edx, ecx
mov ecx, dword [eax]
mov edi, ecx
shr ecx, 8
and ecx, 0xff00ff
and edi, 0xff00ff
imul ecx, edx
imul edi, edx
shr ecx, 8
and ecx, 0xff00ff
shr edi, 8
and edi, 0xff00ff
add edi, ebx
add ebx, ecx
mov ecx, ebx
mov edx, edi
shr ecx, 8
and ecx, 0xff00ff
shr edx, 8
sub esi, ecx
and edx, 0xff00ff
shl esi, 8
mov ecx, ebx
shl ecx, 8
or esi, ecx
mov ecx, 0x100
sub ecx, edx
mov edx, 0x100
or ecx, edi
xor esi, ecx
mov ecx, ebx
shr ecx, 8
and esi, 0xff00ff
and ecx, 0xff00ff
shl ebx, 8
sub edx, ecx
mov ecx, dword [esp + 0x18]
shl edx, 8
dec ecx
or edx, ebx
mov dword [esp + 0x18], ecx
xor esi, edx
mov dword [eax], esi
add eax, dword [esp + 0x1c]
test ecx, ecx
jg 0x439c90
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x30]
jl 0x439b20
mov edx, dword [esp + 0x20]
add edx, 0x10
mov dword [esp + 0x20], edx
cmp edx, dword [esp + 0x34]
jne 0x439af2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4