Function at 0x43d420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
cmp dword [ecx + 8], 0
je 0x43d4e6
mov edx, dword [ecx]
test edx, edx
je 0x43d4e6
mov dword [esp + 4], 0x94959a9b
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x43d4a9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 4]
mov edi, eax
xor edi, 0x4bdb47a6
and eax, 0xcbdb47a6
lea eax, [edi + eax*2]
xor eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xc2
mov esi, dword [esp]
mov byte [esp + esi + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x43d470
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 4]
mov ebx, dword [0x44f128]
test ebx, ebx
je 0x43d576
xor edi, edi
mov esi, dword [0x44f12c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edi*8], 0xc766965c
je 0x43d552
inc edi
cmp ebx, edi
jne 0x43d4d0
mov edi, dword [ebp + 0x10]
jmp 0x43d576
mov dword [esp + 4], 0xb97a7b74
mov byte [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x43d549
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
mov edx, eax
xor edx, 0xe59a6f6b
and eax, 0xe59a6f6b
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xe9
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x43d510
mov eax, dword [esp + 4]
jmp 0x43d682
mov esi, dword [esi + edi*8 + 4]
cmp esi, eax
mov edi, dword [ebp + 0x10]
je 0x43d576
push dword [ebp + 8]
push edx
push 2
push dword [0x44f130]
push esi
mov esi, ecx
call fcn.0043fbf0
mov ecx, esi
add esp, 0x14
mov esi, dword [ebp + 0xc]
cmp esi, 1
mov edx, edi
sbb edx, 0
jl 0x43d675
cmp eax, 0xc000010a
jne 0x43d675
mov edx, 0xffffd8f0
mov eax, esi
mul edx
sub edx, esi
imul esi, edi, 0xffffd8f0
add esi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov dword [esp + 4], 0x94959a9b
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 6
ja 0x43d61c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0xc]
movzx esi, byte [esp + esi + 4]
mov edi, eax
xor edi, 0x4bdb47a6
and eax, 0xcbdb47a6
lea eax, [edi + eax*2]
xor eax, esi
mov dword [esp], eax
mov eax, dword [esp]
add al, 0xc2
mov esi, dword [esp + 0xc]
mov byte [esp + esi + 4], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 7
jb 0x43d5e0
mov eax, dword [esp + 4]
mov esi, dword [0x44f128]
test esi, esi
je 0x43d675
xor edi, edi
mov ebx, dword [0x44f12c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x7e28bda7
je 0x43d650
inc edi
cmp esi, edi
jne 0x43d640
jmp 0x43d675
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x43d675
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 3
push dword [0x44f130]
push esi
mov esi, ecx
call fcn.0043fbf0
mov ecx, esi
add esp, 0x18
test eax, eax
js 0x43d682
mov esi, eax
call fcn.0043d340
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc