Function at 0x451d80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x4cdbf8]
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 0x45219f
mov eax, dword [edi]
test eax, eax
je 0x45219f
cmp byte [eax], dl
je 0x45219f
mov ecx, dword [edi + 0x78]
push ebx
xor ebx, ebx
mov dword [ebp - 0x19c], ebx
test ecx, ecx
jle 0x451de2
lea eax, [edi + 0x7c]
nop dword [eax]
cmp dword [eax], edx
je 0x451ddc
inc ebx
add eax, 4
cmp ebx, ecx
jl 0x451dd0
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 0x451e10
sub esi, ecx
mov eax, esi
and eax, 3
je 0x451e44
push eax
mov eax, esi
and eax, 0xfc
add eax, edx
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.00481690
mov ecx, dword [ebp - 0x198]
add esp, 0xc
mov edx, dword [edi]
jmp 0x451e46
xor ecx, ecx
sar esi, 2
test esi, esi
jle 0x451e5b
lea eax, [edx + esi*4]
xor ecx, dword [eax - 4]
lea eax, [eax - 4]
dec esi
test esi, esi
jg 0x451e50
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 + 0x555724]
test esi, esi
je 0x451e9b
push dword [esi + 4]
push dword [edi]
call fcn.0048e9a6
add esp, 8
test eax, eax
je 0x451ec6
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x451e83
push 0x20
call fcn.00487397
mov ebx, eax
add esp, 4
mov dword [ebp - 0x198], ebx
test ebx, ebx
je 0x452077
xorps xmm0, xmm0
xor eax, eax
movups xmmword [ebx], xmm0
movups xmmword [ebx + 0x10], xmm0
jmp 0x452079
mov eax, dword [esi + 0x10]
cmp eax, dword [edi + 0x5770]
jne 0x451f8d
movzx eax, byte [esi + 8]
cmp eax, dword [edi + 0x78]
jne 0x451f8d
mov eax, dword [esi + 0x14]
cmp eax, dword [edi + 0x5808]
jne 0x451f8d
mov eax, dword [esi + 0x1c]
cmp eax, dword [edi + 0x6918]
jne 0x451f8d
xor ecx, ecx
lea edx, [edi + 0x21c]
cmp ecx, dword [edi + 0x78]
jge 0x451f4b
mov eax, dword [esi + 0xc]
movzx eax, word [eax + ecx*8 + 2]
cmp eax, dword [edx - 4]
jne 0x451f8d
mov eax, dword [esi + 0xc]
movzx eax, byte [eax + ecx*8 + 1]
cmp eax, dword [edx]
jne 0x451f8d
mov eax, dword [esi + 0xc]
movss xmm0, dword [eax + ecx*8 + 4]
ucomiss xmm0, dword [edx + 4]
lahf
test ah, 0x44
jp 0x451f8d
mov eax, dword [esi + 0xc]
cmp byte [eax + ecx*8], 0
jne 0x451f8d
inc ecx
add edx, 0xd0
jmp 0x451f08
xor eax, eax
xor edx, edx
nop
mov dword [ebp - 0x198], eax
cmp edx, ebx
jge 0x452061
cmp dword [ebp - 0x1a0], 0
je 0x451f70
mov ecx, dword [ebp + edx*4 - 0x194]
jmp 0x451f72
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 0x451f8d
mov eax, dword [ebp - 0x198]
test eax, eax
je 0x451f50
or dword [0x555720], 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.004845db
xor edx, edx
mov dword [esi + 0xc], eax
add esp, 8
cmp dword [edi + 0x78], edx
jle 0x45202c
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 0x451ff0
xor ebx, ebx
cmp dword [ebp - 0x19c], ebx
jle 0x452061
cmp dword [ebp - 0x1a0], 0
je 0x452048
mov ecx, dword [ebp + ebx*4 - 0x194]
jmp 0x45204a
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 0x452036
pop esi
pop ebx
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
push 0xb3d
push str.D:MyProjectsProPilotLibListview.c
or eax, 1
push fcn.004845db
mov dword [ebx], eax
lea eax, [ebx + 4]
or dword [0x555720], 1
push 0
push dword [edi]
push eax
call fcn.0041e700
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.004845db
xor edx, edx
mov dword [ebx + 0xc], eax
add esp, 0x20
cmp dword [edi + 0x78], edx
jle 0x45213c
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 0x452100
mov esi, dword [ebp - 0x19c]
xor ebx, ebx
test esi, esi
jle 0x45217d
nop dword [eax + eax]
cmp dword [ebp - 0x1a0], 0
je 0x452162
mov ecx, dword [ebp + ebx*4 - 0x194]
jmp 0x452164
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 0x452150
mov edx, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x198]
mov eax, dword [edx*4 + 0x555724]
mov dword [ecx + 0x18], eax
mov dword [edx*4 + 0x555724], ecx
jmp 0x452061
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret