Function at 0x442770
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 eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edi
test esi, esi
jne 0x4427b2
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4eeef8]
test ecx, ecx
jne 0x4427d5
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_SetPropA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
push ebx
push 0x4fb
push str.D:MyProjectsProPilotLibLibMain.c
lea eax, [ecx + 0xd84]
push 0
push eax
call fcn.004208b0
mov ebx, dword [0x4eeefc]
add esp, 0x10
test ebx, ebx
jne 0x44282a
push 0xfcc
call fcn.00487397
mov ebx, eax
add esp, 4
mov dword [0x4eeefc], ebx
test ebx, ebx
je 0x44282a
push 0xfcc
push 0
push ebx
call fcn.00481c10
mov ebx, dword [0x4eeefc]
add esp, 0xc
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
lea eax, [ecx*4 + 8]
mov ebx, dword [eax + ebx]
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x442862
cmp dword [ebx], esi
je 0x44289e
mov ebx, dword [ebx + 0x34]
test ebx, ebx
jne 0x442857
push 0x38
call fcn.00487397
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44287f
push 0x38
push 0
push ebx
call fcn.00481c10
add esp, 0xc
mov eax, dword [0x4eeefc]
mov ecx, dword [ebp - 0x10]
inc dword [eax]
mov eax, dword [0x4eeefc]
mov eax, dword [ecx + eax]
mov dword [ebx + 0x34], eax
mov eax, dword [0x4eeefc]
mov dword [ecx + eax], ebx
mov dword [ebx], esi
mov ecx, dword [ebp - 0xc]
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4428a6
sub esi, edx
mov eax, esi
and eax, 3
je 0x4428d3
push eax
mov eax, esi
and eax, 0xfc
add eax, ecx
push eax
lea eax, [ebp - 8]
push eax
call fcn.00481690
mov edi, dword [ebp - 8]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
sar esi, 2
test esi, esi
je 0x4428e9
nop word [eax + eax]
xor edi, dword [ecx + esi*4 - 4]
dec esi
test esi, esi
jne 0x4428e0
mov eax, 0xba2e8ba3
mul edi
shr edx, 3
imul eax, edx, 0xb
sub edi, eax
lea esi, [ebx + edi*4]
mov edi, dword [esi + 8]
test edi, edi
je 0x442939
mov eax, ecx
mov ecx, dword [edi]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x442926
test dl, dl
je 0x442922
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x442926
add ecx, 2
add eax, 2
test dl, dl
jne 0x442906
xor eax, eax
jmp 0x44292b
sbb eax, eax
or eax, 1
test eax, eax
je 0x442988
mov edi, dword [edi + 0x10]
mov ecx, dword [ebp - 0xc]
test edi, edi
jne 0x442902
push 0x14
call fcn.00487397
mov edi, eax
add esp, 4
test edi, edi
je 0x442956
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
inc dword [ebx + 4]
mov eax, dword [0x4eeefc]
push 0x51a
push str.D:MyProjectsProPilotLibLibMain.c
push fcn.004845db
inc dword [eax + 4]
mov eax, dword [esi + 8]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xc]
push 0
push eax
push edi
mov dword [esi + 8], edi
call fcn.0041e700
add esp, 0x18
mov esi, dword [edi + 4]
mov eax, dword [ebp - 0x14]
push 0x51f
push str.D:MyProjectsProPilotLibLibMain.c
push fcn.004845db
push 0
push dword [ebp - 0x18]
mov dword [edi + 4], eax
lea eax, [edi + 8]
push eax
call fcn.0041e700
mov ecx, dword [ebp + 0x18]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x4eeef8]
add ecx, 0xd84
push ecx
call fcn.00422570
mov ecx, dword [ebp - 4]
add esp, 0x1c
mov eax, esi
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret