Function at 0x43f050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4cdbf8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ebx
test esi, esi
jne 0x43f086
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4eeef8]
test eax, eax
jne 0x43f0a7
push ecx
push esi
call dword [sym.imp.USER32.dll_RemovePropA]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
push edi
push 0x56a
push str.D:MyProjectsProPilotLibLibMain.c
add eax, 0xd84
push 0
push eax
call fcn.004208b0
mov edi, dword [0x4eeefc]
add esp, 0x10
test edi, edi
je 0x43f10e
mov eax, 0x3ce4585
mov ecx, esi
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 9
imul eax, eax, 0x3f1
sub ecx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ecx*4 + 8]
mov edi, dword [eax + edi]
mov dword [ebp - 0x18], eax
test edi, edi
je 0x43f10e
nop
cmp dword [edi], esi
je 0x43f134
mov dword [ebp - 0x10], edi
mov edi, dword [edi + 0x34]
test edi, edi
jne 0x43f100
mov eax, dword [0x4eeef8]
add eax, 0xd84
push eax
call fcn.00422570
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0xc]
mov esi, edx
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x43f140
sub esi, ecx
mov eax, esi
and eax, 3
je 0x43f16d
push eax
mov eax, esi
and eax, 0xfc
add eax, edx
push eax
lea eax, [ebp - 8]
push eax
call fcn.00481690
mov ebx, dword [ebp - 8]
add esp, 0xc
mov edx, dword [ebp - 0xc]
sar esi, 2
test esi, esi
je 0x43f17d
xor ebx, dword [edx + esi*4 - 4]
dec esi
test esi, esi
jne 0x43f174
mov eax, 0xba2e8ba3
xor ecx, ecx
mul ebx
mov dword [ebp - 8], ecx
shr edx, 3
imul eax, edx, 0xb
sub ebx, eax
lea eax, [ebx + 2]
mov esi, dword [edi + eax*4]
lea eax, [edi + eax*4]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x43f10e
mov ebx, dword [ebp - 0xc]
mov eax, dword [esi]
mov ecx, ebx
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43f1d0
test dl, dl
je 0x43f1cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43f1d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x43f1b0
xor eax, eax
jmp 0x43f1d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x43f1e8
mov dword [ebp - 8], esi
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x43f1a8
jmp 0x43f10e
mov ecx, dword [ebp - 8]
mov ebx, dword [esi + 4]
mov eax, dword [esi + 0x10]
test ecx, ecx
je 0x43f1fa
mov dword [ecx + 0x10], eax
jmp 0x43f1ff
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
push dword [esi + 8]
call fcn.0048737c
push dword [esi]
call fcn.0048737c
push esi
call fcn.0048737c
dec dword [edi + 4]
add esp, 0xc
mov eax, dword [0x4eeefc]
dec dword [eax + 4]
cmp dword [edi + 4], 0
jne 0x43f253
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0x34]
test eax, eax
je 0x43f237
mov dword [eax + 0x34], ecx
jmp 0x43f242
mov eax, dword [0x4eeefc]
mov edx, dword [ebp - 0x18]
mov dword [edx + eax], ecx
push edi
call fcn.0048737c
mov ecx, dword [0x4eeefc]
add esp, 4
dec dword [ecx]
mov ecx, dword [0x4eeef8]
add ecx, 0xd84
push ecx
call fcn.00422570
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret