Function at 0x43d5f0
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 0x43d623
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 0x43d610
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x14], cx
mov edx, eax
test eax, eax
je 0x43d633
add ecx, 2
mov edx, ecx
mov word [esp + 0x16], dx
mov dword [esp + 0x18], eax
mov dword [esp], 0x585b5a45
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x6f
xor cl, byte [esp + eax]
add cl, 0xd5
mov byte [esp + eax], cl
inc eax
cmp eax, 5
jne 0x43d650
mov esi, dword [esp]
mov eax, dword [0x449644]
test eax, eax
je 0x43d6bf
xor ecx, ecx
mov edx, dword [0x449648]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xc0a4c970
je 0x43d690
inc ecx
cmp eax, ecx
jne 0x43d680
jmp 0x43d6bf
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43d6bf
lea ecx, [esp + 8]
lea edx, [esp + 0x14]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x48]
push 6
push eax
push dword [0x44964c]
call fcn.00438a80
add esp, 0x24
mov esi, eax
mov dword [esp], 0xe3222143
mov eax, 0x6406308
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x6406308]
mov edx, eax
and edx, ecx
mov edi, edx
or edi, 0xfffffffd
inc edi
mov ebp, edx
and ebp, 9
imul ebp, edi
mov edi, edx
xor ecx, eax
lea ebx, [ecx + edx*2]
add ebx, 0x9a818225
and edx, 2
or edi, 2
imul edi, edx
sub ebp, edi
add ecx, 0x9a818225
add ebx, ebp
and ecx, 1
or ebx, 1
add ebx, ecx
add bl, 0xb2
mov byte [esp + eax - 0x6406308], bl
inc eax
cmp eax, 0x640630c
jne 0x43d6d0
cmp esi, dword [esp]
jne 0x43d899
push dword [esp + 8]
call fcn.004354e0
add esp, 4
mov edi, dword [esp + 8]
mov dword [esp + 0xc], 0x63626162
mov word [esp + 0x10], 0
mov byte [esp + 0x12], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, edx
or bl, 0x98
xor bl, byte [esp + edx + 0xc]
add bl, 8
mov byte [esp + edx + 0xc], bl
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
cmp edx, 7
jb 0x43d760
mov edx, dword [esp + 0xc]
mov dword [esp], 0x585b5a45
mov byte [esp + 4], 0
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, ebx
add cl, 0x6f
xor cl, byte [esp + ebx]
add cl, 0xd5
mov byte [esp + ebx], cl
inc ebx
cmp ebx, 5
jne 0x43d7a0
mov esi, dword [esp]
mov ebx, dword [0x449644]
test ebx, ebx
je 0x43d810
mov ecx, edi
xor ebp, ebp
mov edi, dword [0x449648]
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0xc0a4c970
je 0x43d7e0
inc ebp
cmp ebx, ebp
jne 0x43d7d0
jmp 0x43d810
mov ebp, dword [edi + ebp*8 + 4]
cmp ebp, esi
je 0x43d810
lea edi, [esp + 8]
lea esi, [esp + 0x14]
push edi
push ecx
push eax
push edx
push esi
push dword [esp + 0x48]
push 6
push ebp
push dword [0x44964c]
mov edi, eax
call fcn.00438a80
add esp, 0x24
mov esi, eax
mov eax, edi
test esi, esi
mov ebp, dword [esp + 0x40]
js 0x43d890
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x43d825
mov ecx, dword [eax + 4]
mov dword [edx], ecx
cmp dword [esp + 0x44], 0
je 0x43d890
test ebp, ebp
je 0x43d887
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x43d83f
mov edx, ecx
lea ebx, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov edi, ebp
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
mov ecx, edx
and ecx, 0xfffffffc
add ebp, ecx
lea edi, [eax + ecx]
add edi, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov ebx, ebp
mov dword [esp + 0x1c], edi
mov ebp, edi
mov edi, ebx
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test dl, 1
je 0x43d887
and edx, 2
mov ecx, dword [esp + 0x1c]
movzx ecx, byte [ecx + edx]
mov byte [ebx + edx], cl
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x44]
mov dword [edx], ecx
push eax
call fcn.00435570
add esp, 4
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret