Function at 0x43bf30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov dword [esp + 0x18], 0x12111017
mov dword [esp + 0x1c], 0
mov byte [esp + 0x20], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 8
ja 0x43bfb6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx edx, byte [esp + ecx + 0x18]
lea ecx, [eax - 0x6b09927d]
mov esi, ecx
and esi, edx
xor ecx, edx
add eax, 0x83
and eax, edx
add eax, esi
sub ecx, eax
lea eax, [ecx + esi*2]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 0x6b
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 9
jb 0x43bf70
mov esi, dword [esp + 0x18]
mov eax, dword [0x44adec]
test eax, eax
je 0x43c00c
xor ecx, ecx
mov edx, dword [0x44adf0]
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x2286b4e
je 0x43bfe0
inc ecx
cmp eax, ecx
jne 0x43bfd0
jmp 0x43c00c
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43c00c
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x44adf4]
push eax
call fcn.00438160
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43c29b
push dword [esp + 0x10]
call fcn.004360c0
add esp, 4
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0x12111017
mov dword [esp + 0x1c], 0
mov byte [esp + 0x20], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 8
ja 0x43c0a8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx esi, byte [esp + edx + 0x18]
lea edx, [ecx - 0x6b09927d]
mov ebx, edx
and ebx, esi
xor edx, esi
add ecx, 0x83
and ecx, esi
add ecx, ebx
sub edx, ecx
lea ecx, [edx + ebx*2]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14]
add cl, 0x6b
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x18], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 9
jb 0x43c060
mov esi, dword [esp + 0x18]
mov ecx, dword [0x44adec]
test ecx, ecx
je 0x43c0e2
mov edi, esi
xor edx, edx
mov esi, dword [0x44adf0]
mov ebx, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x2286b4e
je 0x43c0e8
inc edx
cmp ecx, edx
jne 0x43c0d0
mov esi, edi
jmp 0x43c114
mov ebx, dword [esp + 8]
jmp 0x43c114
mov ecx, dword [esi + edx*8 + 4]
mov esi, edi
cmp ecx, edi
je 0x43c114
lea edx, [esp + 0x10]
push edx
push eax
push ebx
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x44adf4]
push ecx
call fcn.00438160
add esp, 0x24
mov esi, eax
test esi, esi
js 0x43c292
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
test edx, edx
mov dword [esp + 0x2c], esi
je 0x43c1fc
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x43c1f5
mov eax, dword [ebx + 0x10]
shr eax, 1
mov edx, dword [edx]
cmp edx, eax
jb 0x43c146
mov edx, eax
test edx, edx
je 0x43c1e9
mov esi, ebx
add esi, 0x14
mov eax, edx
and eax, 3
mov dword [esp + 0xc], edx
je 0x43c178
nop
nop
dec edx
movzx ecx, word [esi]
xor ebx, ebx
test cx, cx
setne bl
lea esi, [esi + ebx*2]
mov word [edi], cx
add edi, 2
dec eax
jne 0x43c160
cmp dword [esp + 0xc], 4
mov ebx, dword [esp + 8]
mov ecx, dword [ebp + 0x18]
jb 0x43c1e9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [esi]
xor ecx, ecx
test ax, ax
setne cl
mov word [edi], ax
lea eax, [esi + ecx*2]
movzx ecx, word [esi + ecx*2]
xor ebx, ebx
test cx, cx
setne bl
mov word [edi + 2], cx
lea ecx, [eax + ebx*2]
movzx eax, word [eax + ebx*2]
xor ebx, ebx
test ax, ax
setne bl
mov word [edi + 4], ax
lea eax, [ecx + ebx*2]
movzx ecx, word [ecx + ebx*2]
xor ebx, ebx
test cx, cx
setne bl
lea esi, [eax + ebx*2]
mov word [edi + 6], cx
add edi, 8
add edx, 0xfffffffc
jne 0x43c190
mov ebx, dword [esp + 8]
mov ecx, dword [ebp + 0x18]
mov word [edi], 0
mov esi, dword [esp + 0x2c]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebx + 0x10]
shr eax, 1
mov dword [edx], eax
mov edi, dword [ebp + 0x20]
test ecx, ecx
je 0x43c208
mov eax, dword [ebx + 4]
mov dword [ecx], eax
test edi, edi
je 0x43c292
cmp dword [ebp + 0x1c], 0
je 0x43c285
mov ebx, dword [edi]
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0xc]
cmp ebx, ecx
jb 0x43c225
mov ebx, ecx
mov eax, dword [esp + 8]
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 + 0x30], 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 0x43c285
mov ecx, ebx
and ecx, 2
not ebx
or ebx, 0xfffffffe
add esi, ebx
movzx eax, byte [edx + ecx]
mov ecx, dword [esp + 0x30]
mov byte [ecx + esi + 1], al
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 0xc]
mov dword [edi], eax
mov esi, dword [esp + 0x2c]
push ebx
call fcn.00436180
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret