Function at 0x43dd10
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [esp + 0x38]
xor ecx, ecx
test eax, eax
je 0x43dd43
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 0x43dd30
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x18], cx
mov edx, eax
test eax, eax
je 0x43dd53
add ecx, 2
mov edx, ecx
mov esi, dword [esp + 0x3c]
mov word [esp + 0x1a], dx
mov dword [esp + 0x1c], eax
mov dword [esp], 0x888b8a8d
mov byte [esp + 4], 0
mov eax, 0xe6e58ae3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x191a751d]
xor ecx, eax
neg ecx
mov edx, ecx
and edx, 0x70
add edx, edx
xor ecx, 0x8f
sub ecx, edx
add cl, 2
mov byte [esp + eax + 0x191a751d], cl
inc eax
cmp eax, 0xe6e58ae8
jne 0x43dd80
mov ebx, dword [esp]
mov eax, dword [0x449860]
test eax, eax
je 0x43de0f
xor ecx, ecx
mov edx, dword [0x449864]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xc0a4c970
je 0x43dde0
inc ecx
cmp eax, ecx
jne 0x43ddd0
jmp 0x43de0f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x43de0f
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x48]
push 0x18
push eax
push dword [0x449868]
call fcn.00439510
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x99dadb21
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov eax, 0x4ac7baaf
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x4ac7baaf]
lea edx, [eax - 0x4ac7ba00]
and edx, ecx
or ecx, eax
xor ecx, edx
mov edx, ecx
and edx, 0x14
xor ecx, 0x94
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax - 0x4ac7baaf], cl
inc eax
cmp eax, 0x4ac7bab6
jne 0x43de30
cmp ebx, dword [esp]
jne 0x43dff6
push dword [esp + 0xc]
call fcn.00436390
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 0x93929192
mov word [esp + 0x14], 0
mov edx, 0x64
mov ebx, 0xf8190b9b
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edx - 0x54]
mov edi, edx
xor edi, ebx
and edi, ecx
xor edi, ebx
mov ecx, edi
not ecx
and ecx, 0xb
xor edi, 0xf4
lea ecx, [edi + ecx*2]
inc cl
mov byte [esp + edx - 0x54], cl
inc edx
dec ebx
cmp edx, 0x6a
jne 0x43dea0
mov edx, dword [esp + 0x10]
mov dword [esp], 0x888b8a8d
mov byte [esp + 4], 0
mov ebx, 0xe6e58ae3
nop
movzx ecx, byte [esp + ebx + 0x191a751d]
xor ecx, ebx
neg ecx
mov edi, ecx
and edi, 0x70
add edi, edi
xor ecx, 0x8f
sub ecx, edi
add cl, 2
mov byte [esp + ebx + 0x191a751d], cl
inc ebx
cmp ebx, 0xe6e58ae8
jne 0x43dee0
mov ebx, dword [esp]
mov ebp, dword [0x449860]
test ebp, ebp
je 0x43df73
xor ecx, ecx
mov edi, dword [0x449864]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ecx*8], 0xc0a4c970
je 0x43df40
inc ecx
cmp ebp, ecx
jne 0x43df30
jmp 0x43df73
mov ebp, dword [edi + ecx*8 + 4]
cmp ebp, ebx
je 0x43df73
lea ecx, [esp + 0xc]
lea edi, [esp + 0x18]
push ecx
push dword [esp + 0xc]
push eax
push edx
push edi
push dword [esp + 0x48]
push 0x18
push ebp
push dword [0x449868]
mov edi, eax
call fcn.00439510
add esp, 0x24
mov ebx, eax
mov eax, edi
test ebx, ebx
mov edx, dword [esp + 0x40]
js 0x43dfed
test esi, esi
je 0x43df84
mov ecx, dword [eax + 4]
mov dword [esi], ecx
cmp dword [esp + 0x44], 0
je 0x43dfed
test edx, edx
je 0x43dfe4
mov esi, edx
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x43dfa0
mov edx, ecx
lea ebp, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov edi, esi
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
mov ecx, edx
and ecx, 0xfffffffc
add esi, ecx
lea ebp, [eax + ecx]
add ebp, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov dword [esp + 8], ebp
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test dl, 1
je 0x43dfe4
and edx, 2
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + edx]
mov byte [esi + edx], cl
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x44]
mov dword [edx], ecx
push eax
call fcn.004363f0
add esp, 4
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret