Function at 0x18000a230
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [0x1800c6d00]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov edi, ecx
xor r15d, r15d
lea rcx, [rbp + 0x212]
mov word [rbp + 0x210], r15w
xor edx, edx
mov r8d, 0x206
call fcn.1800a24f0
lea r14, [0x1800cc560]
mov rcx, r14
call fcn.18000c940
test eax, eax
jne 0x18000a2f0
mov r8, r14
lea rcx, [rbp + 0x210]
mov edx, 0x104
call fcn.1800423bc
mov edx, 0x2e
lea rcx, [rbp + 0x210]
call fcn.180033100
test rax, rax
je 0x18000a2e9
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp word [rax + rdx*2], r15w
jne 0x18000a2d0
lea r8, str..cfg
mov rcx, rax
call fcn.1800423bc
lea r14, [rbp + 0x210]
call fcn.1800206b0
lea rsi, [0x1800cafa0]
mov r12d, 0x1010
mov rbx, qword [0x1800cba58]
xor edx, edx
mov word [0x1800cafa0], r15w
test rbx, rbx
je 0x18000a436
mov r8d, 0x103
mov byte [rbp - 0x10], r15b
lea rcx, [rbp - 0xf]
call fcn.1800a24f0
mov edx, 0x104
lea rcx, [rbp + 0x100]
call rbx
cmp qword [0x1800c5758], r15
je 0x18000a35d
mov rax, qword [0x1800cbcd8]
test rax, rax
je 0x18000a35d
mov edx, 0x104
lea rcx, [rbp - 0x10]
call rax
mov rcx, qword [0x1800cc980]
lea rax, [rbp - 0x10]
lea r9, [rbp + 0x100]
mov qword [rsp + 0x20], rax
lea r8, str.LoadDriverEx:___s_____s_
mov edx, 8
mov edi, 1
call fcn.1800073b0
mov rax, qword [0x1800c5758]
lea rcx, [rbp + 0x100]
xor edx, edx
test rax, rax
je 0x18000a3a7
lea r8, [rbp - 0x10]
call rax
jmp 0x18000a3b0
mov rax, qword [0x1800c5740]
call rax
test eax, eax
jns 0x18000a522
call fcn.180005d70
mov rcx, rax
mov r9d, 0x200
mov r8, rsi
mov edx, 0x1c2a
call qword [sym.imp.USER32.dll_LoadStringW]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rsi + rbx*2], r15w
jne 0x18000a3e0
mov rax, qword [0x1800c56f8]
lea r8, [rsp + 0x30]
xor r9d, r9d
mov edx, 0x200
test rax, rax
je 0x18000a410
sub edx, ebx
lea rcx, [rsi + rbx*2]
call rax
jmp 0x18000a522
lea rcx, [0x1800cada0]
call qword [0x1800c56e8]
mov ecx, 0x200
lea rax, [rsi + rbx*2]
sub ecx, ebx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
jmp 0x18000a50b
mov r8d, 0xc6
mov word [rbp - 0x10], r15w
lea rcx, [rbp - 0xe]
call fcn.1800a24f0
lea r9, [rbp - 0x10]
mov qword [rsp + 0x28], r14
lea r8, [0x1800a5b48]
mov dword [rsp + 0x20], 0x64
lea rdx, [0x1800a6f44]
lea rcx, str.TWAIN
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rbp - 0x10], r15w
jne 0x18000a499
mov r9, 0xffffffffffffffff
lea r8, str.TWAIN
mov edx, 0x64
lea rcx, [rbp - 0x10]
call fcn.180042708
mov rcx, qword [0x1800cc980]
lea rax, [rbp - 0x10]
mov r9, r14
mov qword [rsp + 0x20], rax
lea r8, str.LoadDriver:_File__S__Sect__S_
mov edx, 8
call fcn.1800073b0
mov rax, qword [0x1800c55f0]
lea rcx, [rbp - 0x10]
mov rdx, r14
call rax
test eax, eax
jne 0x18000a522
mov rax, qword [0x1800c56f8]
lea r8, [rsp + 0x30]
xor r9d, r9d
mov edx, 0x200
test rax, rax
je 0x18000a4f1
mov rcx, rsi
call rax
jmp 0x18000a522
lea rcx, [0x1800cada0]
call qword [0x1800c56e8]
mov dword [rsp + 0x28], 0x200
mov qword [rsp + 0x20], rsi
mov r9d, 0xffffffff
lea r8, [0x1800cada0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call qword [0x1800c56d0]
test eax, eax
jne 0x18000a69f
test edi, edi
je 0x18000a69f
cmp word [0x1800cafa0], r15w
jne 0x18000a593
mov rax, qword [0x1800c56f8]
lea r8, [rsp + 0x30]
xor r9d, r9d
mov edx, 0x200
test rax, rax
je 0x18000a562
mov rcx, rsi
call rax
jmp 0x18000a593
lea rcx, [0x1800cada0]
call qword [0x1800c56e8]
mov r9d, 0xffffffff
mov dword [rsp + 0x28], 0x200
lea r8, [0x1800cada0]
mov qword [rsp + 0x20], rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call qword [0x1800c55d0]
cmp dword [0x1800cba60], r15d
jne 0x18000a600
mov rcx, qword [0x1800cc980]
call fcn.180006a80
test al, 0x20
je 0x18000a5cd
mov rcx, qword [0x1800cc980]
lea r8, [0x1800a7160]
mov r9, rsi
mov edx, 0x20
call fcn.1800073b0
cmp dword [rsp + 0x30], 4
mov ebx, 0x1015
cmove ebx, r12d
call fcn.18002b140
mov r9d, ebx
xor r8d, r8d
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 4
je 0x18000a302
jmp 0x18000a69f
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rsi + rax*2], r15w
jne 0x18000a610
mov edi, 0x200
lea rbx, [rsi + rax*2]
sub edi, eax
call fcn.180005d70
mov rcx, rax
mov r9d, edi
mov r8, rbx
mov edx, 0x1c2b
call qword [sym.imp.USER32.dll_LoadStringW]
mov rcx, qword [0x1800cc980]
call fcn.180006a80
test al, 0x20
je 0x18000a669
mov rcx, qword [0x1800cc980]
lea r8, [0x1800a7148]
mov r9, rsi
mov edx, 0x20
call fcn.1800073b0
call fcn.18002b140
mov rcx, rax
mov r9d, 0x1011
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x18000a69f
mov edx, eax
xor ecx, ecx
call qword [0x1800c5600]
call fcn.18002b140
mov rcx, rax
call fcn.18000b070
call qword [0x1800c56d0]
test eax, eax
je 0x18000a9ba
mov rcx, qword [0x1800cc980]
call fcn.180006a80
test al, 8
je 0x18000a729
mov rax, qword [case.0x180030475.0]
lea rdx, [rsp + 0x60]
mov ecx, 0x10
call rax
test ax, ax
je 0x18000a6de
lea r8, str.Error:_ScannerInfo_not_available
jmp 0x18000a715
lea rax, [rsp + 0x60]
mov edx, 0x200
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x70]
lea r8, str.Scanner:___s____s__Version__s
mov qword [rsp + 0x20], rax
lea rcx, [0x1800cada0]
call fcn.180004550
lea r8, [0x1800cada0]
mov rcx, qword [0x1800cc980]
xor r9d, r9d
mov edx, 8
call fcn.180007320
lea r8, [0x1800cb7fc]
mov edx, 0x104
lea rcx, [rbp - 0x10]
call fcn.180065ef0
lea r8, [0x1800cb928]
mov edx, 0x104
lea rcx, [rbp - 0x10]
call fcn.1800790b8
lea r8, str..key
mov edx, 0x104
lea rcx, [rbp - 0x10]
call fcn.1800790b8
lea rcx, [rbp - 0x10]
call fcn.18000c920
test eax, eax
je 0x18000a949
xor eax, eax
mov byte [rbp - 0x40], r15b
xorps xmm0, xmm0
mov dword [rbp - 0x1f], eax
mov word [rbp - 0x1b], ax
mov byte [rbp - 0x19], al
mov rax, qword [case.0x180030475.0]
movups xmmword [rbp - 0x3f], xmm0
movups xmmword [rbp - 0x2f], xmm0
test rax, rax
je 0x18000a949
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x78], r15d
mov qword [rsp + 0x3c], rcx
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x38]
mov qword [rbp - 0x6c], r15
mov qword [rbp - 0x74], rcx
xorps xmm1, xmm1
mov ecx, 0x500
mov dword [rsp + 0x38], 2
mov edx, 0x10
mov dword [rsp + 0x44], 0x28
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x60], 0x3c
movdqu xmmword [rsp + 0x78], xmm1
mov dword [rsp + 0x64], 0x1d
call rax
test ax, ax
jne 0x18000a949
cmp byte [rbp - 0x40], r15b
je 0x18000a949
mov ecx, 0xc8
mov edi, 1
call fcn.1800429e8
mov rsi, rax
test rax, rax
je 0x18000a949
xorps xmm0, xmm0
lea r8, [rsp + 0x38]
lea rdx, str._I64x
lea rcx, [rbp - 0x40]
movups xmmword [rsp + 0x38], xmm0
call fcn.1800059f0
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, byte [rsp + 0x4e]
lea r8, [0x1800a57cd]
mov byte [rsp + 0x43], al
lea rcx, str.Registration
movzx eax, byte [rsp + 0x4a]
mov r9, rsi
mov byte [rsp + 0x42], al
xor edx, edx
movzx eax, word [rsp + 0x48]
mov word [rsp + 0x40], ax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xc8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rbx, rsi
cmp byte [rsi], r15b
je 0x18000a914
test edi, edi
je 0x18000a914
movsx ecx, byte [rbx]
call fcn.18007b074
cmp eax, 0x4b
jne 0x18000a8f1
lea rax, [rbp - 0x10]
mov rdx, rbx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
lea r8, [0x1800a57cd]
mov dword [rsp + 0x20], 0x3c
lea rcx, str.Registration
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.18000ac20
mov edi, eax
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], r15b
jne 0x18000a900
inc rbx
add rbx, rax
cmp byte [rbx], r15b
jne 0x18000a8a2
mov rcx, rsi
call fcn.1800429d4
cmp dword [rsp + 0x44], r15d
je 0x18000a949
lea rax, [rsp + 0x44]
xor edx, edx
mov ecx, 0x5657
mov qword [0x1800c9e20], rax
mov r8d, 0xffffa71d
lea r9, [0x18000bf80]
call qword [case.0x180030475.0]
call fcn.18002fe40
movzx edx, word [0x1800cbcec]
mov ecx, 1
call fcn.180021080
movzx edx, word [0x1800cc970]
mov ecx, 2
call fcn.180021080
movzx edx, word [0x1800cc974]
mov ecx, 3
call fcn.180021080
cmp dword [0x1800cab48], r15d
je 0x18000a994
mov dword [0x1800cad4c], 1
mov r8d, 1
lea rcx, str.TWAIN
mov rdx, r14
call fcn.18000b140
call fcn.18000b490
call fcn.180020fc0
mov eax, 1
jmp 0x18000a9bd
mov eax, r15d
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.180032180
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret