Function at 0x442560
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4cdbf8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [0x4eeef8]
push edi
xor edi, edi
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x74], esi
test esi, esi
jne 0x4425a1
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
cmp ebx, 0x10000
jge 0x442606
mov edi, dword [ebp + 0x10]
mov eax, ebx
shl eax, 6
xor edx, edx
xor eax, edi
mov dword [ebp - 0x6c], 0x3f1
shl eax, 3
xor eax, ecx
xor eax, dword [ebp + 0x14]
div dword [ebp - 0x6c]
lea eax, [esi + 0xe1c]
mov esi, dword [eax + edx*4]
lea eax, [eax + edx*4]
mov dword [ebp - 0x6c], eax
test esi, esi
je 0x4426e2
nop
cmp dword [esi], ecx
jne 0x4425fa
cmp dword [esi + 8], edi
jne 0x4425fa
cmp dword [esi + 4], ebx
jne 0x4425fa
mov eax, dword [ebp + 0x14]
cmp dword [esi + 0x10], eax
je 0x44273f
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x4425e0
jmp 0x4426e2
push str._08X_s_d
push dword [ebp + 0x10]
lea eax, [ebp - 0x68]
push ebx
push ecx
push 0x27c
push str.D:MyProjectsProPilotLibLibMain.c
push str._08X_s_d
push 0x64
push eax
call fcn.00424110
lea esi, [ebp - 0x68]
add esp, 0x24
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x442633
sub esi, ecx
mov eax, esi
and eax, 3
je 0x442660
push eax
mov eax, esi
lea ecx, [ebp - 0x68]
and eax, 0xfc
add eax, ecx
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00481690
mov edi, dword [ebp - 0x6c]
add esp, 0xc
sar esi, 2
test esi, esi
je 0x442670
xor edi, dword [ebp + esi*4 - 0x6c]
dec esi
test esi, esi
jne 0x442667
mov eax, 0x3ce4585
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 9
imul eax, eax, 0x3f1
sub edi, eax
mov eax, dword [ebp - 0x74]
lea eax, [eax + edi*4]
add eax, 0xe1c
mov dword [ebp - 0x6c], eax
mov esi, dword [eax]
test esi, esi
je 0x4426df
mov eax, dword [ebp - 0x70]
mov edi, dword [ebp + 0x10]
cmp dword [esi], eax
jne 0x4426d0
cmp dword [esi + 8], edi
jne 0x4426d0
mov ecx, dword [ebp + 0x14]
cmp dword [esi + 0x10], ecx
jne 0x4426d0
mov eax, dword [esi + 4]
cmp eax, 0x10000
jl 0x4426cd
push ebx
push eax
call fcn.0048753f
add esp, 8
test eax, eax
je 0x44273f
mov eax, dword [ebp - 0x70]
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x4426a1
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
jmp 0x4426e2
mov edi, dword [ebp + 0x10]
push 0x18
call fcn.00487397
mov esi, eax
add esp, 4
test esi, esi
je 0x4426fd
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx]
mov dword [esi + 0x14], eax
lea eax, [esi + 4]
mov dword [ecx], esi
cmp ebx, 0x10000
jge 0x442716
mov dword [eax], ebx
jmp 0x442731
push 0x28f
push str.D:MyProjectsProPilotLibLibMain.c
push fcn.004845db
push 0
push ebx
push eax
call fcn.0041e700
add esp, 0x18
mov eax, dword [ebp - 0x70]
mov dword [esi], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x10], eax
mov dword [esi + 8], edi
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 4]
mov dword [esi + 0xc], eax
xor ecx, ebp
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret