Function at 0x43c0c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov byte [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x20212e2f
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x14
ja 0x43c152
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x20]
lea edx, [eax + ecx]
add edx, 0xa79f63a6
add eax, 0xa6
and eax, ecx
add eax, eax
mov ecx, eax
xor ecx, edx
not eax
and eax, edx
add eax, eax
sub eax, ecx
add al, 0x76
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x20], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x15
jb 0x43c110
mov esi, dword [esp + 0x20]
mov eax, dword [0x44a94c]
test eax, eax
je 0x43c1ac
xor ecx, ecx
mov edx, dword [0x44a950]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x542c2d52
je 0x43c180
inc ecx
cmp eax, ecx
jne 0x43c170
jmp 0x43c1ac
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43c1ac
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x44a954]
push eax
call fcn.004384a0
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43c444
push dword [esp + 0x1c]
call fcn.00436470
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x20212e2f
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x14
ja 0x43c254
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
movzx edx, byte [esp + edx + 0x20]
lea esi, [ecx + edx]
add esi, 0xa79f63a6
add ecx, 0xa6
and ecx, edx
add ecx, ecx
mov edx, ecx
xor edx, esi
not ecx
and ecx, esi
add ecx, ecx
sub ecx, edx
add cl, 0x76
mov edx, dword [esp + 8]
mov byte [esp + edx + 0x20], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 0x15
jb 0x43c210
mov esi, dword [esp + 0x20]
mov ecx, dword [0x44a94c]
test ecx, ecx
je 0x43c2b9
mov dword [esp + 0x10], eax
mov eax, esi
xor edx, edx
mov esi, dword [0x44a950]
cmp dword [esi + edx*8], 0x542c2d52
je 0x43c28a
mov edi, edx
and edi, 1
xor edx, 1
lea edx, [edx + edi*2]
cmp edx, ecx
jb 0x43c270
jmp 0x43c2b7
mov ecx, dword [esi + edx*8 + 4]
mov esi, eax
cmp ecx, eax
je 0x43c2b9
lea edx, [esp + 0x1c]
push edx
push dword [esp + 0x14]
push ebx
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x44a954]
push ecx
call fcn.004384a0
add esp, 0x24
mov esi, eax
test esi, esi
js 0x43c43b
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x43c3a1
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x43c39a
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x10]
shr eax, 1
mov ecx, dword [ecx]
cmp ecx, eax
jb 0x43c2eb
mov ecx, eax
test ecx, ecx
je 0x43c38e
mov edi, ebx
add edi, 0x14
test cl, 1
jne 0x43c305
mov dword [esp + 0x14], edi
mov eax, ecx
jmp 0x43c332
mov edx, esi
movzx esi, word [edi]
xor eax, eax
test si, si
setne al
lea edi, [edi + eax*2]
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0x10]
mov word [edi], si
mov esi, edx
mov edx, dword [ebp + 0x18]
mov eax, ecx
not eax
lea eax, [eax + ecx*2]
add edi, 2
mov dword [esp + 0xc], edi
cmp ecx, 1
je 0x43c38e
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], ebx
lea ecx, [eax + eax]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
nop
nop
nop
nop
nop
nop
movzx esi, word [edx]
xor ebx, ebx
test si, si
setne bl
mov word [edi], si
lea esi, [edx + ebx*2]
movzx ebx, word [edx + ebx*2]
xor edx, edx
test bx, bx
setne dl
lea edx, [esi + edx*2]
mov word [edi + 2], bx
add edi, 4
add ecx, 0xfffffffc
add eax, 0xfffffffe
jne 0x43c350
mov dword [esp + 0xc], edi
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov edx, dword [ebp + 0x18]
mov eax, dword [esp + 0xc]
mov word [eax], 0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebx + 0x10]
shr eax, 1
mov dword [ecx], eax
mov edi, dword [ebp + 0x20]
test edx, edx
je 0x43c3ad
mov eax, dword [ebx + 4]
mov dword [edx], eax
test edi, edi
je 0x43c43b
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], esi
cmp dword [ebp + 0x1c], 0
je 0x43c42e
mov ebx, dword [edi]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
cmp ebx, ecx
jb 0x43c3d2
mov ebx, ecx
mov esi, dword [eax + 8]
add esi, eax
mov ecx, ebx
shr ecx, 2
mov edx, ebx
and edx, 0xfffffffc
mov eax, dword [ebp + 0x1c]
mov edi, eax
add eax, edx
add edx, esi
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov esi, ebx
and esi, 3
mov ecx, esi
shr ecx, 1
mov edi, edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
mov edi, eax
mov eax, dword [esp + 0xc]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test bl, 1
mov edi, dword [ebp + 0x20]
je 0x43c42e
mov ecx, ebx
and ecx, 2
xor esi, 1
or ebx, 2
and ebx, esi
movzx ecx, byte [edx + ecx]
mov eax, dword [esp + 0x14]
mov byte [eax + ebx], cl
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0xc]
mov dword [edi], eax
mov esi, dword [esp + 0x18]
push ebx
call fcn.00436510
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret