Function at 0x43c5c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov cx, 0xfffc
xor edx, edx
nop
nop
nop
nop
nop
add ecx, 4
cmp word [eax + edx], 0
lea edx, [edx + 2]
jne 0x43c5e0
add edx, 0xfffffffe
mov word [esp + 0x20], dx
and ecx, 4
xor edx, 2
add edx, ecx
mov word [esp + 0x22], dx
mov dword [esp + 0x24], eax
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 0x43c685
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 + 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 0x43c640
mov esi, dword [esp + 0x10]
mov eax, dword [0x449688]
test eax, eax
je 0x43c6de
xor ecx, ecx
mov edx, dword [0x44968c]
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x36e97270
je 0x43c6b0
inc ecx
cmp eax, ecx
jne 0x43c6a0
jmp 0x43c6de
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43c6de
lea ecx, [esp + 8]
lea edx, [esp + 0x20]
push ecx
push 0
push 0
push 2
push edx
push dword [ebp + 8]
push 6
push dword [0x449690]
push eax
call fcn.004388a0
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43c88a
push dword [esp + 8]
call fcn.00436700
add esp, 4
mov dword [esp + 4], 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 0x43c777
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 0x43c730
mov esi, dword [esp + 0x10]
mov ecx, dword [0x449688]
test ecx, ecx
je 0x43c7a9
mov ebx, edi
xor edx, edx
mov edi, dword [0x44968c]
nop
cmp dword [edi + edx*8], 0x36e97270
je 0x43c7af
inc edx
cmp ecx, edx
jne 0x43c790
mov edi, ebx
mov edx, dword [esp + 4]
mov ebx, dword [ebp + 0x18]
jmp 0x43c7eb
mov edx, dword [esp + 4]
jmp 0x43c7eb
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
mov edi, ebx
mov edx, dword [esp + 4]
mov ebx, dword [ebp + 0x18]
je 0x43c7eb
lea edx, [esp + 8]
lea esi, [esp + 0x20]
push edx
push eax
push dword [esp + 0xc]
push 2
push esi
push dword [ebp + 8]
push 6
push dword [0x449690]
push ecx
call fcn.004388a0
mov edx, dword [esp + 0x28]
add esp, 0x24
mov esi, eax
test esi, esi
js 0x43c881
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43c7ff
mov eax, dword [edx + 4]
mov dword [ecx], eax
test ebx, ebx
je 0x43c881
test edi, edi
je 0x43c878
mov edx, dword [ebx]
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 8]
cmp edx, eax
jb 0x43c816
mov edx, eax
mov dword [esp + 0x2c], edx
lea eax, [ecx + 0xc]
mov ecx, edx
shr ecx, 2
mov ebx, edi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
and eax, 0xfffffffc
add ebx, eax
mov ecx, dword [esp + 4]
lea edi, [ecx + eax]
add edi, 0xc
mov eax, edx
and eax, 3
mov ecx, eax
shr ecx, 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
mov edi, ebx
mov edx, dword [esp + 0x30]
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov edx, dword [esp + 0x2c]
mov edi, ebx
test dl, 1
mov ebx, dword [ebp + 0x18]
je 0x43c878
xor eax, 1
and eax, edx
and edx, 2
mov ecx, dword [esp + 0x28]
movzx ecx, byte [ecx + edx]
mov byte [edi + eax], cl
mov edx, dword [esp + 4]
mov eax, dword [edx + 8]
mov dword [ebx], eax
push edx
call fcn.00436790
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret