Function at 0x1801506d0
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x808]
sub rsp, 0x908
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rbp + 0x7f0], rax
mov rdi, r9
mov r13d, r8d
mov rbx, rdx
mov r14, rcx
xor esi, esi
mov r15d, esi
mov word [rbp + 0x5e0], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x5e2]
call fcn.1800be330
cmp qword [rdi + 0x18], 8
jb 0x18014fecc
mov rdi, qword [rdi]
lea r9, str.Config.ini
mov r8, rdi
lea rdx, [0x1801eb788]
lea rcx, [rbp + 0x5e0]
call fcn.1800b5a54
lea r9, [rbp + 0x5e0]
xor r8d, r8d
lea rdx, str.UserID
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x60], eax
xor edx, edx
mov r8d, 0x190
lea rcx, [r14 + 0x28]
call fcn.1800be330
mov qword [rbp - 0x68], 0xf
mov qword [rbp - 0x70], rsi
mov byte [rbp - 0x80], sil
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x60]
call fcn.18000fc80
mov rdi, rax
lea rax, [rbp - 0x80]
cmp rax, rdi
je 0x18014ff71
cmp qword [rbp - 0x68], 0x10
jb 0x18014ff55
mov rcx, qword [rbp - 0x80]
call fcn.1800b5354
mov qword [rbp - 0x68], 0xf
mov qword [rbp - 0x70], rsi
mov byte [rbp - 0x80], 0
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.180014640
cmp qword [rbp - 0x48], 0x10
jb 0x18014ff81
mov rcx, qword [rbp - 0x60]
call fcn.1800b5354
xor eax, eax
cmp qword [rbp - 0x70], rax
setne al
test eax, eax
sete al
test al, al
je 0x18014ffb8
lea rdx, [rbx + 0x80]
lea rcx, [rbp - 0x60]
call fcn.18000fc80
cmp qword [rbp - 0x48], 0x10
jb 0x18014ffb3
mov rcx, qword [rbp - 0x60]
call fcn.1800b5354
mov esi, 1
mov edx, dword [rbx + 8]
lea eax, [rdx - 1]
cmp eax, 0x2a
ja case.0x18014ffe4.9
cdqe
lea r8, [0x180000000]
movzx eax, byte [r8 + rax + 0x1504f4]
mov ecx, dword [r8 + rax*4 + 0x1504e0]
add rcx, r8
jmp rcx
mov eax, dword [rbx + 0xc]
test eax, eax
jle case.0x18014ffe4.25
cmp eax, 3
jle 0x180150062
add eax, 0xfffffffa
cmp eax, 1
ja case.0x18014ffe4.25
lea rdx, [rbx + 0x80]
lea rcx, [rbp - 0x60]
call fcn.18000fc80
mov rdi, rax
lea rax, [rbp - 0x80]
cmp rax, rdi
je 0x18015004e
cmp qword [rbp - 0x68], 0x10
jb 0x18015002e
mov rcx, qword [rbp - 0x80]
call fcn.1800b5354
mov qword [rbp - 0x68], 0xf
mov qword [rbp - 0x70], 0
mov byte [rbp - 0x80], 0
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.180014640
cmp qword [rbp - 0x48], 0x10
jb case.0x18014ffe4.25
mov rcx, qword [rbp - 0x60]
jmp 0x180150128
lea rdx, [rbx + 0x80]
lea rcx, [rbp - 0x20]
call fcn.18000fc80
mov rdi, rax
lea rax, [rbp - 0x80]
cmp rax, rdi
je 0x1801500ae
cmp qword [rbp - 0x68], 0x10
jb 0x18015008e
mov rcx, qword [rbp - 0x80]
call fcn.1800b5354
mov qword [rbp - 0x68], 0xf
mov qword [rbp - 0x70], 0
mov byte [rbp - 0x80], 0
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.180014640
cmp qword [rbp - 8], 0x10
jb case.0x18014ffe4.25
mov rcx, qword [rbp - 0x20]
jmp 0x180150128
cmp edx, 0x2a
jne 0x1801500c6
lea r15d, [rdx - 0x29]
jmp case.0x18014ffe4.25
cmp edx, 0x2b
jne case.0x18014ffe4.25
lea r15d, [rdx - 0x29]
jmp case.0x18014ffe4.25
lea rdx, [rbx + 0x80]
lea rcx, [rbp + 0x20]
call fcn.18000fc80
mov rdi, rax
lea rax, [rbp - 0x80]
cmp rax, rdi
je 0x18015011d
cmp qword [rbp - 0x68], 0x10
jb 0x1801500fd
mov rcx, qword [rbp - 0x80]
call fcn.1800b5354
mov qword [rbp - 0x68], 0xf
mov qword [rbp - 0x70], 0
mov byte [rbp - 0x80], 0
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.180014640
cmp qword [rbp + 0x38], 0x10
jb case.0x18014ffe4.25
mov rcx, qword [rbp + 0x20]
call fcn.1800b5354
lea rcx, [rsp + 0x70]
call fcn.1800ba5a4
mov qword [rbp + 0x98], 0xf
xor eax, eax
mov qword [rbp + 0x90], rax
mov byte [rbp + 0x80], al
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], rax
mov byte [rbp + 0x60], al
mov qword [rbp + 0x58], 0xf
mov qword [rbp + 0x50], rax
mov byte [rbp + 0x40], al
mov byte [rbp + 0x1b0], al
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x1b1]
call fcn.1800be330
lea rcx, [rbx + 0x60]
cmp qword [rcx + 0x18], 8
jb 0x180150197
mov rcx, qword [rcx]
lea rdx, [rbp + 0x1b0]
call fcn.18000daa0
cmp dword [r14 + 0x1e8], 0x13
jne case.0x18014ffe4.9
xor ebx, ebx
mov word [rbp + 0x3d0], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x3d2]
call fcn.1800be330
mov byte [rbp + 0x2c0], bl
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x2c1]
call fcn.1800be330
mov byte [rbp + 0xa0], bl
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0xa1]
call fcn.1800be330
mov rax, qword [0x180277e98]
test rax, rax
jne 0x180150236
mov ecx, 0x158
call fcn.1800b543c
mov qword [rsp + 0x68], rax
test rax, rax
je 0x18015022c
mov rcx, rax
call fcn.180103fb0
jmp 0x18015022f
mov rax, rbx
mov qword [0x180277e98], rax
mov r8d, 0x104
lea rdx, [rbp + 0x3d0]
mov rcx, rax
call fcn.180106d90
lea rcx, [rbp + 0x3d0]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x180150256
cmp eax, 0x32
jg case.0x18014ffe4.9
cmp eax, 2
jle 0x1801502be
mov ecx, ebx
lea edx, [rax - 3]
test edx, edx
jle 0x1801502be
lea rax, [rbp + 0x3d4]
nop
cmp word [rax - 4], 0x20
jne 0x180150294
cmp word [rax - 2], 0x2d
jne 0x180150294
cmp word [rax], 0x20
je 0x1801502a0
inc ecx
add rax, 2
cmp ecx, edx
jge 0x1801502be
jmp 0x180150280
movsxd rax, ecx
add rax, rax
cmp rax, 0x208
jae 0x1801502b8
mov word [rbp + rax + 0x3d0], bx
jmp 0x1801502be
call fcn.1800ba0d8
int3
mov rax, qword [0x180277e98]
test rax, rax
jne 0x1801502f2
mov ecx, 0x158
call fcn.1800b543c
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1801502e8
mov rcx, rax
call fcn.180103fb0
jmp 0x1801502eb
mov rax, rbx
mov qword [0x180277e98], rax
lea rdx, [rbp + 0x20]
mov rcx, rax
call fcn.180106d50
nop
cmp qword [rax + 0x18], 8
jb 0x180150309
mov rax, qword [rax]
lea rdx, [rbp + 0xa0]
mov rcx, rax
call fcn.18000daa0
nop
cmp qword [rbp + 0x38], 8
jb 0x180150329
mov rcx, qword [rbp + 0x20]
call fcn.1800b5354
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], rbx
mov word [rbp + 0x20], bx
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp + 0x3d0]
call fcn.18000daa0
mov qword [rbp - 0x48], 0xf
mov qword [rbp - 0x50], rbx
mov byte [rbp - 0x60], 0
mov qword [rbp - 0x28], 0xf
mov qword [rbp - 0x30], rbx
mov byte [rbp - 0x40], 0
mov qword [rbp + 0x18], 0xf
mov qword [rbp + 0x10], rbx
mov byte [rbp], 0
lea rdx, [rbp - 0x80]
test esi, esi
je 0x180150396
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x40]
call fcn.18000c150
jmp 0x1801503d5
lea rcx, [rbp - 0x20]
call fcn.18000fb80
nop
lea r9, [rbp]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.1800ecb50
nop
cmp qword [rbp - 8], 8
jb 0x1801503c5
mov rcx, qword [rbp - 0x20]
call fcn.1800b5354
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], rbx
mov word [rbp - 0x20], bx
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rax, qword [rbp - 0x40]
lea r8, [r14 + 0x1c8]
cmp qword [r8 + 0x18], 0x10
jb 0x1801503f4
mov r8, qword [r8]
lea rcx, [rbp + 0x2c0]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0xa0]
mov qword [rsp + 0x48], rcx
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r13d
lea rcx, [rbp + 0x1b0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x70]
lea rdx, str.insert_into__s_values__NULL___lld___s___s___d___d___d___s___s_
lea rcx, [r14 + 0x28]
call fcn.1800ba424
mov rcx, qword [r14 + 0x1b8]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [r14 + 0x28]
call qword [rax + 0x40]
nop
cmp qword [rbp + 0x18], 0x10
jb 0x180150469
mov rcx, qword [rbp]
call fcn.1800b5354
mov qword [rbp + 0x18], 0xf
mov qword [rbp + 0x10], rbx
mov byte [rbp], 0
cmp qword [rbp - 0x28], 0x10
jb 0x180150489
mov rcx, qword [rbp - 0x40]
call fcn.1800b5354
mov qword [rbp - 0x28], 0xf
mov qword [rbp - 0x30], rbx
mov byte [rbp - 0x40], 0
cmp qword [rbp - 0x48], 0x10
jb case.0x18014ffe4.9
mov rcx, qword [rbp - 0x60]
call fcn.1800b5354
nop
cmp qword [rbp - 0x68], 0x10
jb 0x1801504ba
mov rcx, qword [rbp - 0x80]
call fcn.1800b5354
mov rcx, qword [rbp + 0x7f0]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x908
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea r9, [rcx + 0x210]
jmp 0x18014fe60