Function at 0x18001c540
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 0x18001c58f
mov eax, 0xffffffff
jmp 0x18001c7ef
lea rcx, [rsp + 0x48]
call fcn.18009e6a0
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
lea rdx, str..url
call fcn.18009cf90
test al, al
je 0x18001c64f
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x50]
call fcn.18010be50
cmp qword [rbx + 0x18], 8
jb 0x18001c5da
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x50]
lea r8, [0x180160958]
lea rdx, [0x180163fa8]
lea rcx, str.InternetShortcut
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x18001c7de
lea rax, [rbp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18001c620
lea rdx, [rbp + 0x50]
mov rcx, rsi
call fcn.180004930
xor ebx, ebx
mov qword [rdi + 0x10], rbx
cmp qword [rdi + 0x18], 8
jb 0x18001c647
mov rdi, qword [rdi]
mov word [rdi], bx
jmp 0x18001c7e3
cmp qword [rsp + 0x58], 0
je 0x18001c67c
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
lea rdx, [0x180160960]
call fcn.18009cf90
test al, al
je 0x18001c7de
mov r9, rsi
mov r8, rdi
mov rdx, rbx
call fcn.18001c880
test eax, eax
jne 0x18001c699
cmp qword [rdi + 0x10], 0
jne 0x18001c78f
lea rcx, [rsp + 0x30]
call fcn.1800212c0
nop
lea rcx, [rsp + 0x70]
call fcn.180004880
lea rcx, [rbp - 0x70]
call fcn.180004880
lea rcx, [rbp - 0x50]
call fcn.180004880
lea rcx, [rbp - 0x30]
call fcn.180004880
lea rcx, [rbp - 0x10]
call fcn.180004880
lea rcx, [rbp + 0x10]
call fcn.180004880
lea rcx, [rbp + 0x30]
call fcn.180004880
nop
lea r8, [rsp + 0x70]
mov rdx, rbx
call fcn.180021320
test al, al
je 0x18001c793
lea rax, [rbp + 0x30]
cmp rsi, rax
je 0x18001c71d
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rdx, qword [rbp + 0x30]
mov r8, qword [rbp + 0x40]
mov rcx, rsi
call fcn.180004930
lea rax, [rsp + 0x70]
cmp rdi, rax
je 0x18001c744
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
mov rcx, rdi
call fcn.180004930
nop
lea rcx, [rbp + 0x30]
call fcn.180004820
lea rcx, [rbp + 0x10]
call fcn.180004820
lea rcx, [rbp - 0x10]
call fcn.180004820
lea rcx, [rbp - 0x30]
call fcn.180004820
lea rcx, [rbp - 0x50]
call fcn.180004820
lea rcx, [rbp - 0x70]
call fcn.180004820
lea rcx, [rsp + 0x70]
call fcn.180004820
nop
lea rcx, [rsp + 0x30]
call fcn.180021300
xor ebx, ebx
jmp 0x18001c7e3
lea rcx, [rbp + 0x30]
call fcn.180004820
lea rcx, [rbp + 0x10]
call fcn.180004820
lea rcx, [rbp - 0x10]
call fcn.180004820
lea rcx, [rbp - 0x30]
call fcn.180004820
lea rcx, [rbp - 0x50]
call fcn.180004820
lea rcx, [rbp - 0x70]
call fcn.180004820
lea rcx, [rsp + 0x70]
call fcn.180004820
nop
lea rcx, [rsp + 0x30]
call fcn.180021300
mov ebx, 0xffffffff
lea rcx, [rsp + 0x48]
call fcn.180004820
mov eax, ebx
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1800eccc0
mov rbx, qword [rsp + 0x390]
add rsp, 0x370
pop rdi
pop rsi
pop rbp
ret