Function at 0x42b2d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4a9bf0]
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 [0x4bd734]
push edi
xor edi, edi
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x74], esi
test esi, esi
jne 0x42b311
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046300c
mov esp, ebp
pop ebp
ret
cmp ebx, 0x10000
jge 0x42b376
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 0x42b452
nop
cmp dword [esi], ecx
jne 0x42b36a
cmp dword [esi + 8], edi
jne 0x42b36a
cmp dword [esi + 4], ebx
jne 0x42b36a
mov eax, dword [ebp + 0x14]
cmp dword [esi + 0x10], eax
je 0x42b4af
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x42b350
jmp 0x42b452
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.0040dc20
lea esi, [ebp - 0x68]
add esp, 0x24
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x42b3a3
sub esi, ecx
mov eax, esi
and eax, 3
je 0x42b3d0
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.004643e0
mov edi, dword [ebp - 0x6c]
add esp, 0xc
sar esi, 2
test esi, esi
je 0x42b3e0
xor edi, dword [ebp + esi*4 - 0x6c]
dec esi
test esi, esi
jne 0x42b3d7
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 0x42b44f
mov eax, dword [ebp - 0x70]
mov edi, dword [ebp + 0x10]
cmp dword [esi], eax
jne 0x42b440
cmp dword [esi + 8], edi
jne 0x42b440
mov ecx, dword [ebp + 0x14]
cmp dword [esi + 0x10], ecx
jne 0x42b440
mov eax, dword [esi + 4]
cmp eax, 0x10000
jl 0x42b43d
push ebx
push eax
call fcn.00467f7f
add esp, 8
test eax, eax
je 0x42b4af
mov eax, dword [ebp - 0x70]
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x42b411
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
jmp 0x42b452
mov edi, dword [ebp + 0x10]
push 0x18
call fcn.0046dc45
mov esi, eax
add esp, 4
test esi, esi
je 0x42b46d
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 0x42b486
mov dword [eax], ebx
jmp 0x42b4a1
push 0x28f
push str.D:MyProjectsProPilotLibLibMain.c
push fcn.00466ae4
push 0
push ebx
push eax
call fcn.00408760
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.0046300c
mov esp, ebp
pop ebp
ret