Function at 0x1400e7090
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
lea rdx, str.CBaseDlgCtrl::GetTCPIPtypeFromDeviceInfo
lea rcx, [rsp + 0x30]
call fcn.14001abe0
mov rcx, qword [0x1402a8360]
lea r15, [0x1402a8360]
lea r14, [0x1402bbdb0]
cmp rcx, r15
je 0x1400e711d
test byte [rcx + 0x1c], 1
je 0x1400e711d
cmp qword [0x1402bbdc8], 8
lea r8, [0x14025e0c0]
mov rcx, qword [rcx + 0x10]
mov r9, r14
cmovae r9, qword [0x1402bbdb0]
mov edx, WSAStartup
call fcn.140001ad0
xorps xmm0, xmm0
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
movups xmmword [rbp - 0x80], xmm0
mov esi, 3
movups xmmword [rbp - 0x70], xmm0
call fcn.1401e7e40
lea rdx, [rbp - 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rcx, str.DeviceInfo.ini
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [0x140251df8]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, str._MINSTD_
add ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rbp - 0x60]
add ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [rax + 1]
add ecx, ebx
cmp ecx, 0x104
jle 0x1400e71ed
mov byte [rsp + 0x38], 1
mov rax, qword [0x1402a8360]
cmp rax, r15
je 0x1400e72ef
test byte [rax + 0x1c], 1
je 0x1400e72ef
lfence
cmp qword [0x1402bbdc8], 8
lea edx, [rsi + 0x6e]
mov dword [rsp + 0x28], esi
lea r8, [0x14025e0c0]
mov dword [rsp + 0x20], ecx
mov r9, r14
mov rcx, qword [0x1402a8360]
cmovae r9, qword [0x1402bbdb0]
mov rcx, qword [rcx + 0x10]
call fcn.1400515a0
jmp 0x1400e72e8
lea rcx, [rbp - 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rdx, str._MINSTD_
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rbp - 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rdx, str.DeviceInfo.ini
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x80]
lea r8, [0x140251dfc]
mov dword [rsp + 0x20], reloc.WSOCK32.dll_recv
lea rdx, str.TCPIPtype
lea rcx, str.DeviceInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1400e72a5
lea rdx, str.Manual
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400e7270
xor esi, esi
jmp 0x1400e72a5
lea rdx, str.DHCP
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400e728a
lea esi, [rax + 2]
jmp 0x1400e72a5
lea rdx, [0x14025ede8]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov ecx, 1
cmove esi, ecx
mov byte [rsp + 0x38], 1
mov rax, qword [0x1402a8360]
cmp rax, r15
je 0x1400e72ef
test byte [rax + 0x1c], 1
je 0x1400e72ef
cmp qword [0x1402bbdc8], 8
lea r8, [0x14025e0c0]
mov rcx, qword [rax + 0x10]
mov r9, r14
cmovae r9, qword [0x1402bbdb0]
mov edx, WSAStartup
mov dword [rsp + 0x20], esi
call fcn.140001b40
mov rax, qword [0x1402a8360]
cmp byte [rsp + 0x38], 0
lea rcx, vtable.WppTrace.0
mov qword [rsp + 0x30], rcx
jne 0x1400e734b
cmp rax, r15
je 0x1400e734b
test byte [rax + 0x1c], 1
je 0x1400e734b
cmp qword [rsp + 0x58], 8
lea rcx, [rsp + 0x40]
mov edx, 0xa
lea r8, [0x140252818]
cmovae rcx, qword [rsp + 0x40]
cmp qword [0x1402bbdc8], 8
mov qword [rsp + 0x20], rcx
cmovae r14, qword [0x1402bbdb0]
mov rcx, qword [rax + 0x10]
mov r9, r14
call fcn.140006c90
lea rcx, [rsp + 0x60]
call fcn.1400048a0
lea rcx, [rsp + 0x40]
call fcn.1400048a0
mov eax, esi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret