Function at 0x18001c680
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 [0x1801b8080]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rsi, r9
mov rdi, r8
mov rbx, rdx
cmp qword [rdx + 0x10], 0
jne 0x18001c6cf
mov eax, 0xffffffff
jmp 0x18001c92f
lea rcx, [rsp + 0x48]
call fcn.18009e800
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
lea rdx, str..url
call fcn.18009d0f0
test al, al
je 0x18001c78f
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x50]
call fcn.18010bfb0
cmp qword [rbx + 0x18], 8
jb 0x18001c71a
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x50]
lea r8, [0x180160958]
lea rdx, [0x180163fe8]
lea rcx, str.InternetShortcut
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x18001c91e
lea rax, [rbp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18001c760
lea rdx, [rbp + 0x50]
mov rcx, rsi
call fcn.1800049a0
xor ebx, ebx
mov qword [rdi + 0x10], rbx
cmp qword [rdi + 0x18], 8
jb 0x18001c787
mov rdi, qword [rdi]
mov word [rdi], bx
jmp 0x18001c923
cmp qword [rsp + 0x58], 0
je 0x18001c7bc
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
lea rdx, [0x180160960]
call fcn.18009d0f0
test al, al
je 0x18001c91e
mov r9, rsi
mov r8, rdi
mov rdx, rbx
call fcn.18001c9c0
test eax, eax
jne 0x18001c7d9
cmp qword [rdi + 0x10], 0
jne 0x18001c8cf
lea rcx, [rsp + 0x30]
call fcn.180021420
nop
lea rcx, [rsp + 0x70]
call fcn.1800048f0
lea rcx, [rbp - 0x70]
call fcn.1800048f0
lea rcx, [rbp - 0x50]
call fcn.1800048f0
lea rcx, [rbp - 0x30]
call fcn.1800048f0
lea rcx, [rbp - 0x10]
call fcn.1800048f0
lea rcx, [rbp + 0x10]
call fcn.1800048f0
lea rcx, [rbp + 0x30]
call fcn.1800048f0
nop
lea r8, [rsp + 0x70]
mov rdx, rbx
call fcn.180021480
test al, al
je 0x18001c8d3
lea rax, [rbp + 0x30]
cmp rsi, rax
je 0x18001c85d
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rdx, qword [rbp + 0x30]
mov r8, qword [rbp + 0x40]
mov rcx, rsi
call fcn.1800049a0
lea rax, [rsp + 0x70]
cmp rdi, rax
je 0x18001c884
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
mov rcx, rdi
call fcn.1800049a0
nop
lea rcx, [rbp + 0x30]
call fcn.180004890
lea rcx, [rbp + 0x10]
call fcn.180004890
lea rcx, [rbp - 0x10]
call fcn.180004890
lea rcx, [rbp - 0x30]
call fcn.180004890
lea rcx, [rbp - 0x50]
call fcn.180004890
lea rcx, [rbp - 0x70]
call fcn.180004890
lea rcx, [rsp + 0x70]
call fcn.180004890
nop
lea rcx, [rsp + 0x30]
call fcn.180021460
xor ebx, ebx
jmp 0x18001c923
lea rcx, [rbp + 0x30]
call fcn.180004890
lea rcx, [rbp + 0x10]
call fcn.180004890
lea rcx, [rbp - 0x10]
call fcn.180004890
lea rcx, [rbp - 0x30]
call fcn.180004890
lea rcx, [rbp - 0x50]
call fcn.180004890
lea rcx, [rbp - 0x70]
call fcn.180004890
lea rcx, [rsp + 0x70]
call fcn.180004890
nop
lea rcx, [rsp + 0x30]
call fcn.180021460
mov ebx, 0xffffffff
lea rcx, [rsp + 0x48]
call fcn.180004890
mov eax, ebx
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1800ece20
mov rbx, qword [rsp + 0x390]
add rsp, 0x370
pop rdi
pop rsi
pop rbp
ret