Function at 0x1400308c8
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14012bd38]
xor rax, rsp
mov qword [rbp + 0x160], rax
movsxd rbx, edx
mov rsi, rcx
call fcn.140077d4c
mov rcx, rax
test rax, rax
je 0x1400310a2
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea r15, [rsi + 0x580]
lea r8, str.Exchange.ini
mov rdx, r15
lea rcx, [rsp + 0x38]
call fcn.140005b68
nop
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0x60]
lea r8, [0x1400e4858]
lea rdx, str.DetectedDisk
lea rcx, str.EXCHANGE
call fcn.14004bca0
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140030985
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0x60]
call fcn.1400bbc18
lea ecx, [rax - 1]
xor edx, edx
cmp ecx, 0x4f
cmovbe edx, eax
mov dword [rsi + 0xd24], edx
lea rdi, [rsi + 0xbe4]
mov rax, rdi
mov ecx, 0x50
and dword [rax - 0x650], 0
and dword [rax], 0
lea rax, [rax + 4]
sub rcx, 1
jne 0x1400309af
mov eax, dword [rsi + 0xd24]
test ebx, ebx
js 0x1400309de
cmp ebx, eax
jge 0x1400309de
mov dword [rsi + rbx*4 + 0xbe4], 1
jmp 0x140030a2c
xor ebx, ebx
test eax, eax
jle 0x140030a2c
mov r8d, ebx
lea rdx, str.Disk_d
lea rcx, [rsp + 0x30]
call fcn.140002f84
lea r9, [rsi + 0x2cc]
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
lea rcx, str.GraphHideDisk
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x140030a1e
mov dword [rdi], 1
inc ebx
add rdi, 4
cmp ebx, dword [rsi + 0xd24]
jl 0x1400309e4
xor edi, edi
cmp dword [rsi + 0xd24], edi
jle 0x140030c30
mov r8d, edi
lea rdx, [0x1400e1360]
lea rcx, [rsp + 0x30]
call fcn.140002f84
lea r8, str.Exchange.ini
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.140005b68
nop
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0x60]
lea r8, [0x1400e02c0]
mov rdx, qword [rsp + 0x30]
lea rcx, str.MODEL
call fcn.14004bca0
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140030ab0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movsxd r14, edi
lea rbx, [rsi + 0xd30]
lea rbx, [rbx + r14*8]
lea rcx, [rsp + 0x60]
call fcn.1400b6ca8
mov r8d, eax
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140002188
lea rbx, [rsi + r14*8]
lea rcx, [rsp + 0x60]
call fcn.1400b6ca8
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rbx + 0xfb0]
call fcn.140002188
lea r8, [0x1400ebacc]
lea rdx, [0x1400ebad4]
lea rcx, [rbx + 0xfb0]
call fcn.14000acb0
lea r8, str.Exchange.ini
mov rdx, r15
lea rcx, [rsp + 0x48]
call fcn.140005b68
nop
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0x60]
lea r8, [0x1400e02c0]
mov rdx, qword [rsp + 0x30]
lea rcx, str.SERIAL
call fcn.14004bca0
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140030b76
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rbx, [rsi + 0x1230]
lea rbx, [rbx + r14*8]
lea rcx, [rsp + 0x60]
call fcn.1400b6ca8
mov r8d, eax
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140002188
lea r8, str.Exchange.ini
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.140005b68
nop
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0x60]
lea r8, [0x1400e02c0]
mov rdx, qword [rsp + 0x30]
lea rcx, str.DRIVE
call fcn.14004bca0
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140030bfd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rbx, [rsi + 0x14b0]
lea rbx, [rbx + r14*8]
lea rcx, [rsp + 0x60]
call fcn.1400b6ca8
mov r8d, eax
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140002188
inc edi
cmp edi, dword [rsi + 0xd24]
jl 0x140030a3a
lea r14, [rsi + 0x2cc]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0x60]
lea rdi, [0x1400ea758]
mov r8, rdi
lea rdx, [0x1400ebad8]
lea r15, str.Setting
mov rcx, r15
call fcn.14004bca0
lea rcx, [rsp + 0x60]
call fcn.1400b6ca8
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140002188
lea rdx, [0x1400ebaf8]
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1400b7028
test eax, eax
je 0x140030cd7
lea rdx, [0x1400ebb00]
mov rcx, rbx
call fcn.1400b7028
test eax, eax
je 0x140030cd7
mov rdx, rdi
mov rcx, rbx
call fcn.1400b7028
test eax, eax
je 0x140030cd7
lea rdx, [0x1400ebb08]
mov rcx, rbx
call fcn.1400b7028
test eax, eax
je 0x140030cd7
mov rcx, rdi
jmp 0x140030ce1
lea rdi, [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.1400b6ca8
mov r8, rax
lea rcx, [rsi + 0x1750]
mov rdx, rdi
call fcn.140002188
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0x60]
lea r8, str.mdhm
lea rdx, str.TimeFormat
mov rcx, r15
call fcn.14004bca0
lea rcx, [rsp + 0x60]
call fcn.1400b6ca8
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140002188
lea rdi, str._m__d__H:_M
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1400b7028
test eax, eax
je 0x140030de5
lea rdx, str._m__d
mov rcx, rbx
call fcn.1400b7028
test eax, eax
je 0x140030de5
lea rdx, str._y__m__d__H:_M
mov rcx, rbx
call fcn.1400b7028
test eax, eax
je 0x140030de5
lea rdx, str._y__m__d
mov rcx, rbx
call fcn.1400b7028
test eax, eax
je 0x140030de5
lea rdx, str._d__m__y
mov rcx, rbx
call fcn.1400b7028
test eax, eax
je 0x140030de5
lea rdx, str._d__m__y__H:_M
mov rcx, rbx
call fcn.1400b7028
test eax, eax
je 0x140030de5
lea rdx, str._d._m._y
mov rcx, rbx
call fcn.1400b7028
test eax, eax
je 0x140030de5
lea rdx, str._d._m._y__H:_M
mov rcx, rbx
call fcn.1400b7028
test eax, eax
je 0x140030de5
mov rcx, rdi
jmp 0x140030def
lea rdi, [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.1400b6ca8
mov r8, rax
lea rcx, [rsi + 0x1758]
mov rdx, rdi
call fcn.140002188
mov qword [rsp + 0x28], r14
mov edi, 0x100
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x60]
lea r8, [0x1400e2688]
lea rdx, str.PaintWeekend
mov rcx, r15
call fcn.14004bca0
lea rcx, [rsp + 0x60]
call fcn.1400bbc18
xor ecx, ecx
test eax, eax
setg cl
mov dword [rsi + 0x1820], ecx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x60]
lea r8, [0x1400ebc28]
lea rdx, str.MaxPlotPoint
mov rcx, r15
call fcn.14004bca0
lea rcx, [rsp + 0x60]
call fcn.1400bbc18
test eax, eax
jle 0x140030e84
lea rcx, [rsp + 0x60]
call fcn.1400bbc18
jmp 0x140030e86
xor eax, eax
mov dword [rsi + 0x1824], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x60]
lea r8, [0x1400e2688]
lea rdx, [0x1400ebc50]
mov rcx, r15
call fcn.14004bca0
lea rcx, [rsp + 0x60]
call fcn.1400bbc18
test eax, eax
jle 0x140030eca
lea rcx, [rsp + 0x60]
call fcn.1400bbc18
jmp 0x140030ecc
xor eax, eax
mov dword [rsi + 0x1828], eax
lea rdi, [rsi + 0x818]
xor edx, edx
mov r8d, 0x144
mov rcx, rdi
call fcn.1400b15e0
mov dword [rdi], 0xff9797
mov dword [rsi + 0x81c], 0x40c2ed
mov dword [rsi + 0x820], 0x4b4bcb
mov dword [rsi + 0x824], 0xc6ac8c
mov dword [rsi + 0x828], 0x4da74d
mov dword [rsi + 0x82c], 0xaa1c4a
mov dword [rsi + 0x830], 0x1191bb
mov dword [rsi + 0x834], 0x47189e
mov dword [rsi + 0x838], 0xc17453
mov dword [rsi + 0x83c], 0x1a7612
mov dword [rsi + 0x840], 0xff6c35
mov dword [rsi + 0x844], 0x24676f
mov dword [rsi + 0x848], 0xb29a4
mov dword [rsi + 0x84c], 0xd2958c
mov dword [rsi + 0x850], 0x575700
mov dword [rsi + 0x854], 0x808080
mov dword [rsi + 0x858], 0x787878
mov dword [rsi + 0x85c], 0x707070
mov dword [rsi + 0x860], 0x686868
mov dword [rsi + 0x864], 0x606060
mov dword [rsi + 0x868], 0x585858
mov dword [rsi + 0x86c], 0x505050
mov dword [rsi + 0x870], 0x484848
mov dword [rsi + 0x874], 0x404040
mov dword [rsi + 0x878], 0x383838
mov dword [rsi + 0x87c], 0x303030
mov dword [rsi + 0x880], 0x282828
mov dword [rsi + 0x884], 0x202020
mov dword [rsi + 0x888], 0x181818
mov dword [rsi + 0x88c], 0x101010
mov dword [rsi + 0x890], 0x80808
mov dword [rsi + 0x958], 0x4a24ff
mov r9, r14
xor r8d, r8d
lea rdx, [0x1400e75c0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
je 0x140031044
xor eax, eax
jmp 0x140031049
mov eax, 1
mov dword [rsi + 0x181c], eax
mov dword [rsi + 0x56c], 1
mov rcx, rsi
call fcn.140032f08
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003107c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400b0010
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001860
int3