Function at 0x140009930
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x110
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14009d080]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], r12b
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
movdqa xmm0, xmmword [0x140088680]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], r12b
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], r12b
lea r8d, [r12 + 8]
lea rdx, str.error737
lea rcx, [rsp + 0x68]
call fcn.1400013b0
nop
lea rcx, [rbp - 0x40]
call fcn.140002770
mov rbx, rax
mov dword [rsp + 0x40], 2
lea r8d, [r12 + 9]
lea rdx, str.setup.ini
lea rcx, [rbp - 0x40]
call fcn.140001500
cmp qword [rbx + 0x18], 0x10
jb 0x1400099f3
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.140001840
test al, al
sete bl
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140009a3f
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009a3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009d6c
call fcn.14002d510
test bl, bl
je 0x140009afd
call fcn.1400087f0
mov qword [rsp + 0x50], r12
lea rcx, str.Can_not_open_setup.ini
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0x16
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x58], r12
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rbp - 0x40], xmm0
movsd xmm1, qword [rsp + 0x58]
movsd qword [rbp - 0x30], xmm1
lea r9, [rsp + 0x30]
mov r8d, 1
lea rdx, [rbp - 0x40]
mov rcx, qword [rax + 0x1d8]
call fcn.140005930
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140009d19
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009d14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009d66
jmp 0x140009d14
lea rsi, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rsi, qword [rsp + 0x68]
mov rcx, qword [rbp - 0x58]
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rax, qword [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp - 0x50]
mov dword [rsp + 0x20], eax
mov r9, rcx
mov r8, rsi
lea rdx, str.ServiceName
lea rcx, str.Common
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, eax
inc rax
mov rbx, qword [rbp - 0x50]
cmp rax, rbx
jb 0x140009b74
add rbx, rbx
mov qword [rbp - 0x50], rbx
mov rcx, qword [rbp - 0x58]
call fcn.14002d510
mov rcx, rbx
call fcn.14002d7b4
mov rcx, rax
mov qword [rbp - 0x58], rax
jmp 0x140009b11
mov rdx, qword [rbp - 0x58]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140009b80
lea rcx, [rbp - 0x20]
call fcn.1400013b0
lea rdx, [rsp + 0x68]
mov rbx, qword [rsp + 0x68]
mov r14, qword [rbp - 0x80]
cmp r14, 0x10
cmovae rdx, rbx
lea rcx, [rbp - 0x20]
mov rsi, qword [rbp - 0x20]
mov r15, qword [rbp - 8]
cmp r15, 0x10
cmovae rcx, rsi
mov r8, qword [rbp - 0x10]
cmp r8, qword [rsp + 0x78]
jne 0x140009cd7
call fcn.14004c590
test eax, eax
jne 0x140009cd7
call fcn.1400087f0
mov qword [rsp + 0x50], r12
lea rcx, str.Can_not_read_service_name_from_setup.ini
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0x28
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x58], r12
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rbp - 0x40], xmm0
movsd xmm1, qword [rsp + 0x58]
movsd qword [rbp - 0x30], xmm1
lea r9, [rsp + 0x30]
mov r8d, 1
lea rdx, [rbp - 0x40]
mov rcx, qword [rax + 0x1d8]
call fcn.140005930
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140009c87
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009c82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009d72
call fcn.14002d510
movdqa xmm0, xmmword [0x140088680]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
cmp r15, 0x10
jb 0x140009d2c
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140009ccd
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009d78
mov rcx, rsi
call fcn.14002d510
jmp 0x140009d2c
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rdi + 0x10], xmm1
cmp r14, 0x10
jb 0x140009d19
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140009d11
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009d60
mov rcx, rbx
call fcn.14002d510
movdqa xmm0, xmmword [0x140088680]
mov byte [rsp + 0x68], 0
movdqu xmmword [rsp + 0x78], xmm0
lea rcx, [rbp - 0x78]
call fcn.140001790
mov rax, rdi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14002d4b0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14004ecdc
nop
call fcn.14004ecdc
nop
call fcn.14004ecdc
nop
call fcn.14004ecdc
nop
call fcn.14004ecdc
int3