Function at 0x43a6f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov edx, dword [ecx]
cmp edx, 0xffffffff
sete al
cmp dword [ecx + 8], 0
setne ah
test edx, edx
je 0x43a7b6
or al, ah
je 0x43a7b6
mov dword [esp + 0x14], 0x40474645
mov word [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x43a781
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 0x14]
lea edi, [eax - 0x6c35488f]
lea ebx, [eax + esi]
add ebx, 0x93cab771
add eax, 0x71
or eax, edi
and eax, esi
add eax, eax
sub ebx, eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 8]
add al, 0xcb
mov esi, dword [esp]
mov byte [esp + esi + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x43a740
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
mov ebx, dword [0x44bbd0]
test ebx, ebx
je 0x43a840
xor edi, edi
mov esi, dword [0x44bbd4]
nop
nop
cmp dword [esi + edi*8], 0xc766965c
je 0x43a81c
inc edi
cmp ebx, edi
jne 0x43a7a0
mov edi, dword [ebp + 0x10]
jmp 0x43a840
mov dword [esp], 0x43020108
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 3
ja 0x43a814
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx]
lea edx, [eax + 0x40]
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
add eax, 0x2b561d40
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
xor ecx, 0x40
and eax, 0x3f
add eax, eax
sub eax, ecx
mov ecx, dword [esp + 8]
mov byte [esp + ecx], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 4
jb 0x43a7d0
mov eax, dword [esp]
jmp 0x43a942
mov esi, dword [esi + edi*8 + 4]
cmp esi, eax
mov edi, dword [ebp + 0x10]
je 0x43a840
push dword [ebp + 8]
push edx
push 2
push dword [0x44bbd8]
push esi
mov esi, ecx
call fcn.0043c6e0
mov ecx, esi
add esp, 0x14
mov esi, dword [ebp + 0xc]
cmp esi, 1
mov edx, edi
sbb edx, 0
jl 0x43a935
cmp eax, 0xc000010a
jne 0x43a935
mov edx, 0xffffd8f0
mov eax, esi
mul edx
sub edx, esi
imul esi, edi, 0xffffd8f0
add esi, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov edx, dword [ecx]
mov dword [esp + 0x14], 0x40474645
mov word [esp + 0x18], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 5
ja 0x43a8e4
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov esi, dword [esp + 4]
movzx esi, byte [esp + esi + 0x14]
lea edi, [eax - 0x6c35488f]
lea ebx, [eax + esi]
add ebx, 0x93cab771
add eax, 0x71
or eax, edi
and eax, esi
add eax, eax
sub ebx, eax
mov dword [esp], ebx
mov eax, dword [esp]
add al, 0xcb
mov esi, dword [esp + 4]
mov byte [esp + esi + 0x14], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 6
jb 0x43a8a0
mov eax, dword [esp + 0x14]
mov esi, dword [0x44bbd0]
test esi, esi
je 0x43a935
xor edi, edi
mov ebx, dword [0x44bbd4]
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x7e28bda7
je 0x43a910
inc edi
cmp esi, edi
jne 0x43a900
jmp 0x43a935
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x43a935
lea eax, [esp + 8]
push eax
push 0
push edx
push 3
push dword [0x44bbd8]
push esi
mov esi, ecx
call fcn.0043c6e0
mov ecx, esi
add esp, 0x18
test eax, eax
js 0x43a942
mov esi, eax
call fcn.0043a610
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc