Function at 0x18001b870
Capabilities:
Read .ini file

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x390], rbx
mov rax, qword [0x1801a8080]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rsi, r9
mov rdi, r8
mov rbx, rdx
cmp qword [rdx + 0x10], 0
jne 0x18001b8bf
mov eax, 0xffffffff
jmp 0x18001bb1f
lea rcx, [rsp + 0x48]
call fcn.180095a10
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
lea rdx, str..url
call fcn.180094300
test al, al
je 0x18001b97f
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x50]
call fcn.1801023f0
cmp qword [rbx + 0x18], 8
jb 0x18001b90a
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x50]
lea r8, [0x180156244]
lea rdx, [0x180159d48]
lea rcx, str.InternetShortcut
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x18001bb0e
lea rax, [rbp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18001b950
lea rdx, [rbp + 0x50]
mov rcx, rsi
call fcn.18000c0b0
xor ebx, ebx
mov qword [rdi + 0x10], rbx
cmp qword [rdi + 0x18], 8
jb 0x18001b977
mov rdi, qword [rdi]
mov word [rdi], bx
jmp 0x18001bb13
cmp qword [rsp + 0x58], 0
je 0x18001b9ac
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
lea rdx, [0x180156248]
call fcn.180094300
test al, al
je 0x18001bb0e
mov r9, rsi
mov r8, rdi
mov rdx, rbx
call fcn.18001bbb0
test eax, eax
jne 0x18001b9c9
cmp qword [rdi + 0x10], 0
jne 0x18001babf
lea rcx, [rsp + 0x30]
call fcn.180020510
nop
lea rcx, [rsp + 0x70]
call fcn.18000bd00
lea rcx, [rbp - 0x70]
call fcn.18000bd00
lea rcx, [rbp - 0x50]
call fcn.18000bd00
lea rcx, [rbp - 0x30]
call fcn.18000bd00
lea rcx, [rbp - 0x10]
call fcn.18000bd00
lea rcx, [rbp + 0x10]
call fcn.18000bd00
lea rcx, [rbp + 0x30]
call fcn.18000bd00
nop
lea r8, [rsp + 0x70]
mov rdx, rbx
call fcn.180020570
test al, al
je 0x18001bac3
lea rax, [rbp + 0x30]
cmp rsi, rax
je 0x18001ba4d
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rdx, qword [rbp + 0x30]
mov r8, qword [rbp + 0x40]
mov rcx, rsi
call fcn.18000c0b0
lea rax, [rsp + 0x70]
cmp rdi, rax
je 0x18001ba74
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
mov rcx, rdi
call fcn.18000c0b0
nop
lea rcx, [rbp + 0x30]
call fcn.18000bc10
lea rcx, [rbp + 0x10]
call fcn.18000bc10
lea rcx, [rbp - 0x10]
call fcn.18000bc10
lea rcx, [rbp - 0x30]
call fcn.18000bc10
lea rcx, [rbp - 0x50]
call fcn.18000bc10
lea rcx, [rbp - 0x70]
call fcn.18000bc10
lea rcx, [rsp + 0x70]
call fcn.18000bc10
nop
lea rcx, [rsp + 0x30]
call fcn.180020550
xor ebx, ebx
jmp 0x18001bb13
lea rcx, [rbp + 0x30]
call fcn.18000bc10
lea rcx, [rbp + 0x10]
call fcn.18000bc10
lea rcx, [rbp - 0x10]
call fcn.18000bc10
lea rcx, [rbp - 0x30]
call fcn.18000bc10
lea rcx, [rbp - 0x50]
call fcn.18000bc10
lea rcx, [rbp - 0x70]
call fcn.18000bc10
lea rcx, [rsp + 0x70]
call fcn.18000bc10
nop
lea rcx, [rsp + 0x30]
call fcn.180020550
mov ebx, 0xffffffff
lea rcx, [rsp + 0x48]
call fcn.18000bc10
mov eax, ebx
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1800e2d00
mov rbx, qword [rsp + 0x390]
add rsp, 0x370
pop rdi
pop rsi
pop rbp
ret