Function at 0x43caf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov edi, dword [esp + 0x30]
mov dword [esp], 0xc4c5c6c7
mov eax, 0xf9309b78
nop
movzx edx, byte [esp + eax + 0x6cf6488]
xor edx, eax
mov ecx, edx
or ecx, 0x3f
add ecx, edx
not edx
or edx, 0x3f
add ecx, edx
add cl, 2
mov byte [esp + eax + 0x6cf6488], cl
inc eax
cmp eax, 0xf9309b7c
jne 0x43cb10
mov eax, dword [esp]
mov esi, dword [0x448580]
test esi, esi
je 0x43cb8c
xor ecx, ecx
mov edx, dword [0x448584]
nop
cmp dword [edx + ecx*8], 0xcf2d66db
je 0x43cb60
inc ecx
cmp esi, ecx
jne 0x43cb50
jmp 0x43cb8c
mov edx, dword [edx + ecx*8 + 4]
cmp edx, eax
je 0x43cb8c
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 1
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0x18
push edx
push dword [0x448588]
call fcn.00439ae0
add esp, 0x24
mov dword [esp + 4], eax
mov dword [esp], 0xe7262547
mov eax, 0x5b993d04
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0x5b993d04]
lea edx, [eax - 0x5b993d00]
and edx, esi
mov ebp, edx
and ebp, 5
mov ebx, edx
and ebx, 2
mov ecx, edx
or ecx, 0xfffffffd
inc ecx
imul ecx, ebp
or edx, 2
imul edx, ebx
add ecx, esi
sub ecx, edx
add ecx, eax
mov edx, ecx
and edx, 0x5f
xor ecx, 0xdf
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax - 0x5b993d04], cl
inc eax
cmp eax, 0x5b993d08
jne 0x43cba0
mov ebx, dword [esp + 4]
cmp ebx, dword [esp]
jne 0x43ce5f
push dword [esp + 0xc]
call fcn.00437ee0
add esp, 4
mov ebp, eax
mov ecx, dword [esp + 0xc]
mov dword [esp], 0xc4c5c6c7
mov edx, 0xf9309b78
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx + 0x6cf6488]
xor esi, edx
mov ebx, esi
or ebx, 0x3f
add ebx, esi
not esi
or esi, 0x3f
add ebx, esi
add bl, 2
mov byte [esp + edx + 0x6cf6488], bl
inc edx
cmp edx, 0xf9309b7c
jne 0x43cc20
mov ebx, dword [esp]
mov edx, dword [0x448580]
test edx, edx
je 0x43ccb8
mov dword [esp + 4], ecx
mov ecx, ebp
xor esi, esi
mov ebp, dword [0x448584]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + esi*8], 0xcf2d66db
je 0x43cc83
inc esi
cmp edx, esi
jne 0x43cc70
mov ebp, ecx
jmp 0x43ccb8
mov edx, dword [ebp + esi*8 + 4]
cmp edx, ebx
mov ebp, ecx
je 0x43ccb8
lea esi, [esp + 0xc]
push esi
push dword [esp + 8]
push ebp
push 1
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0x18
push edx
push dword [0x448588]
mov esi, eax
call fcn.00439ae0
add esp, 0x24
mov ebx, eax
mov eax, esi
test ebx, ebx
js 0x43ce56
mov edx, dword [esp + 0x34]
test edx, edx
je 0x43cda8
test edi, edi
je 0x43cda1
mov dword [esp + 0x10], ebp
mov ecx, dword [ebp + 0x10]
shr ecx, 1
mov ebp, dword [edx]
cmp ebp, ecx
jb 0x43cce5
mov ebp, ecx
test ebp, ebp
je 0x43cd98
add eax, 0x14
mov ecx, ebp
and ecx, 3
je 0x43cd2c
mov dword [esp + 4], ebx
xor esi, esi
nop
nop
nop
movzx ebx, word [eax]
xor edx, edx
test bx, bx
setne dl
lea eax, [eax + edx*2]
mov word [edi], bx
add edi, 2
inc esi
cmp ecx, esi
jne 0x43cd00
mov ecx, ebp
sub ecx, esi
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 4]
cmp ebp, 4
jae 0x43cd33
jmp 0x43cd98
mov ecx, ebp
cmp ebp, 4
jb 0x43cd98
mov ebp, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea esi, [eax + ebx*2]
mov word [edi], dx
movzx eax, word [eax + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea ebx, [esi + edx*2]
mov word [edi + 2], ax
movzx eax, word [esi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea esi, [ebx + edx*2]
mov word [edi + 4], ax
movzx edx, word [ebx + edx*2]
xor eax, eax
test dx, dx
setne al
mov word [edi + 6], dx
add edi, 8
lea eax, [esi + eax*2]
add ecx, 0xfffffffc
jne 0x43cd40
mov edx, dword [esp + 0x34]
mov ebx, ebp
mov word [edi], 0
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 0x10]
shr eax, 1
mov dword [edx], eax
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x43cdb5
mov eax, dword [ebp + 4]
mov dword [ecx], eax
cmp dword [esp + 0x40], 0
je 0x43ce56
cmp dword [esp + 0x3c], 0
je 0x43ce4d
mov ecx, ebp
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x40]
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
cmp esi, eax
jb 0x43cde0
mov esi, eax
mov eax, dword [ebp + 8]
add eax, ebp
mov ecx, esi
shr ecx, 2
mov edx, esi
and edx, 0xfffffffc
mov edi, dword [esp + 0x3c]
add dword [esp + 8], edx
add edx, eax
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, esi
and eax, 3
mov ecx, eax
shr ecx, 1
mov ebx, edx
mov edi, dword [esp + 8]
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov edi, dword [esp + 8]
mov ecx, eax
xor ecx, 0xfffffffe
or eax, 1
and eax, ecx
mov ebx, dword [esp + 4]
je 0x43ce4d
and esi, 2
movzx ecx, byte [edx + esi]
mov byte [edi + esi], cl
cmp eax, 1
je 0x43ce4d
movzx ecx, byte [edx + esi + 1]
mov byte [edi + esi + 1], cl
cmp eax, 2
je 0x43ce4d
movzx eax, byte [edx + esi + 2]
mov byte [edi + esi + 2], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
push ebp
call fcn.00437f00
add esp, 4
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret