Function at 0x140043640
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x798]
sub rsp, 0x898
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov rax, qword [rbp + 0x818]
mov r14, r9
mov r15, qword [rbp + 0x800]
mov rdi, r8
mov r12, qword [rbp + 0x808]
mov rsi, rdx
mov r13, qword [rbp + 0x810]
lea rdx, str.D5460976_987D_4418_AA5E_BD3497AD2DC7FWA_PROXY_SETTINGS
mov qword [rsp + 0x38], rax
mov rbx, rcx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x68], 0
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400439eb
mov rcx, qword [rsp + 0x68]
lea rdx, str.ProxyEnabled
mov dword [rsp + 0x74], eax
xor r9d, r9d
lea rax, [rsp + 0x70]
mov dword [rsp + 0x70], 4
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140043718
cmp dword [rsp + 0x74], 1
sete al
mov byte [rbx], al
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x800
call fcn.1400a83f0
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rdx, str.Address
lea rax, [rbp - 0x80]
mov dword [rsp + 0x70], 0x800
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rbx, 0xffffffffffffffff
test eax, eax
jne 0x140043787
lea rax, [rbp - 0x80]
mov r8, rbx
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140043770
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.140011160
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rdx, str.Port
lea rax, [rsp + 0x74]
mov dword [rsp + 0x70], 4
xor esi, esi
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov dword [rsp + 0x74], esi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400437cb
mov eax, dword [rsp + 0x74]
mov dword [rdi], eax
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rdx, str.AuthRequired
lea rax, [rsp + 0x74]
mov dword [rsp + 0x74], esi
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x70], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140043812
cmp dword [rsp + 0x74], 1
sete al
mov byte [r14], al
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rdx, str.AuthType
lea rax, [rsp + 0x74]
mov dword [rsp + 0x74], esi
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x70], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140043855
mov eax, dword [rsp + 0x74]
mov dword [r15], eax
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x800
call fcn.1400a83f0
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rdx, str.UserName
lea rax, [rbp - 0x80]
mov dword [rsp + 0x70], 0x800
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400438ba
lea rax, [rbp - 0x80]
mov r8, rbx
inc r8
cmp word [rax + r8*2], si
jne 0x1400438a4
lea rdx, [rbp - 0x80]
mov rcx, r12
call fcn.140011160
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x800
call fcn.1400a83f0
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rdx, str.Password
lea rax, [rbp - 0x80]
mov dword [rsp + 0x70], 0x800
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140043976
lea r8d, [rax + 0x26]
mov qword [rsp + 0x30], rsi
lea rdx, str.EA52333F_290A_40F5_86FD_98309C3BF487
mov qword [rsp + 0x40], rsi
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], reloc.ACTIVEDS.dll_FreeADsMem
call fcn.140006590
mov r9d, dword [rsp + 0x70]
lea rax, [rsp + 0x30]
lea r8, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
call fcn.140051290
mov rdi, qword [rsp + 0x30]
mov r8, rbx
inc r8
cmp word [rdi + r8*2], si
jne 0x140043954
mov rdx, rdi
mov rcx, r13
call fcn.140011160
mov edx, 2
mov rcx, rdi
call fcn.1400a59a4
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x800
call fcn.1400a83f0
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rdx, str.Domain
lea rax, [rbp - 0x80]
mov dword [rsp + 0x70], 0x800
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400439dc
lea rax, [rbp - 0x80]
inc rbx
cmp word [rax + rbx*2], si
jne 0x1400439c2
mov rcx, qword [rsp + 0x38]
lea rdx, [rbp - 0x80]
mov r8, rbx
call fcn.140011160
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x1400439ed
xor al, al
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.1400a5460
add rsp, 0x898
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret