Function at 0x451320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x4ccbf8]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x198], edx
test edi, edi
je 0x45173f
mov eax, dword [edi]
test eax, eax
je 0x45173f
cmp byte [eax], dl
je 0x45173f
mov ecx, dword [edi + 0x78]
push ebx
xor ebx, ebx
mov dword [ebp - 0x19c], ebx
test ecx, ecx
jle 0x451382
lea eax, [edi + 0x7c]
nop dword [eax]
cmp dword [eax], edx
je 0x45137c
inc ebx
add eax, 4
cmp ebx, ecx
jl 0x451370
mov dword [ebp - 0x19c], ebx
push esi
lea eax, [ebp - 0x194]
push eax
push ebx
push 0x103b
push dword [edi + 0x54c8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [edi]
mov esi, edx
mov dword [ebp - 0x1a0], eax
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4513b0
sub esi, ecx
mov eax, esi
and eax, 3
je 0x4513e4
push eax
mov eax, esi
and eax, 0xfc
add eax, edx
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.00480c20
mov ecx, dword [ebp - 0x198]
add esp, 0xc
mov edx, dword [edi]
jmp 0x4513e6
xor ecx, ecx
sar esi, 2
test esi, esi
jle 0x4513fb
lea eax, [edx + esi*4]
xor ecx, dword [eax - 4]
lea eax, [eax - 4]
dec esi
test esi, esi
jg 0x4513f0
mov eax, 0x446f8657
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x65
sub ecx, eax
mov dword [ebp - 0x1a4], ecx
mov esi, dword [ecx*4 + 0x5546a4]
test esi, esi
je 0x45143b
push dword [esi + 4]
push dword [edi]
call fcn.0048df36
add esp, 8
test eax, eax
je 0x451466
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x451423
push 0x20
call fcn.00486927
mov ebx, eax
add esp, 4
mov dword [ebp - 0x198], ebx
test ebx, ebx
je 0x451617
xorps xmm0, xmm0
xor eax, eax
movups xmmword [ebx], xmm0
movups xmmword [ebx + 0x10], xmm0
jmp 0x451619
mov eax, dword [esi + 0x10]
cmp eax, dword [edi + 0x5770]
jne 0x45152d
movzx eax, byte [esi + 8]
cmp eax, dword [edi + 0x78]
jne 0x45152d
mov eax, dword [esi + 0x14]
cmp eax, dword [edi + 0x5808]
jne 0x45152d
mov eax, dword [esi + 0x1c]
cmp eax, dword [edi + 0x6918]
jne 0x45152d
xor ecx, ecx
lea edx, [edi + 0x21c]
cmp ecx, dword [edi + 0x78]
jge 0x4514eb
mov eax, dword [esi + 0xc]
movzx eax, word [eax + ecx*8 + 2]
cmp eax, dword [edx - 4]
jne 0x45152d
mov eax, dword [esi + 0xc]
movzx eax, byte [eax + ecx*8 + 1]
cmp eax, dword [edx]
jne 0x45152d
mov eax, dword [esi + 0xc]
movss xmm0, dword [eax + ecx*8 + 4]
ucomiss xmm0, dword [edx + 4]
lahf
test ah, 0x44
jp 0x45152d
mov eax, dword [esi + 0xc]
cmp byte [eax + ecx*8], 0
jne 0x45152d
inc ecx
add edx, 0xd0
jmp 0x4514a8
xor eax, eax
xor edx, edx
nop
mov dword [ebp - 0x198], eax
cmp edx, ebx
jge 0x451601
cmp dword [ebp - 0x1a0], 0
je 0x451510
mov ecx, dword [ebp + edx*4 - 0x194]
jmp 0x451512
mov ecx, edx
mov ecx, dword [edi + ecx*4 + 0x7c]
inc edx
mov eax, dword [esi + 0xc]
movsx eax, byte [eax + ecx*8 - 8]
cmp eax, edx
jne 0x45152d
mov eax, dword [ebp - 0x198]
test eax, eax
je 0x4514f0
or dword [0x5546a0], 1
mov edx, 8
or dword [esi], 1
mov eax, dword [edi + 0x5770]
mov dword [esi + 0x10], eax
mov cl, byte [edi + 0x78]
mov byte [esi + 8], cl
mov eax, dword [edi + 0x5808]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x6918]
mov dword [esi + 0x1c], eax
movzx eax, cl
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push dword [esi + 0xc]
call fcn.00483b6d
xor edx, edx
mov dword [esi + 0xc], eax
add esp, 8
cmp dword [edi + 0x78], edx
jle 0x4515cc
lea ebx, [edi + 0x21c]
nop word [eax + eax]
mov ecx, dword [esi + 0xc]
lea ebx, [ebx + 0xd0]
mov ax, word [ebx - 0xd4]
mov word [ecx + edx*8 + 2], ax
mov ecx, dword [esi + 0xc]
mov al, byte [ebx - 0xd0]
mov byte [ecx + edx*8 + 1], al
mov ecx, dword [esi + 0xc]
mov eax, dword [ebx - 0xcc]
mov dword [ecx + edx*8 + 4], eax
mov eax, dword [esi + 0xc]
mov byte [eax + edx*8], 0
inc edx
cmp edx, dword [edi + 0x78]
jl 0x451590
xor ebx, ebx
cmp dword [ebp - 0x19c], ebx
jle 0x451601
cmp dword [ebp - 0x1a0], 0
je 0x4515e8
mov ecx, dword [ebp + ebx*4 - 0x194]
jmp 0x4515ea
mov ecx, ebx
mov ecx, dword [edi + ecx*4 + 0x7c]
lea edx, [ebx + 1]
mov eax, dword [esi + 0xc]
inc ebx
mov byte [eax + ecx*8 - 8], dl
cmp ebx, dword [ebp - 0x19c]
jl 0x4515d6
pop esi
pop ebx
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047f41c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
push 0xb3d
push str.D:MyProjectsProPilotLibListview.c
or eax, 1
push fcn.00483b6d
mov dword [ebx], eax
lea eax, [ebx + 4]
or dword [0x5546a0], 1
push 0
push dword [edi]
push eax
call fcn.0041d090
mov eax, dword [edi + 0x5770]
mov edx, 8
mov dword [ebx + 0x10], eax
mov cl, byte [edi + 0x78]
mov byte [ebx + 8], cl
mov eax, dword [edi + 0x5808]
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x6918]
mov dword [ebx + 0x1c], eax
movzx eax, cl
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push dword [ebx + 0xc]
call fcn.00483b6d
xor edx, edx
mov dword [ebx + 0xc], eax
add esp, 0x20
cmp dword [edi + 0x78], edx
jle 0x4516dc
lea esi, [edi + 0x21c]
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [ebx + 0xc]
lea esi, [esi + 0xd0]
mov ax, word [esi - 0xd4]
mov word [ecx + edx*8 + 2], ax
mov ecx, dword [ebx + 0xc]
mov al, byte [esi - 0xd0]
mov byte [ecx + edx*8 + 1], al
mov ecx, dword [ebx + 0xc]
mov eax, dword [esi - 0xcc]
mov dword [ecx + edx*8 + 4], eax
mov eax, dword [ebx + 0xc]
mov byte [eax + edx*8], 0
inc edx
cmp edx, dword [edi + 0x78]
jl 0x4516a0
mov esi, dword [ebp - 0x19c]
xor ebx, ebx
test esi, esi
jle 0x45171d
nop dword [eax + eax]
cmp dword [ebp - 0x1a0], 0
je 0x451702
mov ecx, dword [ebp + ebx*4 - 0x194]
jmp 0x451704
mov ecx, ebx
mov eax, dword [ebp - 0x198]
lea edx, [ebx + 1]
mov ecx, dword [edi + ecx*4 + 0x7c]
inc ebx
mov eax, dword [eax + 0xc]
mov byte [eax + ecx*8 - 8], dl
cmp ebx, esi
jl 0x4516f0
mov edx, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x198]
mov eax, dword [edx*4 + 0x5546a4]
mov dword [ecx + 0x18], eax
mov dword [edx*4 + 0x5546a4], ecx
jmp 0x451601
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0047f41c
mov esp, ebp
pop ebp
ret