Function at 0x43f040
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov dword [esp], 0x76777879
mov eax, 0xf95868d6
mov ecx, 0x29
movzx ebx, byte [esp + eax + 0x6a7972a]
mov edx, ebx
xor edx, eax
or edx, ecx
add dl, dl
add dl, bl
movzx edx, dl
add edx, eax
add dl, 0x52
mov byte [esp + eax + 0x6a7972a], dl
inc eax
dec ecx
cmp eax, 0xf95868da
jne 0x43f060
mov esi, dword [esp]
mov eax, dword [0x44a4e0]
test eax, eax
je 0x43f0db
xor ecx, ecx
mov edx, dword [0x44a4e4]
nop
nop
cmp dword [edx + ecx*8], 0x29df508e
je 0x43f0b0
inc ecx
cmp eax, ecx
jne 0x43f0a0
jmp 0x43f0db
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43f0db
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
push dword [esp + 0x38]
push ebp
push 0x18
push eax
push dword [0x44a4e8]
call fcn.0043c7c0
add esp, 0x24
mov esi, eax
mov dword [esp], 0x4f0e0def
mov eax, 0xc17aa56c
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x3e855a94]
mov ecx, eax
and ecx, edx
add ecx, ecx
add edx, eax
mov ebx, ecx
xor ebx, edx
not ecx
and ecx, edx
add ecx, ecx
sub ecx, ebx
add cl, 0xa0
mov byte [esp + eax + 0x3e855a94], cl
inc eax
cmp eax, 0xc17aa570
jne 0x43f0f0
cmp esi, dword [esp]
jne 0x43f26f
push dword [esp + 8]
call fcn.0043af40
add esp, 4
mov dword [esp + 4], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], ecx
mov dword [esp], 0x76777879
mov edx, 0xf95868d6
mov esi, 0x29
movzx ebx, byte [esp + edx + 0x6a7972a]
mov ecx, ebx
xor ecx, edx
or ecx, esi
add cl, cl
add cl, bl
movzx ecx, cl
add ecx, edx
add cl, 0x52
mov byte [esp + edx + 0x6a7972a], cl
inc edx
dec esi
cmp edx, 0xf95868da
jne 0x43f150
mov esi, dword [esp]
mov edx, dword [0x44a4e0]
test edx, edx
je 0x43f1b2
mov ebx, ebp
xor ebp, ebp
mov ecx, dword [0x44a4e4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebp*8], 0x29df508e
je 0x43f279
inc ebp
cmp edx, ebp
jne 0x43f1a0
mov ebp, dword [esp + 4]
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x43f266
test esi, esi
js 0x43f266
test edi, edi
je 0x43f25f
mov ecx, dword [ebp + 0xc]
shr ecx, 1
mov edx, dword [ebx]
cmp edx, ecx
jb 0x43f1df
mov edx, ecx
test edx, edx
je 0x43f25a
add eax, 0x10
mov ecx, edx
test dl, 1
je 0x43f20e
not ecx
lea ecx, [ecx + edx*2]
movzx ebp, word [eax]
xor ebx, ebx
test bp, bp
setne bl
lea eax, [eax + ebx*2]
mov word [edi], bp
mov ebp, dword [esp + 4]
mov ebx, dword [esp + 0x30]
add edi, 2
cmp edx, 1
je 0x43f25a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea ebp, [eax + ebx*2]
mov word [edi], dx
movzx edx, word [eax + ebx*2]
xor eax, eax
test dx, dx
setne al
lea eax, [eax*2]
add eax, ebp
mov word [edi + 2], dx
add edi, 4
add ecx, 0xfffffffe
jne 0x43f220
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 4]
mov word [edi], 0
mov eax, dword [ebp + 0xc]
shr eax, 1
mov dword [ebx], eax
push ebp
call fcn.0043af70
add esp, 4
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [ecx + ebp*8 + 4]
cmp edx, esi
mov ebp, dword [esp + 4]
je 0x43f1b6
lea ecx, [esp + 8]
push ecx
push dword [esp + 0x10]
push ebp
push 0
push dword [esp + 0x38]
push ebx
push 0x18
push edx
push dword [0x44a4e8]
mov ebx, eax
call fcn.0043c7c0
add esp, 0x24
mov esi, eax
mov eax, ebx
jmp 0x43f1b6