Function at 0x43f950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov dword [esp + 0xc], ecx
cmp dword [ecx + 8], 0
je 0x43f9e2
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
test ecx, ecx
je 0x43f9e2
mov edi, dword [ebp + 0x10]
mov dword [esp + 4], 0xf8fbfafd
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov eax, 0x2b
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x27]
mov ebx, edx
and ebx, eax
add bl, bl
sub dl, bl
movzx edx, dl
add edx, eax
add dl, 0x29
mov byte [esp + eax - 0x27], dl
inc eax
cmp eax, 0x32
jne 0x43f990
mov eax, dword [esp + 4]
mov ebx, dword [0x45316c]
test ebx, ebx
je 0x43fa61
mov edx, edi
xor edi, edi
mov esi, dword [0x453170]
nop
nop
nop
nop
nop
cmp dword [esi + edi*8], 0xdef797a3
je 0x43fa42
inc edi
cmp ebx, edi
jne 0x43f9d0
mov edi, edx
jmp 0x43fa61
mov dword [esp + 4], 0x91cecfc4
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
lea eax, [esp + 4]
mov ecx, 0xfe8aad2
nop
movzx edx, byte [eax]
not edx
lea esi, [ecx - 0xfe8aa00]
movzx edi, dl
or edi, esi
xor edi, 0xff
and edx, ecx
or edx, edi
mov ebx, 0xdaa90233
sub ebx, edx
mov edx, ebx
xor edx, 0x15
and ebx, 0x6a
add ebx, ebx
sub ebx, edx
mov byte [eax], bl
inc eax
dec ecx
cmp ecx, 0xfe8aacb
jne 0x43fa00
mov eax, dword [esp + 4]
jmp 0x43fbd8
mov esi, dword [esi + edi*8 + 4]
cmp esi, eax
mov edi, edx
je 0x43fa61
push dword [ebp + 8]
push ecx
push 2
push dword [0x453174]
push esi
call fcn.004421f0
add esp, 0x14
mov esi, dword [ebp + 0xc]
cmp esi, 1
mov ecx, edi
sbb ecx, 0
jl 0x43fb31
cmp eax, 0xc000010a
jne 0x43fb31
mov ecx, 0xffffd8f0
mov eax, esi
mul ecx
sub edx, esi
imul ecx, edi, 0xffffd8f0
add ecx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov dword [esp + 4], 0xf8fbfafd
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov eax, 0x2b
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + eax - 0x27]
mov ecx, ebx
and ecx, eax
add cl, cl
sub bl, cl
movzx ecx, bl
add ecx, eax
add cl, 0x29
mov byte [esp + eax - 0x27], cl
inc eax
cmp eax, 0x32
jne 0x43fac0
mov eax, dword [esp + 4]
mov esi, dword [0x45316c]
test esi, esi
je 0x43fb31
xor edi, edi
mov ebx, dword [0x453170]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x53f09cfa
je 0x43fb10
inc edi
cmp esi, edi
jne 0x43fb00
jmp 0x43fb31
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x43fb31
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 3
push dword [0x453174]
push esi
call fcn.004421f0
add esp, 0x18
test eax, eax
js 0x43fbd8
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
test edx, edx
je 0x43fbd8
mov dword [esp + 4], 0xf8fbfafd
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov esi, 0x2b
movzx ebx, byte [esp + esi - 0x27]
mov ecx, ebx
and ecx, esi
add cl, cl
sub bl, cl
movzx ecx, bl
add ecx, esi
add cl, 0x29
mov byte [esp + esi - 0x27], cl
inc esi
cmp esi, 0x32
jne 0x43fb60
mov esi, dword [0x45316c]
test esi, esi
je 0x43fbce
mov ecx, dword [esp + 4]
xor ebx, ebx
mov edi, dword [0x453170]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebx*8], 0x7e776f1
je 0x43fbb0
inc ebx
cmp esi, ebx
jne 0x43fba0
jmp 0x43fbce
mov esi, dword [edi + ebx*8 + 4]
cmp esi, ecx
je 0x43fbce
push edx
push 1
push dword [0x453174]
push esi
mov edi, eax
call fcn.004421f0
mov eax, edi
add esp, 0x10
mov ecx, dword [esp + 0xc]
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc