Function at 0x1400b4ea0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r12
mov eax, 0x30030
call fcn.1400e0af0
sub rsp, rax
mov rdi, r9
mov rsi, r8
mov rbx, rdx
test r9, r9
je 0x1400b4ecb
cmp word [r9], 0
jne 0x1400b4ed2
lea rdi, str.ERROR
xor r12d, r12d
lea r9, [rsp + 0x30068]
lea r8, [rsp + 0x30]
mov edx, 0x8000
mov word [rsp + 0x10030], r12w
mov word [rsp + 0x30060], r12w
call qword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
cmp word [rsi], r12w
je 0x1400b4f70
cmp word [rbx], r12w
lea rax, [rsp + 0x30]
lea rcx, [rsp + 0x30060]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x10030]
mov r8, rdi
cmovne rcx, rbx
mov rdx, rsi
mov dword [rsp + 0x20], 0xffff
call qword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
mov rbx, qword [0x14012a950]
movzx edx, byte [rbx + 0x23]
test dl, dl
jne 0x1400b4fda
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x10030]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400bd650
jmp 0x1400b5256
cmp word [rbx], r12w
je 0x1400b4f94
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x10030]
mov r8d, 0xffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetPrivateProfileSectionW]
jmp 0x1400b4fac
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x10030]
mov edx, 0xffff
call qword [sym.imp.KERNEL32.DLL_GetPrivateProfileSectionNamesW]
test eax, eax
je 0x1400b4f3b
lea rax, [rsp + 0x10030]
mov ecx, 0xa
nop dword [rax]
cmp word [rax], r12w
jne 0x1400b4fd4
cmp word [rax + 2], r12w
je 0x1400b4f3b
mov word [rax], cx
add rax, 2
jmp 0x1400b4fc0
lea rax, [rsp + 0x10030]
mov qword [rsp + 0x30050], rbp
cmp qword [rbx + 8], rax
jne 0x1400b4ff9
mov rbp, qword [rbx + 0x10]
shr rbp, 1
jmp 0x1400b5011
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x10030]
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea rbp, [rcx - 1]
lea rax, [rbp + 1]
lea rsi, [rax + rax]
cmp dl, 2
jne 0x1400b5033
lea rcx, [rsp + 0x10030]
mov rdx, rbp
call fcn.140006d20
jmp 0x1400b524e
mov rcx, qword [0x1401255a0]
cmp rsi, rcx
jbe 0x1400b5064
cmp rsi, qword [rbx + 0x18]
jbe 0x1400b5064
lea r8, [0x1400f1514]
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rcx, [0x14012c5c0]
call fcn.14004e5e0
jmp 0x1400b524e
cmp rax, 2
jae 0x1400b507e
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 4]
call fcn.1400bdd00
jmp 0x1400b5249
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x1400b509b
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [0x1401255a0]
mov r8, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rsi, r8
jbe 0x1400b5214
movzx r9d, byte [rbx + 0x20]
movzx eax, r9b
cmp r9b, 1
jbe 0x1400b50d4
cmp al, 2
je 0x1400b5115
mov rdi, qword [rsp + 0x30060]
mov rax, qword [rsp + 0x30060]
jmp 0x1400b5208
mov edi, 0x80
cmp rsi, rdi
ja 0x1400b5115
cmp rsi, 8
ja 0x1400b50eb
mov edi, 8
jmp 0x1400b50f7
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp rsi, rcx
cmovbe rdi, rcx
mov rcx, rdi
call fcn.1400b60b0
test rax, rax
jne 0x1400b510c
mov eax, r12d
jmp 0x1400b524e
mov byte [rbx + 0x20], 1
jmp 0x1400b5208
cmp rsi, 0x20
jae 0x1400b5125
mov edi, SafeArrayAllocDescriptor
jmp 0x1400b51cf
mov edi, 0x208
cmp rsi, rdi
jb 0x1400b51cf
cmp rsi, 0x50000
jae 0x1400b518b
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x1400b5152
addsd xmm0, qword [0x140112038]
mulsd xmm0, qword [0x140112070]
movsd xmm1, qword [0x140112068]
xor eax, eax
comisd xmm0, xmm1
jbe 0x1400b5181
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400b5181
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rdi, xmm0
add rdi, rax
jmp 0x1400b51cf
cmp rsi, 0x320000
jae 0x1400b519d
lea rdi, [rsi + 0x8000]
jmp 0x1400b51cf
cmp rsi, 0xc80000
jae 0x1400b51c8
movabs rax, 0x47ae147ae147ae15
mov rdi, rsi
mul rsi
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rsi
jmp 0x1400b51cf
lea rdi, [rsi + 0x20000]
cmp rdi, rcx
cmova rdi, rcx
cmp r9b, 2
jne 0x1400b51ef
test r8, r8
je 0x1400b51ef
mov rcx, qword [rbx + 8]
mov sil, 1
call fcn.1400d6fd8
jmp 0x1400b51f2
xor sil, sil
test rdi, rdi
js 0x1400b526a
mov rcx, rdi
call fcn.1400d6f18
test rax, rax
je 0x1400b526a
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x10030]
cmp rcx, rax
je 0x1400b5237
lea r8, [rbp + rbp]
lea rdx, [rsp + 0x10030]
call fcn.1400d7a40
mov rax, qword [rbx + 8]
lea rcx, [rbp + rbp]
mov word [rcx + rax], r12w
mov qword [rbx + 0x10], rcx
mov eax, 1
mov rbp, qword [rsp + 0x30050]
mov rbx, qword [rsp + 0x30058]
add rsp, 0x30030
pop r12
pop rdi
pop rsi
ret
test sil, sil
je 0x1400b5280
lea rax, [0x14012c4b8]
mov qword [rbx + 0x18], r12
mov qword [rbx + 8], rax
jmp 0x1400b5288
mov rax, qword [rbx + 8]
mov word [rax], r12w
lea r8, [0x1400f1514]
lea rdx, str.Out_of_memory.
lea rcx, [0x14012c5c0]
mov qword [rbx + 0x10], r12
call fcn.14004e5e0
jmp 0x1400b524e