Function at 0x453260
Capabilities:
Get common file path
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub rsp, 0xbf8
mov qword [rsp + 0xbf0], rbx
mov qword [rsp + 0xbe8], rbp
mov qword [rsp + 0xbe0], rsi
mov qword [rsp + 0xbd8], rdi
mov rbx, rcx
mov qword [rsp + 0xbd0], r12
mov qword [rsp + 0xbc8], r13
mov r13, rdx
lea rcx, [rsp + 0x9c0]
mov rdx, 0xffffffff80000002
call fcn.004646c0
lea rcx, [rsp + 0x160]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xor eax, eax
lea rdi, [rsp + 0x160]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.ModemLog_]
mov rcx, 0xffffffffffffffff
mov qword [rdi - 1], rax
movzx eax, word [0x004b4688]
mov word [rdi + 7], ax
movzx eax, byte [0x004b468a]
mov byte [rdi + 9], al
xor eax, eax
lea rdi, [rsp + 0x160]
repne scasb al, byte [rdi]
xor ecx, ecx
nop
movzx eax, byte [r13 + rcx]
inc rcx
test al, al
mov byte [rdi + rcx - 2], al
jne 0x453310
xor eax, eax
lea rdi, [rsp + 0x160]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov eax, dword [str..txt]
mov rcx, 0xffffffffffffffff
mov dword [rdi - 1], eax
movzx eax, byte [0x004b4678]
lea r9, [rsp + 0x160]
mov byte [rdi + 3], al
xor eax, eax
lea rdi, [rsp + 0x160]
repne scasb al, byte [rdi]
lea rdx, str.LoggingPath
mov r8d, 1
not rcx
dec rcx
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.0041c700
lea rcx, [rsp + 0x160]
mov rdx, r13
sub rcx, r13
nop
movzx eax, byte [rdx]
inc rdx
test al, al
mov byte [rcx + rdx - 1], al
jne 0x453390
movzx r8d, word [0x004b4660]
movzx r9d, byte [0x004b4662]
xor eax, eax
lea r12, [rbx + 0x44]
lea rdi, [rsp + 0x160]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x490]
mov rcx, r12
mov word [rdi - 1], r8w
mov byte [rdi + 1], r9b
sub rdx, r12
nop
movzx eax, byte [rcx]
inc rcx
test al, al
mov byte [rdx + rcx - 1], al
jne 0x4533e0
xor eax, eax
lea rdi, [rsp + 0x490]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, str.Manufacturer
mov rcx, rbx
mov word [rdi - 1], r8w
mov byte [rdi + 1], r9b
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x30], 0x104
call fcn.0041c500
lea rsi, [0x00400000]
test eax, eax
je 0x4536ec
xor eax, eax
lea rdi, [rsp + 0x160]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x50]
movzx eax, byte [rdx + rcx]
inc rcx
test al, al
mov byte [rdi + rcx - 2], al
jne 0x453454
movzx edx, word [0x004b4660]
movzx r8d, byte [0x004b4662]
xor eax, eax
lea rdi, [rsp + 0x160]
mov rcx, 0xffffffffffffffff
lea r9, [rsp + 0x50]
repne scasb al, byte [rdi]
mov rcx, 0xffffffffffffffff
mov word [rdi - 1], dx
mov byte [rdi + 1], r8b
lea rdi, [rsp + 0x490]
repne scasb al, byte [rdi]
xor ecx, ecx
movzx eax, byte [r9 + rcx]
inc rcx
test al, al
mov byte [rdi + rcx - 2], al
jne 0x4534a5
xor eax, eax
lea rdi, [rsp + 0x490]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea r9, [rsp + 0x30]
mov rcx, rbx
mov word [rdi - 1], dx
mov byte [rdi + 1], r8b
lea r8, [rsp + 0x50]
lea rdx, str.ProviderName
mov dword [rsp + 0x30], 0x104
call fcn.0041c500
test eax, eax
je 0x4536ec
xor eax, eax
lea rdi, [rsp + 0x160]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x50]
movzx eax, byte [rdx + rcx]
inc rcx
test al, al
mov byte [rdi + rcx - 2], al
jne 0x453513
xor eax, eax
lea rdi, [rsp + 0x490]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x50]
nop
movzx eax, byte [rdx + rcx]
inc rcx
test al, al
mov byte [rdi + rcx - 2], al
jne 0x453540
xor eax, eax
lea rdi, [rsp + 0x160]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea r9, [rsp + 0x160]
lea rdx, str.ResponsesKeyName
not rcx
mov r8d, 1
dec rcx
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.0041c700
mov rax, qword [rsi + 0xb45f0]
lea rdx, [rsp + 0x6b0]
mov qword [rdx], rax
mov rax, qword [rsi + 0xb45f8]
lea rdi, [rsp + 0x6b0]
mov qword [rdx + 8], rax
mov rax, qword [rsi + 0xb4600]
mov rcx, 0xffffffffffffffff
mov qword [rdx + 0x10], rax
mov rax, qword [rsi + 0xb4608]
mov qword [rdx + 0x18], rax
mov rax, qword [rsi + 0xb4610]
mov qword [rdx + 0x20], rax
mov rax, qword [rsi + 0xb4618]
mov qword [rdx + 0x28], rax
mov rax, qword [rsi + 0xb4620]
mov qword [rdx + 0x30], rax
mov rax, qword [rsi + 0xb4628]
mov qword [rdx + 0x38], rax
movzx eax, word [rsi + 0xb4630]
mov word [rdx + 0x40], ax
movzx eax, byte [rsi + 0xb4632]
mov byte [rdx + 0x42], al
xor eax, eax
lea rdx, [rsp + 0x490]
repne scasb al, byte [rdi]
xor ecx, ecx
nop
nop
movzx eax, byte [rdx + rcx]
inc rcx
test al, al
mov byte [rdi + rcx - 2], al
jne 0x453620
mov rax, qword [rsi + 0xb45f0]
lea rcx, [rsp + 0x8b0]
lea rdi, [rsp + 0x8b0]
mov qword [rcx], rax
mov rax, qword [rsi + 0xb45f8]
lea rdx, [rsp + 0x160]
mov qword [rcx + 8], rax
mov rax, qword [rsi + 0xb4600]
mov qword [rcx + 0x10], rax
mov rax, qword [rsi + 0xb4608]
mov qword [rcx + 0x18], rax
mov rax, qword [rsi + 0xb4610]
mov qword [rcx + 0x20], rax
mov rax, qword [rsi + 0xb4618]
mov qword [rcx + 0x28], rax
mov rax, qword [rsi + 0xb4620]
mov qword [rcx + 0x30], rax
mov rax, qword [rsi + 0xb4628]
mov qword [rcx + 0x38], rax
movzx eax, word [rsi + 0xb4630]
mov word [rcx + 0x40], ax
movzx eax, byte [rsi + 0xb4632]
mov byte [rcx + 0x42], al
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
movzx eax, byte [rdx + rcx]
inc rcx
test al, al
mov byte [rdi + rcx - 2], al
jne 0x4536c0
lea r8, [rsp + 0x8b0]
lea rdx, [rsp + 0x6b0]
lea rcx, [rsp + 0x9c0]
call fcn.00465940
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, r13
repne scasb al, byte [rdi]
lea r8, str.Friendly_Name
lea rdx, str.SOFTWAREMicrosoftRasTapi_DevicesUnimodem
not rcx
mov r9, r13
dec rcx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x9c0]
call fcn.00464ed0
mov rax, qword [rsi + 0xac668]
lea rdx, [rsp + 0x380]
mov qword [rdx], rax
mov rax, qword [rsi + 0xac670]
mov r9d, 0x20019
mov qword [rdx + 8], rax
mov rax, qword [rsi + 0xac678]
xor r8d, r8d
mov qword [rdx + 0x10], rax
mov rax, qword [rsi + 0xac680]
mov rcx, 0xffffffff80000002
mov qword [rdx + 0x18], rax
mov rax, qword [rsi + 0xac688]
mov qword [rdx + 0x20], rax
mov rax, qword [rsi + 0xac690]
mov qword [rdx + 0x28], rax
mov eax, dword [rsi + 0xac698]
mov dword [rdx + 0x30], eax
lea rax, [rsp + 0x40]
lea rdx, [rsp + 0x380]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x453929
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x50]
mov r9d, 0x104
xor edx, edx
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x45391e
nop
nop
nop
inc ebx
xor ecx, ecx
nop
nop
nop
movzx eax, byte [rsp + rcx + 0x380]
inc rcx
test al, al
mov byte [rsp + rcx + 0x26f], al
jne 0x4537e0
xor eax, eax
lea rdi, [rsp + 0x270]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x004a9dfc]
mov rcx, 0xffffffffffffffff
mov word [rdi - 1], ax
xor eax, eax
lea rdi, [rsp + 0x270]
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x50]
nop
movzx eax, byte [rdx + rcx]
inc rcx
test al, al
mov byte [rdi + rcx - 2], al
jne 0x453830
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x270]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4538fe
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DisplayName
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4538f3
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.00488120
test eax, eax
jne 0x4538f3
mov rcx, 0xffffffffffffffff
mov rdi, r13
lea rdx, str.DisplayName
repne scasb al, byte [rdi]
mov r9d, 1
xor r8d, r8d
not rcx
dec rcx
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, 0xff
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x50]
mov r9d, 0x104
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x4537d0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsi + 0xb4588]
lea rcx, [rsp + 0x380]
lea rdx, [rsp + 0x380]
mov qword [rcx], rax
mov rax, qword [rsi + 0xb4590]
mov r9d, 0x20019
mov qword [rcx + 8], rax
mov rax, qword [rsi + 0xb4598]
xor r8d, r8d
mov qword [rcx + 0x10], rax
mov rax, qword [rsi + 0xb45a0]
mov qword [rcx + 0x18], rax
movzx eax, word [rsi + 0xb45a8]
mov word [rcx + 0x20], ax
lea rax, [rsp + 0x40]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x453b87
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x50]
mov r9d, 0x104
xor edx, edx
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x453b7c
nop
nop
inc ebx
xor ecx, ecx
nop
nop
nop
movzx eax, byte [rsp + rcx + 0x380]
inc rcx
test al, al
mov byte [rsp + rcx + 0x26f], al
jne 0x4539d0
xor eax, eax
lea rdi, [rsp + 0x270]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x004a9dfc]
mov rcx, 0xffffffffffffffff
mov word [rdi - 1], ax
xor eax, eax
lea rdi, [rsp + 0x270]
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x50]
nop
movzx eax, byte [rdx + rcx]
inc rcx
test al, al
mov byte [rdi + rcx - 2], al
jne 0x453a20
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x270]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x453aaf
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DriverDesc
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x453aa4
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.00488120
test eax, eax
je 0x453ad4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x50]
mov r9d, 0x104
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x4539c0
jmp 0x453b7c
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, r13
repne scasb al, byte [rdi]
lea rdx, str.DriverDesc
mov r9d, 1
not rcx
xor r8d, r8d
dec rcx
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, r13
lea rdx, str.FriendlyName
mov r9d, 1
repne scasb al, byte [rdi]
xor r8d, r8d
not rcx
dec rcx
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, r13
lea rdx, str.Model
mov r9d, 1
repne scasb al, byte [rdi]
xor r8d, r8d
not rcx
dec rcx
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsi + 0xb4548]
lea rcx, [rsp + 0x380]
lea rdx, [rsp + 0x380]
mov qword [rcx], rax
mov rax, qword [rsi + 0xb4550]
mov r9d, 0x20019
mov qword [rcx + 8], rax
mov rax, qword [rsi + 0xb4558]
xor r8d, r8d
mov qword [rcx + 0x10], rax
mov rax, qword [rsi + 0xb4560]
mov qword [rcx + 0x18], rax
movzx eax, word [rsi + 0xb4568]
mov word [rcx + 0x20], ax
lea rax, [rsp + 0x40]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x453ef0
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x50]
mov r9d, 0x104
xor edx, edx
xor esi, esi
xor ebp, ebp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x453e3c
nop
nop
inc ebp
test esi, esi
jne 0x453e3c
xor ecx, ecx
nop
movzx eax, byte [rsp + rcx + 0x380]
inc rcx
test al, al
mov byte [rsp + rcx + 0x26f], al
jne 0x453c30
xor eax, eax
lea rdi, [rsp + 0x270]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x004a9dfc]
mov rcx, 0xffffffffffffffff
mov word [rdi - 1], ax
xor eax, eax
lea rdi, [rsp + 0x270]
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x50]
nop
movzx eax, byte [rdx + rcx]
inc rcx
test al, al
mov byte [rdi + rcx - 2], al
jne 0x453c80
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x270]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x453e1c
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x50]
mov r9d, 0x104
xor edx, edx
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x453e11
inc ebx
test esi, esi
jne 0x453e11
xor ecx, ecx
nop
movzx eax, byte [rsp + rcx + 0x270]
inc rcx
test al, al
mov byte [rsp + rcx + 0x59f], al
jne 0x453cf0
xor eax, eax
lea rdi, [rsp + 0x5a0]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x004a9dfc]
mov rcx, 0xffffffffffffffff
mov word [rdi - 1], ax
xor eax, eax
lea rdi, [rsp + 0x5a0]
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x50]
nop
movzx eax, byte [rdx + rcx]
inc rcx
test al, al
mov byte [rdi + rcx - 2], al
jne 0x453d40
lea rax, [rsp + 0x48]
lea rdx, [rsp + 0x5a0]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x453df1
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
lea rdx, str.DeviceDesc
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x453de6
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.00488120
test eax, eax
jne 0x453de6
mov esi, 1
xor ecx, ecx
nop
movzx eax, byte [rsp + rcx + 0x5a0]
inc rcx
test al, al
mov byte [rsp + rcx + 0x15f], al
jne 0x453dd0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x50]
mov r9d, 0x104
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x453ce1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x50]
mov r9d, 0x104
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x453c20
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov rbp, qword [rsp + 0xbe8]
je 0x453ef0
lea rcx, [rsp + 0x6b0]
mov rdx, 0xffffffff80000002
call fcn.004646c0
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x6b0]
call fcn.004646f0
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, r13
lea r8, str.DeviceDesc
lea rdx, [rsp + 0x160]
repne scasb al, byte [rdi]
mov r9, r13
not rcx
dec rcx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x6b0]
call fcn.00464ed0
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, r13
lea r8, str.FriendlyName
lea rdx, [rsp + 0x160]
repne scasb al, byte [rdi]
mov r9, r13
not rcx
dec rcx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x6b0]
call fcn.00464ed0
mov r13, qword [rsp + 0xbc8]
mov r12, qword [rsp + 0xbd0]
mov rdi, qword [rsp + 0xbd8]
mov rsi, qword [rsp + 0xbe0]
mov rbx, qword [rsp + 0xbf0]
add rsp, 0xbf8
ret