Function at 0x43f930
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [esp + 4], 0xc8cbcacd
mov word [esp + 8], 0
mov ebx, dword [esp + 0x30]
xor eax, eax
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 4]
lea edx, [eax - 0x3ef55dcd]
lea esi, [eax + 0x33]
or edx, esi
and edx, ecx
mov esi, edx
and esi, 0x3d
mov edi, edx
and edi, 2
mov ebp, edx
or ebp, 0xfd
inc ebp
imul ebp, esi
or edx, 2
imul edx, edi
sub ebp, edx
add ecx, eax
add ecx, 0xc10aa233
add ecx, ebp
inc cl
mov byte [esp + eax + 4], cl
mov ecx, eax
and ecx, 4
or eax, 0xd1ba3f34
add eax, ecx
inc eax
mov ecx, eax
xor ecx, 0xd1ba3f34
and eax, 0xb
add eax, eax
sub eax, ecx
cmp eax, 6
jb 0x43f950
mov esi, dword [esp + 4]
mov eax, dword [0x44ac38]
test eax, eax
je 0x43fa0a
xor ecx, ecx
mov edx, dword [0x44ac3c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xdd26b4f7
je 0x43f9e0
inc ecx
cmp eax, ecx
jne 0x43f9d0
jmp 0x43fa0a
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43fa0a
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 2
push dword [esp + 0x3c]
push 5
push eax
push dword [0x44ac40]
call fcn.0043b650
add esp, 0x20
mov esi, eax
cmp esi, 0xc0000023
jne 0x43fc89
mov dword [esp], ebx
push dword [esp + 0x14]
call fcn.004386f0
add esp, 4
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0xc8cbcacd
mov word [esp + 8], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx + 4]
lea edi, [edx - 0x3ef55dcd]
lea ecx, [edx + 0x33]
or edi, ecx
and edi, esi
mov ecx, edi
and ecx, 0x3d
mov ebp, edi
and ebp, 2
mov ebx, edi
or ebx, 0xfd
inc ebx
imul ebx, ecx
or edi, 2
imul edi, ebp
sub ebx, edi
lea ecx, [edx + esi]
add ecx, 0xc10aa233
add ecx, ebx
inc cl
mov byte [esp + edx + 4], cl
mov ecx, edx
and ecx, 4
or edx, 0xd1ba3f34
add edx, ecx
inc edx
mov ecx, edx
xor ecx, 0xd1ba3f34
and edx, 0xb
add edx, edx
sub edx, ecx
cmp edx, 6
jb 0x43fa50
mov esi, dword [esp + 4]
mov edx, dword [0x44ac38]
test edx, edx
je 0x43faf0
xor edi, edi
mov ecx, dword [0x44ac3c]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0xdd26b4f7
je 0x43fafa
inc edi
cmp edx, edi
jne 0x43fae0
jmp 0x43fb29
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x10]
jmp 0x43fb29
mov edx, dword [ecx + edi*8 + 4]
cmp edx, esi
je 0x43fb29
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x10]
push ebp
push 2
push dword [esp + 0x3c]
push 5
push edx
push dword [0x44ac40]
mov edi, eax
call fcn.0043b650
add esp, 0x20
mov esi, eax
mov eax, edi
test esi, esi
js 0x43fc80
mov edx, dword [esp + 0x34]
test edx, edx
je 0x43fc30
cmp dword [esp + 0x30], 0
je 0x43fc29
mov ecx, dword [ebp + 0x10]
shr ecx, 1
mov edi, dword [edx]
cmp edi, ecx
jb 0x43fb55
mov edi, ecx
test edi, edi
je 0x43fc1d
add eax, 0x2c
mov ecx, edi
and ecx, 3
je 0x43fbb6
mov dword [esp + 0xc], edi
xor edi, edi
mov ebp, dword [esp + 0x30]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, word [eax]
xor edx, edx
test bx, bx
setne dl
lea eax, [eax + edx*2]
mov word [ebp], bx
add ebp, 2
inc edi
cmp ecx, edi
jne 0x43fb80
mov dword [esp], ebp
mov ecx, dword [esp + 0xc]
mov ebp, ecx
sub ebp, edi
mov edi, ecx
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
cmp edi, 4
jae 0x43fbbd
jmp 0x43fc1d
mov ebp, edi
cmp edi, 4
jb 0x43fc1d
mov ebx, dword [esp]
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea edi, [eax + ecx*2]
mov word [ebx], dx
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [edi + ecx*2]
mov word [ebx + 2], ax
movzx eax, word [edi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edi, [edx + ecx*2]
mov word [ebx + 4], ax
movzx ecx, word [edx + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [ebx + 6], cx
add ebx, 8
lea eax, [edi + eax*2]
add ebp, 0xfffffffc
jne 0x43fbc0
mov dword [esp], ebx
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp]
mov word [eax], 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 0x43fc3d
mov eax, dword [ebp + 0x14]
mov dword [ecx], eax
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x43fc4c
mov eax, dword [ebp + 0x18]
shr eax, 1
mov dword [ecx], eax
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x43fc5b
mov eax, dword [ebp + 0x1c]
shr eax, 1
mov dword [ecx], eax
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x43fc68
mov eax, dword [ebp + 0x20]
mov dword [ecx], eax
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x43fc77
mov eax, dword [ebp + 0x24]
shr eax, 1
mov dword [ecx], eax
test ebx, ebx
je 0x43fc80
mov eax, dword [ebp + 0x28]
mov dword [ebx], eax
push ebp
call fcn.00438790
add esp, 4
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret