Function at 0x43a5c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [esp + 0x3c]
xor ecx, ecx
test eax, eax
je 0x43a5f3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x43a5e0
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x18], cx
mov edx, eax
test eax, eax
je 0x43a603
add ecx, 2
mov edx, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc], ecx
mov word [esp + 0x1a], dx
mov dword [esp + 0x1c], eax
mov dword [esp], 0xacccaccb
xor eax, eax
mov dl, 1
nop
movzx ecx, word [esp + eax*2]
mov esi, eax
xor esi, 0xed945e53
lea esi, [esi + eax*2]
mov edi, esi
and edi, ecx
add edi, edi
sub esi, edi
add esi, ecx
mov ecx, esi
and ecx, 0xd67
xor esi, 0xd67
lea ecx, [esi + ecx*2]
inc ecx
mov word [esp + eax*2], cx
mov eax, 1
xor ecx, ecx
test dl, 1
mov edx, 0
jne 0x43a620
mov eax, dword [esp]
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0xefc4efc1
mov bl, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [esp + ecx*2 + 0x14]
lea esi, [ecx + 0x571b]
mov edi, 0xa8e4
sub edi, ecx
mov ebp, edx
not ebp
or edi, ebp
add edx, edi
inc edx
and ebp, esi
or ebp, edx
add ebp, 0x4728
mov word [esp + ecx*2 + 0x14], bp
mov ecx, 1
xor edx, edx
test bl, 1
mov ebx, 0
jne 0x43a680
mov ecx, dword [esp + 0x14]
mov dword [esp + 4], 0xd500d501
mov bl, 1
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [esp + edx*2 + 4]
mov ebp, edx
or ebp, 0xe66e
and ebp, eax
mov esi, ebp
and esi, 0xe66d
mov edi, eax
or edi, 0xfffd
inc edi
imul edi, esi
lea esi, [edx + eax]
add esi, 0xe66e
and eax, 2
or ebp, 2
imul ebp, eax
add esi, edi
sub esi, ebp
add esi, 0xffffcc90
mov word [esp + edx*2 + 4], si
mov edx, 1
test bl, 1
mov ebx, 0
jne 0x43a6d0
mov ebx, dword [esp + 4]
mov edx, dword [0x445320]
test edx, edx
je 0x43a780
xor esi, esi
mov edi, dword [0x445324]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x299a4ecd
je 0x43a750
inc esi
cmp edx, esi
jne 0x43a740
jmp 0x43a780
mov edx, dword [edi + esi*8 + 4]
cmp edx, ebx
je 0x43a780
lea eax, [esp + 0x10]
lea esi, [esp + 0x18]
push eax
push dword [esp + 0xc]
push 0
push ecx
push esi
push dword [esp + 0x4c]
push 0x18
push edx
push dword [0x445328]
call fcn.004371a0
add esp, 0x24
mov ebx, eax
cmp ebx, 0xc0000023
jne 0x43a95b
push dword [esp + 0x10]
call fcn.00435730
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
mov dword [esp], 0x867f867c
xor edx, edx
mov cl, 1
nop
nop
nop
movzx eax, word [esp + edx*2]
mov ebx, edx
or ebx, eax
or ebx, 0x347c360e
mov edi, edx
or edi, 0x360e
and edi, eax
sub ebx, edi
mov eax, ebx
not eax
or eax, 0x5c1e4f8f
add eax, ebx
xor ebx, 0x5c1e4f8f
lea eax, [ebx + eax*2]
add eax, 2
and ebx, 1
xor eax, 1
lea eax, [eax + ebx*2]
mov word [esp + edx*2], ax
mov edx, 1
xor edi, edi
test cl, 1
mov ecx, 0
jne 0x43a7b0
mov eax, dword [esp]
mov dword [esp + 0x20], eax
mov dword [esp + 4], 0xd500d501
mov cl, 1
movzx edx, word [esp + edi*2 + 4]
mov ebx, edi
or ebx, 0xe66e
and ebx, edx
mov eax, ebx
and eax, 0xe66d
mov ebp, edx
or ebp, 0xfffd
inc ebp
imul ebp, eax
lea eax, [edi + edx]
add eax, 0xe66e
and edx, 2
or ebx, 2
imul ebx, edx
add eax, ebp
sub eax, ebx
add eax, 0xffffcc90
mov word [esp + edi*2 + 4], ax
mov edi, 1
test cl, 1
mov ecx, 0
jne 0x43a810
mov ebx, dword [esp + 4]
mov ecx, dword [0x445320]
test ecx, ecx
je 0x43a8c2
xor eax, eax
mov edi, dword [0x445324]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + eax*8], 0x299a4ecd
je 0x43a890
inc eax
cmp ecx, eax
jne 0x43a880
jmp 0x43a8c2
mov ecx, dword [edi + eax*8 + 4]
cmp ecx, ebx
je 0x43a8c2
lea eax, [esp + 0x10]
lea edx, [esp + 0x18]
push eax
push dword [esp + 0xc]
push esi
push dword [esp + 0x2c]
push edx
push dword [esp + 0x4c]
push 0x18
push ecx
push dword [0x445328]
call fcn.004371a0
add esp, 0x24
mov ebx, eax
test ebx, ebx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
js 0x43a952
test edx, edx
je 0x43a8db
mov eax, dword [esi + 4]
mov dword [edx], eax
cmp dword [esp + 0x48], 0
je 0x43a952
test ecx, ecx
je 0x43a949
mov eax, dword [esp + 0x48]
mov edx, dword [eax]
mov eax, dword [esi + 8]
cmp edx, eax
jb 0x43a8f5
mov edx, eax
lea eax, [esi + 0xc]
mov ecx, edx
shr ecx, 2
mov edi, dword [esp + 0x44]
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
xor eax, 3
mov ecx, edx
or ecx, 0xfffffffc
and ecx, eax
add dword [esp + 0xc], ecx
lea ebp, [esi + ecx]
add ebp, 0xc
mov eax, edx
and eax, 3
mov ecx, eax
shr ecx, 1
mov dword [esp + 8], ebp
mov edi, dword [esp + 0xc]
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
mov edi, dword [esp + 0xc]
test dl, 1
je 0x43a949
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + eax - 1]
mov byte [edi + eax - 1], cl
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
push esi
call fcn.00435750
add esp, 4
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret