Function at 0x439c50
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3ec
mov eax, dword [0x4cdbf8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4eeef8], 0
push esi
mov esi, dword [ebp + 8]
jne 0x439c81
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
push ebx
push edi
lea eax, [ebp - 0x3c0]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x3d0]
push eax
push 0x20019
push 0
push str.Software_s
push esi
push str.Software_s
lea eax, [ebp - 0x388]
push 0x12b
push eax
call fcn.00420ad0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0x14
push eax
push SysReAllocString
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x439d93
lea eax, [ebp - 0x38c]
mov dword [ebp - 0x38c], 4
push eax
mov eax, dword [0x4eeef8]
add eax, 0xc
push eax
push 0
push 0
push str.SystemFlags
push dword [ebp - 0x3d0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [0x4eeef8]
add ecx, 0xc
mov eax, dword [ecx]
and eax, 2
push eax
push 6
push ecx
call fcn.00422f10
add esp, 0xc
mov dword [ebp - 0x38c], 4
lea eax, [ebp - 0x38c]
push eax
mov eax, dword [0x4eeef8]
add eax, 0x4c8
push eax
push 0
push 0
push str.KeepLog
push dword [ebp - 0x3d0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x38c]
mov dword [ebp - 0x38c], 4
push eax
mov eax, dword [0x4eeef8]
add eax, 0x4cc
push eax
push 0
push 0
push str.LogLevel
push dword [ebp - 0x3d0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x3d0]
call ebx
lea eax, [ebp - 0x3d0]
push eax
push 0x20019
push 0
push str.Software_s
push esi
push str.Software_s
lea eax, [ebp - 0x388]
push 0x12b
push eax
call fcn.00420ad0
add esp, 0x14
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x43a696
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x38c]
push eax
mov eax, dword [0x4eeef8]
add eax, 0xdc4
mov dword [ebp - 0x38c], 4
push eax
push 0
push 0
push str.SelectedNodeUID
push dword [ebp - 0x3d0]
call esi
lea eax, [ebp - 0x38c]
push eax
mov eax, dword [0x4eeef8]
add eax, 8
push eax
push 0
push 0
push str.UserFlags
push dword [ebp - 0x3d0]
call esi
lea eax, [ebp - 0x3c8]
push eax
push 0x20019
push 0
push str.DialogInfoEx
push dword [ebp - 0x3d0]
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x439f8c
lea eax, [ebp - 0x38c]
mov dword [ebp - 0x3cc], 0
push eax
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x38c], 0x18
push eax
lea eax, [ebp - 0x394]
mov dword [ebp - 0x390], 0x12c
push eax
push 0
lea eax, [ebp - 0x390]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x130]
movq qword [ebp - 0x3a0], xmm0
push eax
push 0
push dword [ebp - 0x3c8]
movups xmmword [ebp - 0x3b0], xmm0
call esi
test eax, eax
jne 0x43a0e5
nop dword [eax]
nop dword [eax + eax]
mov ebx, dword [ebp - 0x3a8]
mov eax, ebx
mov ecx, dword [ebp - 0x3b8]
mov edi, dword [ebp - 0x3c0]
sub ecx, edi
sub eax, dword [ebp - 0x3b0]
mov edx, dword [ebp - 0x3b4]
mov esi, dword [ebp - 0x3ac]
cmp eax, ecx
jg 0x439f00
mov eax, dword [ebp - 0x3a4]
mov ecx, edx
sub ecx, dword [ebp - 0x3bc]
sub eax, esi
cmp eax, ecx
jle 0x439f12
lea eax, [edi + ebx]
mov dword [ebp - 0x3b0], eax
lea eax, [edx + esi]
mov dword [ebp - 0x3a4], eax
push 3
lea eax, [ebp - 0x3b0]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00442ad0
mov eax, dword [ebp - 0x3cc]
lea ecx, [ebp - 0x38c]
add esp, 0xc
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
inc eax
mov dword [ebp - 0x38c], 0x18
mov dword [ebp - 0x3cc], eax
mov dword [ebp - 0x390], 0x12c
push ecx
lea ecx, [ebp - 0x3b0]
push ecx
lea ecx, [ebp - 0x394]
push ecx
push 0
lea ecx, [ebp - 0x390]
push ecx
lea ecx, [ebp - 0x130]
push ecx
push eax
push dword [ebp - 0x3c8]
call esi
test eax, eax
je 0x439ec0
jmp 0x43a0d9
lea eax, [ebp - 0x3c8]
push eax
push 0x20019
push 0
push str.DialogInfo
push dword [ebp - 0x3d0]
call edi
test eax, eax
jne 0x43a0ed
mov dword [ebp - 0x3cc], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x38c]
mov dword [ebp - 0x38c], 0x10
push eax
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x390], 0x12c
push eax
lea eax, [ebp - 0x394]
movq qword [ebp - 0x3a0], xmm0
push eax
push 0
lea eax, [ebp - 0x390]
push eax
lea eax, [ebp - 0x130]
push eax
push 0
push dword [ebp - 0x3c8]
movups xmmword [ebp - 0x3b0], xmm0
call esi
test eax, eax
jne 0x43a0e5
mov edi, dword [ebp - 0x3a8]
mov ecx, edi
mov eax, dword [ebp - 0x3b8]
mov ebx, dword [ebp - 0x3c0]
sub eax, ebx
sub ecx, dword [ebp - 0x3b0]
mov edx, dword [ebp - 0x3b4]
mov esi, dword [ebp - 0x3ac]
cmp ecx, eax
jg 0x43a052
mov ecx, dword [ebp - 0x3a4]
mov eax, edx
sub eax, dword [ebp - 0x3bc]
sub ecx, esi
cmp ecx, eax
jle 0x43a064
lea eax, [edi + ebx]
mov dword [ebp - 0x3b0], eax
lea eax, [esi + edx]
mov dword [ebp - 0x3a4], eax
push 2
lea eax, [ebp - 0x3b0]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00442ad0
mov eax, dword [ebp - 0x3cc]
lea ecx, [ebp - 0x38c]
add esp, 0xc
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
inc eax
mov dword [ebp - 0x38c], 0x10
mov dword [ebp - 0x3cc], eax
mov dword [ebp - 0x390], 0x12c
push ecx
lea ecx, [ebp - 0x3b0]
push ecx
lea ecx, [ebp - 0x394]
push ecx
push 0
lea ecx, [ebp - 0x390]
push ecx
lea ecx, [ebp - 0x130]
push ecx
push eax
push dword [ebp - 0x3c8]
call esi
test eax, eax
je 0x43a012
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push dword [ebp - 0x3c8]
call ebx
lea eax, [ebp - 0x3c8]
push eax
push 0x20019
push 0
push str.ListInfo
push dword [ebp - 0x3d0]
call edi
test eax, eax
jne 0x43a396
push 0x6920
mov dword [ebp - 0x394], eax
call fcn.00487397
mov edi, eax
add esp, 4
mov dword [ebp - 0x3ec], edi
test edi, edi
je 0x43a13f
push 0x6920
push 0
push edi
call fcn.00481c10
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x3d4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x3c8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
push dword [ebp - 0x3d4]
call fcn.00487397
mov ecx, dword [ebp - 0x3d4]
add esp, 4
mov ebx, eax
mov dword [ebp - 0x3cc], 0x12c
lea eax, [ebp - 0x398]
mov dword [ebp - 0x390], ebx
mov dword [ebp - 0x398], ecx
push eax
push ebx
lea eax, [ebp - 0x3c4]
push eax
push 0
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x130]
push eax
push 0
push dword [ebp - 0x3c8]
call esi
test eax, eax
jne 0x43a36c
mov al, byte [ebx]
mov byte [ebp - 0x3dd], al
mov al, byte [ebx + 1]
mov byte [ebp - 0x3de], al
cmp al, 8
jb 0x43a319
push 0x190
lea eax, [edi + 0x7c]
push 0
push eax
call fcn.00481c10
movzx eax, byte [ebp - 0x3dd]
add esp, 0xc
movzx ebx, byte [ebp - 0x3de]
xor esi, esi
mov dword [ebp - 0x3e4], eax
test eax, eax
je 0x43a2a0
mov eax, dword [ebp - 0x390]
add edi, 0x21c
add eax, 2
mov dword [ebp - 0x3e8], eax
push ebx
push eax
lea eax, [ebp - 0x3dc]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x3dc], xmm0
call fcn.00481690
mov edx, dword [ebp - 0x3dc]
add esp, 0xc
movss xmm0, dword [ebp - 0x3d8]
mov eax, edx
shr eax, 0x10
mov dword [edi - 4], eax
mov eax, edx
shr eax, 8
movzx eax, al
mov dword [edi], eax
movss dword [edi + 4], xmm0
test dl, dl
je 0x43a277
movsx eax, dl
lea ecx, [esi + 1]
mov edx, dword [ebp - 0x3ec]
mov dword [edx + eax*4 + 0x78], ecx
mov eax, dword [ebp - 0x3e8]
inc esi
add eax, ebx
add edi, 0xd0
mov dword [ebp - 0x3e8], eax
cmp esi, dword [ebp - 0x3e4]
jl 0x43a222
mov edi, dword [ebp - 0x3ec]
mov eax, dword [ebp - 0x3e4]
mov ecx, dword [ebp - 0x390]
mov edx, eax
imul edx, ebx
lea eax, [edx + 2]
cmp dword [ebp - 0x398], eax
jle 0x43a2c5
mov eax, ebx
imul eax, esi
mov eax, dword [eax + ecx + 2]
mov dword [edi + 0x5808], eax
lea eax, [edx + 6]
cmp dword [ebp - 0x398], eax
jle 0x43a2dd
imul ebx, esi
mov eax, dword [ebx + ecx + 6]
mov dword [edi + 0x6918], eax
push 0x3c0
push str.D:MyProjectsProPilotLibLibMain.c
push fcn.004845db
push 0
lea eax, [ebp - 0x130]
push eax
push edi
call fcn.0041e880
mov eax, dword [ebp - 0x3e4]
push edi
mov dword [edi + 0x78], eax
call fcn.00451d80
mov ebx, dword [ebp - 0x390]
add esp, 0x1c
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov eax, dword [ebp - 0x3d4]
lea ecx, [ebp - 0x398]
push ecx
push ebx
lea ecx, [ebp - 0x3c4]
mov dword [ebp - 0x398], eax
mov eax, dword [ebp - 0x394]
push ecx
push 0
lea ecx, [ebp - 0x3cc]
mov dword [ebp - 0x3cc], 0x12c
push ecx
lea ecx, [ebp - 0x130]
inc eax
push ecx
push eax
push dword [ebp - 0x3c8]
mov dword [ebp - 0x394], eax
call esi
test eax, eax
je 0x43a1c3
push dword [edi]
call fcn.0048737c
push edi
call fcn.0048737c
push ebx
call fcn.0048737c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
push dword [ebp - 0x3c8]
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x3c8]
push eax
push 0x20019
push 0
push str.Editors
push dword [ebp - 0x3d0]
call edi
test eax, eax
jne 0x43a5ae
xor edi, edi
call fcn.0042c450
lea eax, [ebp - 0x38c]
mov dword [ebp - 0x38c], 4
push eax
push 0x555b14
push edi
push edi
push str.ActiveEditor
push dword [ebp - 0x3c8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea eax, [ebp - 0x25c]
push 0x12c
push eax
push edi
push dword [ebp - 0x3c8]
call ebx
test eax, eax
jne 0x43a59b
xor esi, esi
nop
lea eax, [ebp - 0x3cc]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x3c8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43a57d
mov eax, dword [0x555b10]
xor ecx, ecx
inc eax
mov edx, 4
mov dword [0x555b10], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push dword [0x555b18]
call fcn.004845db
mov dword [0x555b18], eax
xor ecx, ecx
mov eax, dword [0x555b10]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push dword [0x555b1c]
call fcn.004845db
add esp, 0x10
mov dword [0x555b1c], eax
lea eax, [ebp - 0x38c]
mov dword [ebp - 0x38c], 0x12c
push eax
lea eax, [ebp - 0x130]
push eax
push 0
push 0
push str.Path
push dword [ebp - 0x3cc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x130]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a4c4
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00487397
mov ecx, dword [0x555b18]
add esp, 4
mov dword [esi + ecx], eax
lea ecx, [ebp - 0x130]
mov eax, dword [0x555b18]
mov edx, dword [esi + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x43a4f0
lea eax, [ebp - 0x38c]
mov dword [ebp - 0x38c], 0x12c
push eax
lea eax, [ebp - 0x130]
push eax
push 0
push 0
push 0x4a1548
push dword [ebp - 0x3cc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x130]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a534
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00487397
mov ecx, dword [0x555b1c]
add esp, 4
mov dword [esi + ecx], eax
lea ecx, [ebp - 0x130]
mov eax, dword [0x555b1c]
mov edx, dword [esi + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x43a560
push dword [ebp - 0x3cc]
add esi, 4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x12c
lea eax, [ebp - 0x25c]
inc edi
push eax
push edi
push dword [ebp - 0x3c8]
call ebx
test eax, eax
je 0x43a410
push dword [ebp - 0x3c8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
jmp 0x43a68e
xor esi, esi
cmp dword [0x555b10], esi
jle 0x43a5e6
nop dword [eax + eax]
mov eax, dword [0x555b18]
push dword [eax + esi*4]
call fcn.0048737c
mov eax, dword [0x555b1c]
push dword [eax + esi*4]
call fcn.0048737c
inc esi
add esp, 8
cmp esi, dword [0x555b10]
jl 0x43a5c0
push dword [0x555b18]
call fcn.0048737c
push dword [0x555b1c]
call fcn.0048737c
xorps xmm0, xmm0
movups xmmword [0x555b10], xmm0
push 4
push dword [0x555b18]
mov dword [0x555b10], 1
call fcn.004845db
mov dword [0x555b18], eax
xor ecx, ecx
mov eax, dword [0x555b10]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push dword [0x555b1c]
call fcn.004845db
push 0xc
mov dword [0x555b1c], eax
call fcn.00487397
mov ecx, dword [0x555b18]
push 1
mov dword [ecx], eax
mov eax, dword [0x555b18]
movq xmm0, qword [str.Notepad.exe]
mov ecx, dword [eax]
movq qword [ecx], xmm0
mov eax, dword [0x4a155c]
mov dword [ecx + 8], eax
call fcn.00487397
mov ecx, dword [0x555b1c]
add esp, 0x20
mov dword [ecx], eax
mov eax, dword [0x555b1c]
mov eax, dword [eax]
mov byte [eax], 0
push dword [ebp - 0x3d0]
call ebx
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret