Function at 0x43bc30
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], 0x52515057
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0x43bcb5
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + ecx]
add edx, 0xb84cdaf3
add eax, 0xf3
and eax, ecx
add eax, eax
mov ecx, eax
xor ecx, edx
not eax
and eax, edx
add eax, eax
sub eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x5b
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xd
jb 0x43bc70
mov esi, dword [esp + 0x10]
mov eax, dword [0x449688]
test eax, eax
je 0x43bd0c
xor ecx, ecx
mov edx, dword [0x44968c]
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x77defcd
je 0x43bce0
inc ecx
cmp eax, ecx
jne 0x43bcd0
jmp 0x43bd0c
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43bd0c
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x449690]
push eax
call fcn.004388a0
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43bf12
push dword [esp + 8]
call fcn.00436700
add esp, 4
mov edi, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], 0x52515057
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xc
ja 0x43bda7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x10]
lea esi, [ecx + edx]
add esi, 0xb84cdaf3
add ecx, 0xf3
and ecx, edx
add ecx, ecx
mov edx, ecx
xor edx, esi
not ecx
and ecx, esi
add ecx, ecx
sub ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x5b
mov edx, dword [esp]
mov byte [esp + edx + 0x10], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0xd
jb 0x43bd60
mov edx, dword [ebp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, dword [0x449688]
test ecx, ecx
je 0x43be24
mov dword [esp + 4], eax
mov eax, esi
xor edx, edx
mov esi, dword [0x44968c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x77defcd
je 0x43bdef
mov ebx, edx
and ebx, 1
xor edx, 1
lea edx, [edx + ebx*2]
cmp edx, ecx
jb 0x43bdd0
mov esi, eax
mov edx, dword [ebp + 0x14]
jmp 0x43be24
mov ecx, dword [esi + edx*8 + 4]
mov esi, eax
cmp ecx, eax
mov edx, dword [ebp + 0x14]
je 0x43be24
lea edx, [esp + 8]
push edx
push dword [esp + 8]
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x449690]
push ecx
call fcn.004388a0
mov edx, dword [ebp + 0x14]
add esp, 0x24
mov esi, eax
test edx, edx
je 0x43bf09
test esi, esi
js 0x43bf09
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x43bf02
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov ebx, dword [edx]
cmp ebx, ecx
jb 0x43be4c
mov ebx, ecx
test ebx, ebx
mov dword [esp + 0x28], edi
je 0x43bef6
mov edx, edi
add edx, 0x10
mov ecx, ebx
and ebx, 3
mov dword [esp + 4], esi
mov dword [esp + 0x24], ecx
mov edi, ecx
je 0x43be88
nop
nop
dec edi
movzx esi, word [edx]
xor ecx, ecx
test si, si
setne cl
lea edx, [edx + ecx*2]
mov word [eax], si
add eax, 2
dec ebx
jne 0x43be70
cmp dword [esp + 0x24], 4
mov esi, dword [esp + 4]
jb 0x43bef6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [edx]
xor ebx, ebx
test cx, cx
setne bl
mov word [eax], cx
lea ecx, [edx + ebx*2]
movzx edx, word [edx + ebx*2]
xor ebx, ebx
test dx, dx
setne bl
mov word [eax + 2], dx
lea edx, [ecx + ebx*2]
movzx ecx, word [ecx + ebx*2]
xor ebx, ebx
test cx, cx
setne bl
mov word [eax + 4], cx
lea ecx, [edx + ebx*2]
movzx esi, word [edx + ebx*2]
xor edx, edx
test si, si
setne dl
lea edx, [ecx + edx*2]
mov word [eax + 6], si
add eax, 8
add edi, 0xfffffffc
jne 0x43bea0
mov esi, dword [esp + 4]
mov word [eax], 0
mov edi, dword [esp + 0x28]
mov edx, dword [ebp + 0x14]
mov eax, dword [edi + 0xc]
shr eax, 1
mov dword [edx], eax
push edi
call fcn.00436790
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret