Function at 0x180003950
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x18003b080]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r13, rcx
lea rdx, [rcx + 0x70]
cmp qword [rdx + 0x18], 8
jb 0x1800039a1
mov rdx, qword [rdx]
or r12, 0xffffffffffffffff
xor esi, esi
cmp word [rdx], si
jne 0x1800039b1
mov r8d, esi
jmp 0x1800039be
mov r8, r12
inc r8
cmp word [rdx + r8*2], si
jne 0x1800039b4
lea r14, [rcx + 0xb0]
mov rcx, r14
call fcn.1800017f0
mov r8d, 0xe
lea rdx, str.BarleyShop.ini
mov rcx, r14
call fcn.1800042f0
lea rax, str.gwzsgf
mov qword [rsp + 0x20], rax
lea r9, [0x180026888]
lea r8, str.GZZSInfo
lea rdx, [rsp + 0x58]
mov rcx, r13
call fcn.180002060
nop
lea rbx, [r13 + 0xd0]
lea rax, [rsp + 0x58]
cmp rbx, rax
je 0x180003a2e
mov r9, r12
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.1800016b0
cmp qword [rbx + 0x18], 8
jb 0x180003a3a
mov rcx, qword [rbx]
jmp 0x180003a3d
mov rcx, rbx
mov r9, qword [rbx + 0x10]
mov edi, 6
mov r8d, edi
cmp r9, rdi
cmovb r8, r9
lea r15d, [rdi - 5]
test r8, r8
je 0x180003a83
lea rdx, str.gwzsgf
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x180003a77
add rcx, 2
add rdx, 2
sub r8, r15
jne 0x180003a60
jmp 0x180003a83
mov r8d, r15d
cmp word [rcx], ax
cmovb r8d, r12d
jmp 0x180003a86
mov r8d, esi
test r8d, r8d
jne 0x180003b09
cmp r9, rdi
jb 0x180003b09
ja 0x180003b09
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.18000f7e0
cmp qword [r14 + 0x18], 8
jb 0x180003aad
mov r14, qword [r14]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x104
lea r9, [rbp - 0x80]
lea r14, str.gwzsgf
mov r8, r14
lea rdx, [0x180026888]
lea rcx, str.GZZSInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rbp - 0x80], 0
jne 0x180003ae8
mov r8, rsi
jmp 0x180003afb
lea rax, [rbp - 0x80]
mov r8, r12
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x180003af0
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.1800017f0
jmp 0x180003b10
lea r14, str.gwzsgf
mov rcx, rbx
lea r9, [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x180003b21
mov rcx, qword [rbx]
mov r9, qword [r9]
mov r8, rdi
cmp r9, rdi
cmovb r8, r9
test r8, r8
je 0x180003b59
mov rdx, r14
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x180003b4d
add rcx, 2
add rdx, 2
sub r8, r15
jne 0x180003b36
jmp 0x180003b59
mov r8d, r15d
cmp word [rcx], ax
cmovb r8d, r12d
jmp 0x180003b5c
mov r8d, esi
test r8d, r8d
jne 0x180003c45
cmp r9, rdi
jb 0x180003c45
ja 0x180003c45
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.18000f7e0
lea rdx, [r13 + 0x50]
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rsi
mov word [rsp + 0x38], si
mov r9, r12
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.1800016b0
nop
mov r8d, 0xe
lea rdx, str.BarleyShop.ini
lea rcx, [rsp + 0x38]
call fcn.1800042f0
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp - 0x80]
mov r8, r14
lea rdx, [0x180026888]
lea rcx, str.GZZSInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rbp - 0x80], 0
jne 0x180003c09
mov r8, rsi
jmp 0x180003c1b
lea rax, [rbp - 0x80]
mov r8, r12
inc r8
cmp word [rax + r8*2], 0
jne 0x180003c10
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.1800017f0
nop
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x180003c45
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.180001940
mov rcx, rbx
lea r8, [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x180003c56
mov rcx, qword [rbx]
mov r8, qword [r8]
cmp r8, 6
cmovb rdi, r8
test rdi, rdi
je 0x180003c8f
mov rdx, r14
nop dword [rax]
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x180003c88
add rcx, 2
add rdx, 2
sub rdi, 1
jne 0x180003c70
jmp 0x180003c8f
cmovb r15d, r12d
mov esi, r15d
test esi, esi
jne 0x180003ce2
cmp r8, 6
jne 0x180003ce2
mov qword [rsp + 0x20], r14
lea r9, [0x180026888]
lea r8, str.GZZSInfo
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.1800022d0
mov rdx, rax
mov rcx, rbx
call fcn.1800012e0
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x180003ce2
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.180001940
nop
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x180003cff
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.180001940
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.18000dae0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret