Function at 0x43c680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
mov esi, edx
cmp ebx, eax
jne 0x43c754
mov edx, dword [esi + 8]
mov ecx, dword [esi]
test edx, edx
jne 0x43c6e7
push eax
mov eax, dword [esi + 4]
push eax
push ecx
call fcn.00423990
mov edx, dword [esi]
mov eax, dword [ebp + 8]
push edx
push eax
call dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov ecx, dword [esi + 4]
push ebx
push edi
push ecx
call fcn.00423990
mov esi, dword [esi]
add esp, 0x20
test ebx, ebx
jle 0x43c83c
mov eax, esi
sub eax, edi
mov dl, byte [eax + edi]
xor byte [edi], dl
inc edi
dec ebx
jne 0x43c6d7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, eax
sub ebx, edx
add ecx, edx
test ebx, ebx
jle 0x43c703
mov eax, edi
sub ecx, edi
mov dword [ebp - 4], ebx
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec dword [ebp - 4]
jne 0x43c6f8
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push eax
push ecx
push edx
call fcn.00423990
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
push eax
push ecx
call dword [ebp + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
add eax, ebx
push edi
push eax
call fcn.00423990
mov ecx, dword [esi + 8]
mov edx, dword [esi]
add esp, 0x20
lea eax, [ebx + edi]
test ecx, ecx
jle 0x43c83c
sub edx, eax
mov esi, ecx
mov cl, byte [edx + eax]
xor byte [eax], cl
inc eax
dec esi
jne 0x43c744
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x43c7a3
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
push edx
push eax
call fcn.00423990
mov ecx, dword [esi]
mov edx, dword [ebp + 8]
push ecx
push edx
call dword [ebp + 0xc]
mov eax, dword [esi + 4]
push ebx
push edi
push eax
call fcn.00423990
mov ecx, dword [esi]
add esp, 0x20
test ebx, ebx
jle 0x43c839
mov eax, edi
sub ecx, edi
mov edi, ebx
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec edi
jne 0x43c790
pop edi
mov dword [esi + 8], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub eax, ecx
cmp eax, ebx
jge 0x43c7b0
mov edx, eax
mov dword [ebp - 4], edx
jmp 0x43c7b5
mov dword [ebp - 4], ebx
mov edx, ebx
mov ecx, dword [esi]
add ecx, dword [esi + 8]
test edx, edx
jle 0x43c7d3
mov eax, edi
sub ecx, edi
mov dword [ebp - 8], edx
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec dword [ebp - 8]
jne 0x43c7c5
mov edx, dword [ebp - 4]
mov eax, dword [esi + 8]
add eax, dword [esi + 4]
push edx
push edi
push eax
call fcn.00423990
mov eax, dword [ebp - 4]
add dword [esi + 8], eax
add esp, 0xc
cmp eax, ebx
jge 0x43c83c
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 4]
mov eax, dword [esi]
push ecx
push edx
push eax
call fcn.00423990
mov ecx, dword [esi]
mov edx, dword [ebp + 8]
push ecx
push edx
call dword [ebp + 0xc]
sub ebx, dword [ebp - 4]
mov eax, dword [esi + 4]
push ebx
push edi
push eax
call fcn.00423990
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 4]
add esp, 0x20
add eax, edi
test ebx, ebx
jle 0x43c839
mov edi, ecx
sub edi, eax
mov ecx, ebx
jmp 0x43c830
mov dl, byte [edi + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x43c830
mov dword [esi + 8], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret