Function at 0x43bf60
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 + 0x18], 0xfaf9f887
mov dword [esp + 0x1c], 0
mov word [esp + 0x20], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 9
ja 0x43bfeb
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 + 0x18]
mov edx, eax
and edx, 0x17f5bf3f
xor eax, 0x97f5bf3f
lea eax, [eax + edx*2]
lea edx, [eax + ecx]
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
mov ecx, eax
xor ecx, 0x46
and eax, 0x46
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xa
jb 0x43bfa0
mov esi, dword [esp + 0x18]
mov eax, dword [0x447460]
test eax, eax
je 0x43c03c
xor ecx, ecx
mov edx, dword [0x447464]
cmp dword [edx + ecx*8], 0x2286b4e
je 0x43c010
inc ecx
cmp eax, ecx
jne 0x43c000
jmp 0x43c03c
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43c03c
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x447468]
push eax
call fcn.00438760
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43c347
push dword [esp + 0x10]
call fcn.00436cd0
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0xfaf9f887
mov dword [esp + 0x1c], 0
mov word [esp + 0x20], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 9
ja 0x43c0cc
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x18]
mov esi, ecx
and esi, 0x17f5bf3f
xor ecx, 0x97f5bf3f
lea ecx, [ecx + esi*2]
lea esi, [ecx + edx]
and ecx, edx
add ecx, ecx
sub esi, ecx
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x14]
mov edx, ecx
xor edx, 0x46
and ecx, 0x46
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp]
mov byte [esp + edx + 0x18], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0xa
jb 0x43c080
mov esi, dword [esp + 0x18]
mov ecx, dword [0x447460]
test ecx, ecx
je 0x43c12e
mov edi, esi
xor edx, edx
mov esi, dword [0x447464]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x2286b4e
je 0x43c102
inc edx
cmp ecx, edx
jne 0x43c0f0
mov esi, edi
jmp 0x43c12e
mov ecx, dword [esi + edx*8 + 4]
mov esi, edi
cmp ecx, edi
je 0x43c12e
lea edx, [esp + 0x10]
push edx
push eax
push ebx
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x447468]
push ecx
call fcn.00438760
add esp, 0x24
mov esi, eax
test esi, esi
js 0x43c33e
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x43c22c
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x43c225
mov eax, dword [ebx + 0x10]
shr eax, 1
mov edi, dword [edi]
cmp edi, eax
jb 0x43c15c
mov edi, eax
test edi, edi
je 0x43c21d
mov eax, edi
mov edi, ebx
add edi, 0x14
mov dword [esp + 4], eax
and eax, 3
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
je 0x43c1b3
xor esi, esi
nop
nop
movzx ebx, word [edi]
xor ecx, ecx
test bx, bx
setne cl
lea edi, [edi + ecx*2]
mov word [edx], bx
add edx, 2
inc esi
cmp eax, esi
jne 0x43c180
mov eax, dword [esp + 4]
sub eax, esi
mov ebx, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 0x18]
cmp dword [esp + 4], 4
jae 0x43c1c0
jmp 0x43c21d
mov eax, dword [esp + 4]
cmp dword [esp + 4], 4
jb 0x43c21d
nop
nop
movzx ecx, word [edi]
xor ebx, ebx
test cx, cx
setne bl
mov word [edx], cx
lea ecx, [edi + ebx*2]
movzx esi, word [edi + ebx*2]
xor ebx, ebx
test si, si
setne bl
mov word [edx + 2], si
lea esi, [ecx + ebx*2]
movzx ecx, word [ecx + ebx*2]
xor ebx, ebx
test cx, cx
setne bl
mov word [edx + 4], cx
lea ecx, [esi + ebx*2]
movzx esi, word [esi + ebx*2]
xor ebx, ebx
test si, si
setne bl
lea edi, [ecx + ebx*2]
mov word [edx + 6], si
add edx, 8
add eax, 0xfffffffc
jne 0x43c1c0
mov ebx, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 0x18]
mov word [edx], 0
mov edi, dword [ebp + 0x14]
mov eax, dword [ebx + 0x10]
shr eax, 1
mov dword [edi], eax
mov edi, dword [ebp + 0x20]
test ecx, ecx
je 0x43c238
mov eax, dword [ebx + 4]
mov dword [ecx], eax
test edi, edi
je 0x43c33e
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x43c331
mov ebx, dword [edi]
mov edx, dword [esp + 8]
mov ecx, dword [edx + 0xc]
cmp ebx, ecx
jb 0x43c262
mov ebx, ecx
mov esi, dword [edx + 8]
add esi, edx
mov ecx, ebx
shr ecx, 2
mov edx, ebx
and edx, 0xfffffffc
mov edi, eax
add eax, edx
add edx, esi
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov dword [esp + 4], ebx
mov ecx, ebx
and ecx, 3
mov esi, ecx
not esi
or esi, 1
add esi, ecx
shr ecx, 1
mov ebx, edx
mov edi, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov ecx, esi
inc ecx
mov edi, dword [ebp + 0x20]
je 0x43c331
mov ebx, dword [esp + 4]
and ebx, 2
add edx, ebx
add eax, ebx
mov ebx, ecx
and ebx, 7
je 0x43c2d9
mov dword [esp + 4], ecx
xor edi, edi
movzx ecx, byte [edx + edi]
mov byte [eax + edi], cl
inc edi
cmp ebx, edi
jne 0x43c2c0
add edx, edi
add eax, edi
mov ecx, dword [esp + 4]
sub ecx, edi
mov edi, dword [ebp + 0x20]
cmp esi, 7
jb 0x43c331
xor esi, esi
mov ebx, ecx
movzx ecx, byte [edx + esi]
mov byte [eax + esi], cl
movzx ecx, byte [edx + esi + 1]
mov byte [eax + esi + 1], cl
movzx ecx, byte [edx + esi + 2]
mov byte [eax + esi + 2], cl
movzx ecx, byte [edx + esi + 3]
mov byte [eax + esi + 3], cl
movzx ecx, byte [edx + esi + 4]
mov byte [eax + esi + 4], cl
movzx ecx, byte [edx + esi + 5]
mov byte [eax + esi + 5], cl
movzx ecx, byte [edx + esi + 6]
mov byte [eax + esi + 6], cl
movzx ecx, byte [edx + esi + 7]
mov byte [eax + esi + 7], cl
mov ecx, ebx
add esi, 8
cmp ebx, esi
jne 0x43c2e0
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 0xc]
mov dword [edi], eax
mov esi, dword [esp + 0xc]
push ebx
call fcn.00436da0
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret