Function at 0x43fb50
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov dword [esp], 0x101f1e1d
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax]
lea ecx, [eax + 0xb2371c5]
lea esi, [eax + 0xc5]
and esi, edx
or ecx, edx
xor ecx, esi
mov edx, ecx
and edx, 1
or ecx, 1
add ecx, edx
add cl, 0x26
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 5
xor eax, 0x26208d95
lea eax, [eax + ecx*2]
add eax, 0xd9df726c
cmp eax, 7
jb 0x43fb80
mov esi, dword [esp]
mov eax, dword [0x44bcdc]
test eax, eax
je 0x43fc1e
xor ecx, ecx
mov edx, dword [0x44bce0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x3052ea03
je 0x43fbf0
inc ecx
cmp eax, ecx
jne 0x43fbe0
jmp 0x43fc1e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43fc1e
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0x18
push eax
push dword [0x44bce4]
call fcn.0043cba0
add esp, 0x24
mov esi, eax
mov dword [esp], 0x97564927
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax]
lea ecx, [eax + edx]
lea edi, [eax + 0x6e]
and edi, edx
add edi, edi
sub ecx, edi
add ecx, 0xbcf8736e
mov edx, ecx
xor edx, 0x26
or ecx, 0xd9
and edx, ecx
add edx, ecx
inc dl
mov byte [esp + eax], dl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 7
jb 0x43fc40
cmp esi, dword [esp]
jne 0x43fe1b
push dword [esp + 0x10]
call fcn.0043a220
add esp, 4
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp], 0x101f1e1d
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor edx, edx
movzx esi, byte [esp + edx]
lea ecx, [edx + 0xb2371c5]
lea edi, [edx + 0xc5]
and edi, esi
or ecx, esi
xor ecx, edi
mov esi, ecx
and esi, 1
or ecx, 1
add ecx, esi
add cl, 0x26
mov byte [esp + edx], cl
mov ecx, edx
and ecx, 5
xor edx, 0x26208d95
lea edx, [edx + ecx*2]
add edx, 0xd9df726c
cmp edx, 7
jb 0x43fcb0
mov esi, dword [esp]
mov ecx, dword [0x44bcdc]
test ecx, ecx
je 0x43fd57
xor edx, edx
mov edi, dword [0x44bce0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x3052ea03
je 0x43fd20
inc edx
cmp ecx, edx
jne 0x43fd10
jmp 0x43fd57
mov edx, dword [edi + edx*8 + 4]
cmp edx, esi
mov edi, dword [esp + 8]
je 0x43fd5b
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x10]
push edi
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0x18
push edx
push dword [0x44bce4]
mov edi, eax
call fcn.0043cba0
add esp, 0x24
mov esi, eax
mov eax, edi
mov edi, dword [esp + 8]
test ebx, ebx
je 0x43fe12
test esi, esi
js 0x43fe12
test ebp, ebp
je 0x43fe0b
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov edx, dword [ebx]
cmp edx, ecx
jb 0x43fd80
mov edx, ecx
test edx, edx
je 0x43fe05
add eax, 0x10
mov ecx, edx
test dl, 1
je 0x43fdc3
not ecx
lea ecx, [ecx + edx*2]
movzx edi, word [eax]
mov word [esp + 0xc], di
test di, di
mov ebx, 0
setne bl
mov edi, ebx
mov ebx, dword [esp + 0x34]
lea eax, [eax + edi*2]
movzx edi, word [esp + 0xc]
mov word [ebp], di
mov edi, dword [esp + 8]
add ebp, 2
cmp edx, 1
je 0x43fe05
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea edi, [eax + ebx*2]
mov word [ebp], dx
movzx edx, word [eax + ebx*2]
xor eax, eax
test dx, dx
setne al
lea eax, [edi + eax*2]
mov word [ebp + 2], dx
add ebp, 4
add ecx, 0xfffffffe
jne 0x43fdd0
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 8]
mov word [ebp], 0
mov eax, dword [edi + 0xc]
shr eax, 1
mov dword [ebx], eax
push edi
call fcn.0043a2b0
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret