Function at 0x43d710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov dword [esp + 8], ecx
cmp dword [ecx + 8], 0
je 0x43d7b0
mov eax, dword [esp + 8]
mov ebx, dword [eax]
test ebx, ebx
je 0x43d7b0
mov dword [esp], 0xf0fffefd
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor ecx, ecx
xor edi, edi
nop
movzx esi, byte [esp + edi]
mov eax, ecx
and eax, 0xa
mov edx, edi
xor edx, 0xf04e77d5
add edx, eax
xor edx, esi
mov eax, edx
and eax, 1
or edx, 1
add edx, eax
add dl, 0xd6
mov byte [esp + edi], dl
inc edi
add ecx, 2
cmp edi, 7
jne 0x43d750
mov eax, dword [esp]
mov esi, dword [0x44f26c]
test esi, esi
je 0x43d809
xor edx, edx
mov edi, dword [0x44f270]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0xaf0e0c2e
je 0x43d7ec
inc edx
cmp esi, edx
jne 0x43d7a0
jmp 0x43d809
mov dword [esp], 0x43828188
mov dword [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xa0
xor cl, byte [esp + eax]
add cl, 0xe0
mov byte [esp + eax], cl
inc eax
cmp eax, 8
jne 0x43d7d0
mov eax, dword [esp]
jmp 0x43d9db
mov edx, dword [edi + edx*8 + 4]
cmp edx, eax
je 0x43d809
push dword [ebp + 8]
push ebx
push 8
push edx
push dword [0x44f274]
call fcn.0043fac0
add esp, 0x14
cmp dword [ebp + 0xc], 1
mov ecx, dword [ebp + 0x10]
sbb ecx, 0
jl 0x43d911
cmp eax, 0xc000010a
jne 0x43d911
mov esi, dword [ebp + 0xc]
mov ecx, esi
and ecx, 0x270f
mov edi, esi
and edi, 0xffffd8f0
mov eax, edi
xor eax, 0xffffd8f0
mov ebx, dword [ebp + 0x10]
not ebx
imul ebx, ecx
mul ecx
mov dword [esp + 0xc], eax
mov ecx, edx
add ecx, ebx
or esi, 0xffffd8f0
mov eax, esi
mul edi
mov ebx, dword [ebp + 0x10]
imul ebx, esi
add edx, ebx
sub edx, edi
add eax, dword [esp + 0xc]
adc edx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 8]
mov edx, dword [eax]
mov dword [esp], 0xf0fffefd
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor eax, eax
xor esi, esi
nop
movzx edi, byte [esp + esi]
mov ebx, eax
and ebx, 0xa
mov ecx, esi
xor ecx, 0xf04e77d5
add ecx, ebx
xor ecx, edi
mov edi, ecx
and edi, 1
or ecx, 1
add ecx, edi
add cl, 0xd6
mov byte [esp + esi], cl
inc esi
add eax, 2
cmp esi, 7
jne 0x43d890
mov eax, dword [esp]
mov esi, dword [0x44f26c]
test esi, esi
je 0x43d911
xor ecx, ecx
mov edi, dword [0x44f270]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ecx*8], 0x4c697c35
je 0x43d8f0
inc ecx
cmp esi, ecx
jne 0x43d8e0
jmp 0x43d911
mov ecx, dword [edi + ecx*8 + 4]
cmp ecx, eax
je 0x43d911
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 0xc
push ecx
push dword [0x44f274]
call fcn.0043fac0
add esp, 0x18
test eax, eax
js 0x43d9db
mov ecx, dword [esp + 8]
mov ecx, dword [ecx]
test ecx, ecx
je 0x43d9db
mov dword [esp + 0xc], ecx
mov dword [esp], 0xf0fffefd
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor edx, edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edi]
mov esi, edx
and esi, 0xa
mov ecx, edi
xor ecx, 0xf04e77d5
add ecx, esi
xor ecx, ebx
mov esi, ecx
and esi, 1
or ecx, 1
add ecx, esi
add cl, 0xd6
mov byte [esp + edi], cl
inc edi
add edx, 2
cmp edi, 7
jne 0x43d950
mov esi, dword [0x44f26c]
test esi, esi
je 0x43d9d1
mov edi, dword [esp]
xor ecx, ecx
mov ebx, dword [0x44f270]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + ecx*8], 0x1b6183f2
je 0x43d9b0
inc ecx
cmp esi, ecx
jne 0x43d9a0
jmp 0x43d9d1
mov ecx, dword [ebx + ecx*8 + 4]
cmp ecx, edi
je 0x43d9d1
push dword [esp + 0xc]
push 4
push ecx
push dword [0x44f274]
mov esi, eax
call fcn.0043fac0
mov eax, esi
add esp, 0x10
mov ecx, dword [esp + 8]
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc