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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, 1
cmp edx, r14d
jne 0x18000671a
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
or rbp, 0xffffffffffffffff
lea rdi, str.http:__www.jzu.pw_
mov rcx, rbp
lea rdx, str.http:__www.jzu.pw_
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [0x18002ab18]
call fcn.180003f60
xor eax, eax
lea rdi, str.http:__www.jz8v.cc_
mov rcx, rbp
lea rdx, str.http:__www.jz8v.cc_
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [0x18002ab20]
call fcn.180003f60
xor eax, eax
lea rdi, str.http:__www.s4h.xyz_
mov rcx, rbp
lea rdx, str.http:__www.s4h.xyz_
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [0x18002ab28]
call fcn.180003f60
mov rax, qword [0x180028fa8]
lea rcx, [0x180028fa8]
call qword [rax + 0x18]
lea rcx, [0x180028fa8]
lea rsi, [rax + 0x18]
mov rax, qword [0x180028fa8]
mov qword [rsp + 0x30], rsi
call qword [rax + 0x18]
lea r15, [0x18002a800]
lea rbx, [rax + 0x18]
mov edx, 0x104
mov rcx, r15
mov qword [rsp + 0xa8], rbx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov rdi, r15
mov rcx, rbp
repne scasw ax, word [rdi]
mov rax, qword [str.Bcfg.cfg]
mov ecx, r14d
mov qword [rdi - 2], rax
mov rax, qword [0x1800200a0]
mov qword [rdi + 6], rax
mov eax, dword [0x1800200a8]
mov dword [rdi + 0xe], eax
mov eax, dword [rsi - 0xc]
sub ecx, dword [rsi - 8]
sub eax, 0x1000
or ecx, eax
jge 0x1800063c4
lea rcx, [rsp + 0x30]
mov edx, 0x1000
call fcn.180002080
mov rsi, qword [rsp + 0x30]
lea r8, [0x180020090]
lea rdx, [0x180020088]
lea rcx, [0x180020080]
mov r9, rsi
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor r12d, r12d
cmp eax, 4
jbe 0x180006694
movsxd rdx, dword [rsi - 0xc]
mov rcx, rsi
mov dword [rsp + 0x98], r12d
call fcn.18000bf1c
test eax, eax
js 0x180006743
cmp eax, dword [rsi - 0xc]
jg 0x180006743
mov dword [rsi - 0x10], eax
cdqe
lea r9, [rsp + 0x98]
lea r8, [0x18002007c]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov word [rsi + rax*2], r12w
call fcn.180006120
add rbx, 0xffffffffffffffe8
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
cmp rcx, rbx
je 0x1800064a6
cmp dword [rbx + 0x10], r12d
jl 0x180006495
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x180006495
call fcn.1800020e0
mov ecx, ebp
mov rdi, rax
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x180006487
mov rcx, qword [rbx]
mov rdx, rbx
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rdi + 0x18]
mov qword [rsp + 0xa8], rax
jmp 0x1800064a6
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0xa8]
call fcn.180003f60
mov rdx, qword [rsp + 0x38]
mov eax, ebp
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1800064c5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0xa8]
cmp dword [rbx - 0x10], r12d
je 0x180006694
nop word [rax + rax]
mov rsi, qword [0x180028f98]
mov r13, qword [0x180028f80]
test rsi, rsi
jne 0x180006596
mov ecx, dword [0x180028fa0]
test rcx, rcx
jne 0x180006507
mov rcx, r12
jmp 0x180006521
xor edx, edx
mov rax, rbp
div rcx
cmp rax, 0x18
jb 0x180006738
lea rcx, [rcx + rcx*2]
shl rcx, 3
mov rax, rbp
sub rax, rcx
cmp rax, 8
jb 0x180006738
add rcx, 8
call fcn.18000b9c0
mov rdi, rax
test rax, rax
je 0x180006738
mov rcx, qword [0x180028f90]
mov qword [rax], rcx
mov rsi, qword [0x180028f98]
mov qword [0x180028f90], rax
mov eax, dword [0x180028fa0]
lea ecx, [rax - 1]
dec eax
lea rcx, [rcx + rcx*2]
lea rdx, [rdi + rcx*8 + 8]
js 0x180006596
nop word [rax + rax]
mov qword [rdx], rsi
mov rsi, rdx
mov qword [0x180028f98], rdx
sub rdx, 0x18
sub eax, r14d
jns 0x180006580
mov rdi, qword [rsi]
lea rcx, [rsi + 0x10]
mov rdx, rbx
call fcn.180006070
mov qword [0x180028f98], rdi
mov qword [rsi + 8], r13
mov qword [rsi], r12
mov rax, qword [0x180028f80]
inc qword [0x180028f88]
test rax, rax
je 0x1800065cb
mov qword [rax], rsi
jmp 0x1800065d2
mov qword [0x180028f78], rsi
cmp dword [rsp + 0x98], r12d
mov qword [0x180028f80], rsi
jl 0x180006694
lea r9, [rsp + 0x98]
lea r8, [0x18002007c]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.180006120
add rbx, 0xffffffffffffffe8
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
cmp rcx, rbx
je 0x180006663
cmp dword [rbx + 0x10], r12d
jl 0x180006652
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x180006652
call fcn.1800020e0
mov ecx, ebp
mov rdi, rax
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x180006644
mov rcx, qword [rbx]
mov rdx, rbx
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rdi + 0x18]
mov qword [rsp + 0xa8], rax
jmp 0x180006663
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0xa8]
call fcn.180003f60
mov rdx, qword [rsp + 0x40]
mov eax, ebp
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180006682
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0xa8]
cmp dword [rbx - 0x10], r12d
jne 0x1800064e0
lea rdx, str.JBCM
lea rcx, [0x180020080]
mov r9, r15
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.JBCJ
lea rcx, [0x180020080]
mov r9, r15
mov r8d, r14d
mov dword [0x18002aa0c], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, [rbx - 0x18]
test eax, eax
cmove eax, r14d
mov dword [0x18002aa10], eax
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1800066f4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebp
dec ebp
test ebp, ebp
jg 0x180006711
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp byte [0x18002aa68], r12b
jne 0x18000671d
mov r12d, r14d
mov eax, r12d
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.180001000
int3
mov ecx, 0x80070057
call fcn.180001000
int3