Function at 0x43c220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov dword [esp + 0x10], 0x40414e4f
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x43c2af
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx edx, byte [esp + ecx + 0x10]
lea esi, [eax + 0x266168f6]
lea ecx, [eax + edx]
add ecx, 0x266168f6
add eax, 0xf6
or esi, eax
and esi, edx
and eax, edx
add eax, esi
mov edx, eax
xor edx, ecx
not eax
and eax, ecx
add eax, eax
sub eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x46
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x43c260
mov edi, dword [esp + 0x10]
mov eax, dword [0x44ab40]
test eax, eax
je 0x43c30c
xor ecx, ecx
mov edx, dword [0x44ab44]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x77defcd
je 0x43c2e0
inc ecx
cmp eax, ecx
jne 0x43c2d0
jmp 0x43c30c
mov eax, dword [edx + ecx*8 + 4]
cmp eax, edi
je 0x43c30c
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x44ab48]
push eax
call fcn.00438ad0
add esp, 0x24
mov edi, eax
cmp edi, 0xc0000023
jne 0x43c512
push dword [esp + 8]
call fcn.004366c0
add esp, 4
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], 0x40414e4f
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xb
ja 0x43c3b1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx esi, byte [esp + edx + 0x10]
lea edi, [ecx + 0x266168f6]
lea edx, [ecx + esi]
add edx, 0x266168f6
add ecx, 0xf6
or edi, ecx
and edi, esi
and ecx, esi
add ecx, edi
mov esi, ecx
xor esi, edx
not ecx
and ecx, edx
add ecx, ecx
sub ecx, esi
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x46
mov edx, dword [esp]
mov byte [esp + edx + 0x10], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0xc
jb 0x43c360
mov edx, dword [ebp + 0x14]
mov edi, dword [esp + 0x10]
mov ecx, dword [0x44ab40]
test ecx, ecx
je 0x43c3e6
mov ebx, edx
xor edx, edx
mov esi, dword [0x44ab44]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x77defcd
je 0x43c3ec
inc edx
cmp ecx, edx
jne 0x43c3d0
mov esi, dword [esp + 4]
mov edx, ebx
jmp 0x43c41e
mov esi, dword [esp + 4]
jmp 0x43c41e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, edi
mov esi, dword [esp + 4]
mov edx, ebx
je 0x43c41e
lea edx, [esp + 8]
push edx
push eax
push esi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x44ab48]
push ecx
call fcn.00438ad0
mov edx, ebx
add esp, 0x24
mov edi, eax
test edx, edx
je 0x43c509
test edi, edi
js 0x43c509
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43c502
mov eax, dword [esi + 0xc]
shr eax, 1
mov ebx, dword [edx]
cmp ebx, eax
jb 0x43c446
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x28], edi
je 0x43c4f6
mov edx, esi
add edx, 0x10
mov eax, ebx
and ebx, 3
mov dword [esp + 0x24], eax
mov edi, eax
je 0x43c488
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
dec edi
movzx esi, word [edx]
xor eax, eax
test si, si
setne al
lea edx, [edx + eax*2]
mov word [ecx], si
add ecx, 2
dec ebx
jne 0x43c470
cmp dword [esp + 0x24], 4
mov esi, dword [esp + 4]
jb 0x43c4f6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [edx]
xor ebx, ebx
test ax, ax
setne bl
mov word [ecx], ax
lea eax, [edx + ebx*2]
movzx edx, word [edx + ebx*2]
xor ebx, ebx
test dx, dx
setne bl
mov word [ecx + 2], dx
lea edx, [eax + ebx*2]
movzx eax, word [eax + ebx*2]
xor ebx, ebx
test ax, ax
setne bl
mov word [ecx + 4], ax
lea eax, [edx + ebx*2]
movzx esi, word [edx + ebx*2]
xor edx, edx
test si, si
setne dl
lea edx, [eax + edx*2]
mov word [ecx + 6], si
add ecx, 8
add edi, 0xfffffffc
jne 0x43c4a0
mov esi, dword [esp + 4]
mov word [ecx], 0
mov edi, dword [esp + 0x28]
mov edx, dword [ebp + 0x14]
mov eax, dword [esi + 0xc]
shr eax, 1
mov dword [edx], eax
push esi
call fcn.004367d0
add esp, 4
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret