Function at 0x43ddb0
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 0x43dde3
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 0x43ddd0
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x18], cx
mov edx, eax
test eax, eax
je 0x43ddf3
add ecx, 2
mov edx, ecx
mov word [esp + 0x1a], dx
mov dword [esp + 0x1c], eax
mov dword [esp], 0xf8fbfafd
mov word [esp + 4], 0
mov edx, 0x65053c2b
nop
movzx eax, byte [esp + edx - 0x65053c2b]
mov ebx, eax
mov esi, eax
and ebx, edx
mov eax, ebx
or al, 0xfd
inc al
mov ecx, ebx
and cl, 0x3d
mul cl
mov ecx, eax
mov eax, esi
add cl, al
mov eax, ebx
shr al, 1
and al, 1
or bl, 2
mul bl
add al, al
sub cl, al
movzx eax, cl
add eax, edx
add al, 0x29
mov byte [esp + edx - 0x65053c2b], al
inc edx
cmp edx, 0x65053c31
jne 0x43de10
mov ebp, dword [esp]
mov eax, dword [0x44a8e4]
test eax, eax
je 0x43deaf
xor ecx, ecx
mov edx, dword [0x44a8e8]
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xc0a4c970
je 0x43de80
inc ecx
cmp eax, ecx
jne 0x43de70
jmp 0x43deaf
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebp
je 0x43deaf
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x48]
push 6
push eax
push dword [0x44a8ec]
call fcn.004390d0
add esp, 0x24
mov ebp, eax
mov dword [esp], 0x8fcec92f
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx]
mov edi, eax
and edi, 4
mov edx, ecx
xor edx, 0x7ca71732
add edx, edi
mov edi, edx
and edi, esi
add edx, esi
add edi, edi
sub edx, edi
add dl, 6
mov byte [esp + ecx], dl
inc ecx
add eax, 2
cmp ecx, 7
jne 0x43ded0
cmp ebp, dword [esp]
jne 0x43e0d1
push dword [esp + 0xc]
call fcn.00435fa0
add esp, 4
mov esi, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0xf0e090e
mov byte [esp + 0x14], 0
mov eax, 0x26c6ec2
mov ecx, 0x5d93913d
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x26c6eb2]
mov edi, ecx
and edi, 0x44819132
mov ebx, eax
and ebx, 0x20026cd
or ebx, edi
xor edx, 0xe4edd932
mov edi, edx
and edi, ebx
add edx, ebx
add edi, edi
sub edx, edi
add dl, 0x36
mov byte [esp + eax - 0x26c6eb2], dl
inc eax
dec ecx
cmp eax, 0x26c6ec7
jne 0x43df40
mov edi, dword [esp + 0x10]
mov dword [esp], 0xf8fbfafd
mov word [esp + 4], 0
mov ebp, 0x65053c2b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + ebp - 0x65053c2b]
mov edx, ebx
and edx, ebp
mov eax, edx
or al, 0xfd
inc al
mov ecx, edx
and cl, 0x3d
mul cl
mov ecx, eax
add cl, bl
mov eax, edx
shr al, 1
and al, 1
or dl, 2
mul dl
add al, al
sub cl, al
movzx eax, cl
add eax, ebp
add al, 0x29
mov byte [esp + ebp - 0x65053c2b], al
inc ebp
cmp ebp, 0x65053c31
jne 0x43dfa0
mov ebp, dword [esp]
mov eax, dword [0x44a8e4]
test eax, eax
je 0x43e03f
xor ecx, ecx
mov edx, dword [0x44a8e8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xc0a4c970
je 0x43e010
inc ecx
cmp eax, ecx
jne 0x43e000
jmp 0x43e03f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebp
je 0x43e03f
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push dword [esp + 0xc]
push esi
push edi
push edx
push dword [esp + 0x48]
push 6
push eax
push dword [0x44a8ec]
call fcn.004390d0
add esp, 0x24
mov ebp, eax
test ebp, ebp
js 0x43e0c8
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x43e054
mov eax, dword [esi + 4]
mov dword [ecx], eax
cmp dword [esp + 0x44], 0
je 0x43e0c8
mov dword [esp + 8], esi
mov esi, dword [esp + 0x40]
test esi, esi
je 0x43e0bb
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 8]
cmp eax, ecx
jb 0x43e07a
mov eax, ecx
mov ebx, dword [esp + 8]
lea edx, [ebx + 0xc]
mov ecx, eax
shr ecx, 2
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, eax
and ecx, 0xfffffffc
add esi, ecx
lea edx, [ebx + ecx]
add edx, 0xc
mov ecx, eax
shr ecx, 1
and ecx, 1
mov ebx, edx
mov edi, esi
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
test al, 1
je 0x43e0bb
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [esi + eax], cl
mov esi, dword [esp + 8]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
push esi
call fcn.00436020
add esp, 4
mov eax, ebp
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret