Function at 0x140006160
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov rax, rsp
push rbp
push rbx
lea rbp, [rax - 0x248]
sub rsp, 0x338
mov r8d, dword [rcx + 0x230]
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 0x18], r12
mov qword [rax - 0x20], r14
mov r14, rcx
mov qword [rax - 0x28], r15
mov r15d, 1
cmp r8d, 0xffffffff
je 0x1400061aa
cmp dword [rcx + 0x65c], 0
jne 0x1400066cb
lea rdx, [0x14001ef24]
add rcx, 0x4c3
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x140006637
cmp dword [0x1400b0f54], ebx
jne 0x1400061fc
lea r8, [r14 + 0x4c3]
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
lea rcx, str.WARNING:_Cannot_read_Verbosity_from_INI_file__set_to_1_by_default_n
call fcn.140001020
mov r8d, r15d
mov dword [r14 + 0x230], r15d
lea r12, [r14 + 0x4c3]
mov rdx, r12
lea rcx, str._nRuntime_options_n__INI_file___________________s_n__Verbosity__________________d_n
call fcn.140001020
lea rdx, [0x14001ef24]
mov rcx, r12
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x1400066e1
cmp dword [0x1400b0f54], ebx
jne 0x140006272
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
lea rcx, str.WARNING:_Cannot_read_SieveOnGPU_from_INI_file__set_to_0_by_default_n
call fcn.140001020
xor eax, eax
mov dword [rbp + 0x250], eax
cmp dword [r14 + 0x230], 1
jl 0x1400062ad
lea rcx, str.__SieveOnGPU________________no_n
test eax, eax
je 0x1400062a2
lea rcx, str.__SieveOnGPU________________yes_n
call fcn.140001020
mov eax, dword [rbp + 0x250]
mov dword [r14 + 0x1e0], eax
test eax, eax
jne 0x140006d73
cmp dword [r14 + 0x230], 1
jl 0x1400062d2
lea rcx, str.__MoreClasses_______________yes__due_to_CPU_sieving__n
call fcn.140001020
mov edx, 0x120c
mov dword [r14 + 0x1b0], r15d
mov dword [r14 + 0x1b4], edx
mov rcx, r12
lea rdx, [0x14001ef24]
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x140006788
cmp dword [0x1400b0f54], ebx
jne 0x14000632f
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov ebx, 0x1388
lea rcx, str.WARNING:_Cannot_read_SievePrimesMin_from_INI_file__using_default_value___d__n
mov edx, ebx
call fcn.140001020
mov dword [rbp + 0x250], ebx
cmp dword [r14 + 0x230], 1
jl 0x140006366
mov edx, ebx
lea rcx, str.__SievePrimesMin_____________d_n
call fcn.140001020
mov ebx, dword [rbp + 0x250]
mov dword [r14 + 0x1d4], ebx
lea rdx, [0x14001ef24]
mov rcx, r12
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x140006848
cmp dword [0x1400b0f54], ebx
jne 0x1400063b7
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov ebx, 0x30d40
lea rcx, str.WARNING:_Cannot_read_SievePrimesMax_from_INI_file__using_default_value___d__n
mov edx, ebx
call fcn.140001020
mov dword [rbp + 0x250], ebx
cmp dword [r14 + 0x230], 1
jl 0x1400063ee
mov edx, ebx
lea rcx, str.__SievePrimesMax_____________d_n
call fcn.140001020
mov ebx, dword [rbp + 0x250]
mov dword [r14 + 0x1d8], ebx
lea rdx, [0x14001ef24]
mov rcx, r12
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x140006909
cmp dword [0x1400b0f54], ebx
jne 0x14000643f
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov ebx, 0x61a8
lea rcx, str.WARNING:_Cannot_read_SievePrimes_from_INI_file__using_default_value___d__n
mov edx, ebx
call fcn.140001020
mov dword [rbp + 0x250], ebx
cmp dword [r14 + 0x230], 1
jl 0x140006476
mov edx, ebx
lea rcx, str.__SievePrimes________________d_n
call fcn.140001020
mov ebx, dword [rbp + 0x250]
mov dword [r14 + 0x1c8], ebx
lea rdx, [0x14001ef24]
mov rcx, r12
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x1400069e4
cmp dword [0x1400b0f54], ebx
jne 0x1400064c7
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
lea rcx, str.WARNING:_Cannot_read_SievePrimesAdjust_from_INI_file__using_default_value__0__n
call fcn.140001020
xor eax, eax
mov dword [rbp + 0x250], eax
cmp dword [r14 + 0x230], 1
jl 0x1400064f9
mov edx, eax
lea rcx, str.__SievePrimesAdjust__________d_n
call fcn.140001020
mov eax, dword [rbp + 0x250]
mov dword [r14 + 0x1cc], eax
test eax, eax
jne 0x140006512
mov eax, dword [r14 + 0x1c8]
mov dword [r14 + 0x1d8], eax
lea rdx, [0x14001ef24]
mov dword [r14 + 0x1dc], 0x46bc3
mov rcx, r12
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
lea esi, [rbx + 3]
mov rdi, rax
test rax, rax
jne 0x140006a88
cmp dword [0x1400b0f54], ebx
jne 0x14000656a
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov edx, esi
lea rcx, str.WARNING:_Cannot_read_NumStreams_from_INI_file__using_default_value___d__n
call fcn.140001020
mov eax, esi
mov dword [rbp + 0x250], eax
cmp dword [r14 + 0x230], 1
jl 0x14000659e
mov edx, eax
lea rcx, str.__NumStreams_________________d_n
call fcn.140001020
mov eax, dword [rbp + 0x250]
lea rdx, [0x14001ef24]
mov dword [r14 + 0x1f4], eax
mov rcx, r12
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x140006b58
cmp dword [0x1400b0f54], ebx
jne 0x1400065ef
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
lea rcx, str.WARNING:_Cannot_read_GridSize_from_INI_file__using_default_value__3__n
call fcn.140001020
mov dword [rbp + 0x250], esi
cmp dword [r14 + 0x230], 1
jl 0x14000661f
mov edx, esi
lea rcx, str.__GridSize___________________d_n
call fcn.140001020
mov esi, dword [rbp + 0x250]
test esi, esi
jne 0x140006c1d
mov dword [r14 + 0x20c], 0x20000
jmp 0x140006c58
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x1400066ac
nop
test ebx, ebx
jne 0x1400066ac
lea r8d, [rbx + 9]
lea rdx, str.Verbosity
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140006694
cmp byte [rsp + 0x29], 0x3d
jne 0x140006694
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x2a]
call fcn.1400017f0
cmp eax, r15d
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140006650
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x1400061fc
mov r8d, dword [rbp + 0x250]
mov dword [r14 + 0x230], r8d
cmp r8d, 1
jge 0x140006212
lea r12, [r14 + 0x4c3]
jmp 0x140006228
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x14000675c
nop dword [rax]
test ebx, ebx
jne 0x14000675c
lea r8d, [rbx + 0xa]
lea rdx, str.SieveOnGPU
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140006744
cmp byte [rsp + 0x2a], 0x3d
jne 0x140006744
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x2b]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140006700
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x140006272
mov eax, dword [rbp + 0x250]
cmp eax, 1
jbe 0x140006286
lea rcx, str.WARNING:_SieveOnGPU_must_be_0_or_1__set_to_0_by_default_n
jmp 0x140006279
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x1400067fc
test ebx, ebx
jne 0x1400067fc
lea r8d, [rbx + 0xe]
lea rdx, str.SievePrimesMin
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x1400067e4
cmp byte [rsp + 0x2e], 0x3d
jne 0x1400067e4
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x2f]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x1400067a0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x14000632f
mov ebx, dword [rbp + 0x250]
lea eax, [rbx - 0x100]
cmp eax, 0xf413f
jbe 0x140006348
mov ebx, 0x1388
lea rcx, str.WARNING:_SievePrimesMin_must_be_between__d_and__d__using_default_value___d__n
mov r9d, ebx
mov edx, 0x100
mov r8d, 0xf4240
call fcn.140001020
jmp 0x140006342
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x1400068bc
test ebx, ebx
jne 0x1400068bc
lea r8d, [rbx + 0xe]
lea rdx, str.SievePrimesMax
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x1400068a4
cmp byte [rsp + 0x2e], 0x3d
jne 0x1400068a4
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x2f]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140006860
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x1400063b7
mov edx, dword [r14 + 0x1d4]
mov ebx, dword [rbp + 0x250]
cmp ebx, edx
jl 0x1400068ea
cmp ebx, 0xf4240
jle 0x1400063d0
mov ebx, 0x30d40
lea rcx, str.WARNING:_SievePrimesMax_must_be_between_SievePrimesMin__d__and__d__using_default_value___d__n
mov r9d, ebx
mov r8d, 0xf4240
call fcn.140001020
jmp 0x1400063ca
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x14000697d
test ebx, ebx
jne 0x14000697d
lea r8d, [rbx + 0xb]
lea rdx, str.SievePrimes
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140006965
cmp byte [rsp + 0x2b], 0x3d
jne 0x140006965
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x2c]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140006921
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x14000643f
mov r8d, dword [r14 + 0x1d8]
mov ebx, dword [rbp + 0x250]
cmp ebx, r8d
jbe 0x1400069ba
mov edx, ebx
lea rcx, str.WARNING:_Read_SievePrimes_d_from_INI_file__using_max_value___d__n
call fcn.140001020
mov ebx, dword [r14 + 0x1d8]
jmp 0x140006452
mov r8d, dword [r14 + 0x1d4]
cmp ebx, r8d
jge 0x140006458
mov edx, ebx
lea rcx, str.WARNING:_Read_SievePrimes_d_from_INI_file__using_min_value___d__n
call fcn.140001020
mov ebx, dword [r14 + 0x1d4]
jmp 0x140006452
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x140006a5c
nop dword [rax]
test ebx, ebx
jne 0x140006a5c
lea r8d, [rbx + 0x11]
lea rdx, str.SievePrimesAdjust
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140006a44
cmp byte [rsp + 0x31], 0x3d
jne 0x140006a44
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x32]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140006a00
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x1400064c7
mov eax, dword [rbp + 0x250]
cmp eax, 1
jbe 0x1400064db
lea rcx, str.WARNING:_SievePrimesAdjust_must_be_0_or_1__using_default_value__0__n
jmp 0x1400064ce
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x140006afc
test ebx, ebx
jne 0x140006afc
lea r8d, [rbx + 0xa]
lea rdx, str.NumStreams
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140006ae4
cmp byte [rsp + 0x2a], 0x3d
jne 0x140006ae4
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x2b]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140006aa0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x14000656a
mov eax, dword [rbp + 0x250]
cmp eax, 0xa
jle 0x140006b36
mov r8d, 0xa
lea rcx, str.WARNING:_Read_NumStreams_d_from_INI_file__using_max_value___d__n
mov edx, eax
call fcn.140001020
mov eax, 0xa
jmp 0x14000657a
cmp eax, 1
jge 0x140006580
mov r8d, r15d
lea rcx, str.WARNING:_Read_NumStreams_d_from_INI_file__using_min_value___d__n
mov edx, eax
call fcn.140001020
mov eax, r15d
jmp 0x14000657a
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x140006bcc
test ebx, ebx
jne 0x140006bcc
lea r8d, [rbx + 8]
lea rdx, str.GridSize
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140006bb4
cmp byte [rsp + 0x28], 0x3d
jne 0x140006bb4
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x29]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140006b70
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x1400065ef
mov esi, dword [rbp + 0x250]
cmp esi, 4
jle 0x140006c00
mov edx, esi
lea rcx, str.WARNING:_Read_GridSize_d_from_INI_file__using_max_value__4__n
call fcn.140001020
mov esi, 4
jmp 0x1400065fb
test esi, esi
jns 0x140006601
mov edx, esi
lea rcx, str.WARNING:_Read_GridSize_d_from_INI_file__using_min_value__0__n
call fcn.140001020
xor esi, esi
jmp 0x1400065fb
cmp esi, 1
jne 0x140006c2f
mov dword [r14 + 0x20c], 0x40000
jmp 0x140006c58
cmp esi, 2
jne 0x140006c41
mov dword [r14 + 0x20c], 0x80000
jmp 0x140006c58
cmp esi, 3
mov eax, 0x200000
mov ecx, 0x100000
cmove eax, ecx
mov dword [r14 + 0x20c], eax
lea rdx, [0x14001ef24]
mov rcx, r12
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x140006ca7
cmp dword [0x1400b0f54], ebx
jne 0x140006d29
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
jmp 0x140006d29
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x140006d1c
nop
test ebx, ebx
jne 0x140006d1c
lea r8d, [rbx + 0xc]
lea rdx, str.SieveCPUMask
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140006d04
cmp byte [rsp + 0x2c], 0x3d
jne 0x140006d04
lea r8, [rbp + 0x258]
lea rdx, str._llu
lea rcx, [rsp + 0x2d]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140006cc0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
jne 0x140006d40
lea rcx, str.WARNING:_Cannot_read_SieveCPUMask_from_INI_file__set_to_0_by_default_n
call fcn.140001020
xor eax, eax
mov qword [rbp + 0x258], rax
jmp 0x140006d47
mov rax, qword [rbp + 0x258]
cmp dword [r14 + 0x230], 1
jl 0x140006d67
mov rdx, rax
lea rcx, str.__SieveCPUMask_______________lld_n
call fcn.140001020
mov rax, qword [rbp + 0x258]
mov qword [r14 + 0x228], rax
jmp 0x14000704f
mov eax, 0x200000
lea rdx, [0x14001ef24]
mov esi, 3
mov dword [r14 + 0x20c], eax
mov rcx, r12
mov dword [r14 + 0x1f4], esi
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x1400071a3
cmp dword [0x1400b0f54], ebx
jne 0x140006dd5
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
lea rcx, str.WARNING:_Cannot_read_MoreClasses_from_INI_file__set_to_1_by_default_n
call fcn.140001020
mov ecx, r15d
mov dword [rbp + 0x250], ecx
cmp dword [r14 + 0x230], 1
jl 0x140006e11
test ecx, ecx
lea rcx, str.__MoreClasses_______________no_n
je 0x140006e06
lea rcx, str.__MoreClasses_______________yes_n
call fcn.140001020
mov ecx, dword [rbp + 0x250]
test ecx, ecx
mov dword [r14 + 0x1b0], ecx
mov eax, 0x1a4
mov edx, 0x120c
cmovne eax, edx
mov rcx, r12
lea rdx, [0x14001ef24]
mov dword [r14 + 0x1b4], eax
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x140007248
cmp dword [0x1400b0f54], ebx
jne 0x140006e78
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov ebx, 0x14236
lea rcx, str.WARNING:_Cannot_read_GPUSievePrimes_from_INI_file__using_default_value___d__n
mov edx, ebx
call fcn.140001020
mov dword [rbp + 0x250], ebx
cmp dword [r14 + 0x230], 1
jl 0x140006eaf
mov edx, ebx
lea rcx, str.__GPUSievePrimes_____________d_n
call fcn.140001020
mov ebx, dword [rbp + 0x250]
mov dword [r14 + 0x1c8], ebx
lea rdx, [0x14001ef24]
mov rcx, r12
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x140007320
cmp dword [0x1400b0f54], ebx
jne 0x140006f00
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov ebx, 0x10
lea rcx, str.WARNING:_Cannot_read_GPUSieveProcessSize_from_INI_file__using_default_value___d__n
mov edx, ebx
call fcn.140001020
mov dword [rbp + 0x250], ebx
cmp dword [r14 + 0x230], 1
jl 0x140006f37
mov edx, ebx
lea rcx, str.__GPUSieveProcessSize________d_Kib_n
call fcn.140001020
mov ebx, dword [rbp + 0x250]
shl ebx, 0xa
lea rdx, [0x14001ef24]
mov dword [r14 + 0x1e8], ebx
mov rcx, r12
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x140007436
cmp dword [0x1400b0f54], ebx
jne 0x140006f8b
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov ebx, 0x40
lea rcx, str.WARNING:_Cannot_read_GPUSieveSize_from_INI_file__using_default_value___d__n
mov edx, ebx
call fcn.140001020
mov dword [rbp + 0x250], ebx
cmp dword [r14 + 0x230], 1
jl 0x140006fc2
mov edx, ebx
lea rcx, str.__GPUSieveSize_______________d_Mib_n
call fcn.140001020
mov ebx, dword [rbp + 0x250]
shl ebx, 0x14
lea rdx, [0x14001ef24]
mov dword [r14 + 0x1e4], ebx
mov rcx, r12
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x140007588
cmp dword [0x1400b0f54], ebx
jne 0x140007016
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
lea rcx, str.WARNING:_Cannot_read_FlushInterval_from_INI_file__using_default_value_0_n
call fcn.140001020
xor eax, eax
mov dword [rbp + 0x250], eax
cmp dword [r14 + 0x230], 1
jl 0x140007048
mov edx, eax
lea rcx, str.__FlushInterval______________d_n
call fcn.140001020
mov eax, dword [rbp + 0x250]
mov dword [r14 + 0x1f0], eax
mov r9d, 0x32
lea r8, [r14 + 0x490]
lea rdx, str.WorkFile
mov rcx, r12
call fcn.1400083f0
mov rsi, qword [rsp + 0x360]
test eax, eax
je 0x14000709d
lea rdx, str.worktodo.txt
lea rcx, [r14 + 0x490]
call fcn.140001790
lea rdx, [r14 + 0x490]
lea rcx, str.WARNING:_Cannot_read_WorkFile_from_INI_file__using_default___s__n
call fcn.140001020
cmp dword [r14 + 0x230], 1
jl 0x1400070ba
lea rdx, [r14 + 0x490]
lea rcx, str.__WorkFile___________________s_n
call fcn.140001020
mov r9d, 0x32
lea r8, [r14 + 0x4f6]
lea rdx, str.ResultsFile
mov rcx, r12
call fcn.1400083f0
test eax, eax
je 0x140007100
lea rdx, str.results.txt
lea rcx, [r14 + 0x4f6]
call fcn.140001790
lea rdx, [r14 + 0x4f6]
lea rcx, str.WARNING:_Cannot_read_ResultsFile_from_INI_file__using_default___s__n
call fcn.140001020
cmp dword [r14 + 0x230], 1
jl 0x14000711d
lea rdx, [r14 + 0x4f6]
lea rcx, str.__ResultsFile________________s_n
call fcn.140001020
lea rdx, [0x14001ef24]
mov rcx, r12
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x14000762e
cmp dword [0x1400b0f54], ebx
jne 0x140007167
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
lea rcx, str.WARNING:_Cannot_read_Checkpoints_from_INI_file__enabled_by_default_n
call fcn.140001020
mov eax, r15d
mov dword [rbp + 0x250], eax
cmp dword [r14 + 0x230], 1
jl 0x1400076f4
test eax, eax
jne 0x1400076cd
lea rcx, str.__Checkpoints_______________disabled_n
call fcn.140001020
jmp 0x1400076ee
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x14000721c
nop dword [rax + rax]
test ebx, ebx
jne 0x14000721c
lea r8d, [rbx + 0xb]
lea rdx, str.MoreClasses
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140007204
cmp byte [rsp + 0x2b], 0x3d
jne 0x140007204
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x2c]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x1400071c0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x140006dd5
mov ecx, dword [rbp + 0x250]
cmp ecx, 1
jbe 0x140006dea
lea rcx, str.WARNING:_MoreClasses_must_be_0_or_1__set_to_1_by_default_n
jmp 0x140006ddc
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x1400072bc
test ebx, ebx
jne 0x1400072bc
lea r8d, [rbx + 0xe]
lea rdx, str.GPUSievePrimes
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x1400072a4
cmp byte [rsp + 0x2e], 0x3d
jne 0x1400072a4
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x2f]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140007260
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x140006e78
mov ebx, dword [rbp + 0x250]
cmp ebx, 0x106a36
jle 0x1400072f9
mov r8d, 0x106a36
lea rcx, str.WARNING:_Read_GPUSievePrimes_d_from_INI_file__using_max_value___d__n
mov edx, ebx
call fcn.140001020
mov ebx, 0x106a36
jmp 0x140006e8b
cmp ebx, 0x36
jge 0x140006e91
mov r8d, 0x36
lea rcx, str.WARNING:_Read_GPUSievePrimes_d_from_INI_file__using_min_value___d__n
mov edx, ebx
call fcn.140001020
mov ebx, 0x36
jmp 0x140006e8b
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x140007394
test ebx, ebx
jne 0x140007394
lea r8d, [rbx + 0x13]
lea rdx, str.GPUSieveProcessSize
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14000737c
cmp byte [rsp + 0x33], 0x3d
jne 0x14000737c
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x34]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140007338
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x140006f00
mov ebx, dword [rbp + 0x250]
mov eax, ebx
and eax, 0x80000007
jge 0x1400073bb
dec eax
or eax, 0xfffffff8
inc eax
test eax, eax
je 0x1400073ec
lea rcx, str.WARNING:_GPUSieveProcessSize_must_be_a_multiple_of_8_n
call fcn.140001020
mov edx, dword [rbp + 0x250]
lea rcx, str._____________changed_GPUSieveProcessSize_to__d_n
and edx, 0xfffffff8
mov dword [rbp + 0x250], edx
call fcn.140001020
mov ebx, dword [rbp + 0x250]
cmp ebx, 0x20
jle 0x14000740f
mov r8d, 0x20
lea rcx, str.WARNING:_Read_GPUSieveProcessSize_d_from_INI_file__using_max_value___d__n
mov edx, ebx
call fcn.140001020
mov ebx, 0x20
jmp 0x140006f13
cmp ebx, 8
jge 0x140006f19
mov r8d, 8
lea rcx, str.WARNING:_Read_GPUSieveProcessSize_d_from_INI_file__using_min_value___d__n
mov edx, ebx
call fcn.140001020
mov ebx, 8
jmp 0x140006f13
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x1400074ac
nop
test ebx, ebx
jne 0x1400074ac
lea r8d, [rbx + 0xc]
lea rdx, str.GPUSieveSize
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140007494
cmp byte [rsp + 0x2c], 0x3d
jne 0x140007494
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x2d]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140007450
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x140006f8b
mov ebx, dword [rbp + 0x250]
cmp ebx, 0x80
jle 0x1400074e6
mov r8d, 0x80
lea rcx, str.WARNING:_Read_GPUSieveSize_d_from_INI_file__using_max_value___d__n
mov edx, ebx
call fcn.140001020
mov ebx, 0x80
jmp 0x140007504
cmp ebx, 4
jge 0x14000750a
mov r8d, 4
lea rcx, str.WARNING:_Read_GPUSieveSize_d_from_INI_file__using_min_value___d__n
mov edx, ebx
call fcn.140001020
mov ebx, 4
mov dword [rbp + 0x250], ebx
mov r8d, dword [r14 + 0x1e8]
xor edx, edx
mov eax, ebx
shl eax, 0x14
div r8d
test edx, edx
je 0x140006fa4
shr r8d, 0xa
lea rcx, str.WARNING:_GPUSieveSize_dM_must_be_a_multiple_of_GPUSieveProcessSize_dk_
mov edx, ebx
call fcn.140001020
mov eax, 0x55555556
imul dword [rbp + 0x250]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [rcx + rcx*2]
mov dword [rbp + 0x250], edx
cmp edx, 4
jge 0x140007571
lea eax, [rcx + rcx*2]
sub esi, eax
mov eax, 0xaaaaaaab
mul esi
lea eax, [rcx + 1]
shr edx, 1
add eax, edx
lea edx, [rax + rax*2]
mov dword [rbp + 0x250], edx
lea rcx, str.adjusting_GPUSieveSize_to__dM_n
call fcn.140001020
mov ebx, dword [rbp + 0x250]
jmp 0x140006fa4
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x1400075fc
test ebx, ebx
jne 0x1400075fc
lea r8d, [rbx + 0xd]
lea rdx, str.FlushInterval
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x1400075e4
cmp byte [rsp + 0x2d], 0x3d
jne 0x1400075e4
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x2e]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x1400075a0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x140007016
mov eax, dword [rbp + 0x250]
test eax, eax
jns 0x14000702a
mov edx, eax
lea rcx, str.WARNING:_Read_FlushInterval_d_from_INI_file__using_min_value__0__n
call fcn.140001020
jmp 0x140007022
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x1400076a2
test ebx, ebx
jne 0x1400076a2
lea r8d, [rbx + 0xb]
lea rdx, str.Checkpoints
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14000768a
cmp byte [rsp + 0x2b], 0x3d
jne 0x14000768a
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x2c]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140007646
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x140007167
mov eax, dword [rbp + 0x250]
test eax, eax
jns 0x14000717c
lea rcx, str.WARNING:_Checkpoints_must_be_0__disabled__or_greater__enabled_by_default_n
jmp 0x14000716e
cmp eax, 1
jne 0x1400076e0
lea rcx, str.__Checkpoints_______________enabled_n
call fcn.140001020
jmp 0x1400076ee
mov edx, eax
lea rcx, str.__Checkpoints_______________every__d_classes_n
call fcn.140001020
mov eax, dword [rbp + 0x250]
mov dword [r14 + 0x1fc], eax
cmp eax, 1
jbe 0x140007720
cmp dword [r14 + 0x230], 1
jl 0x140007716
lea rcx, str.__CheckpointDelay___________ignored_as_Checkpoints___1_n
call fcn.140001020
mov eax, 0x12c
jmp 0x14000779f
lea rdx, [0x14001ef24]
mov rcx, r12
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x1400078b4
cmp dword [0x1400b0f54], ebx
jne 0x14000776a
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
lea rcx, str.WARNING:_Cannot_read_CheckpointDelay_from_INI_file__set_to_300_s_by_default_n
call fcn.140001020
mov eax, 0x12c
mov dword [rbp + 0x250], eax
cmp dword [r14 + 0x230], 1
jl 0x14000779f
mov edx, eax
lea rcx, str.__CheckpointDelay____________d_s_n
call fcn.140001020
mov eax, dword [rbp + 0x250]
lea rdx, [0x14001ef24]
mov dword [r14 + 0x200], eax
mov rcx, r12
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x14000797b
cmp dword [0x1400b0f54], ebx
jne 0x1400077f0
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
lea rcx, str.WARNING:_Cannot_read_Stages_from_INI_file__enabled_by_default_n
call fcn.140001020
mov eax, r15d
mov dword [rbp + 0x250], eax
cmp dword [r14 + 0x230], 1
jl 0x14000782c
lea rcx, str.__Stages____________________disabled_n
test eax, eax
je 0x140007821
lea rcx, str.__Stages____________________enabled_n
call fcn.140001020
mov eax, dword [rbp + 0x250]
lea rdx, [0x14001ef24]
mov dword [r14 + 0x204], eax
mov rcx, r12
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x140007a1b
cmp dword [0x1400b0f54], ebx
jne 0x14000787d
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
lea rcx, str.WARNING:_Cannot_read_StopAfterFactor_from_INI_file__set_to_1_by_default_n
call fcn.140001020
mov eax, r15d
mov dword [rbp + 0x250], eax
cmp dword [r14 + 0x230], 1
jl 0x140007ae0
test eax, eax
jne 0x140007abb
lea rcx, str.__StopAfterFactor___________disabled_n
jmp 0x140007ad5
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x14000792c
nop dword [rax]
test ebx, ebx
jne 0x14000792c
lea r8d, [rbx + 0xf]
lea rdx, str.CheckpointDelay
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140007914
cmp byte [rsp + 0x2f], 0x3d
jne 0x140007914
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x30]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x1400078d0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x14000776a
mov eax, dword [rbp + 0x250]
cmp eax, 0xe10
jle 0x140007960
lea rcx, str.WARNING:_Maximum_value_for_CheckpointDelay_is_3600_s_n
call fcn.140001020
mov eax, 0xe10
jmp 0x14000777b
test eax, eax
jns 0x140007781
lea rcx, str.WARNING:_Minimum_value_for_CheckpointDelay_is_0_s_n
call fcn.140001020
xor eax, eax
jmp 0x14000777b
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x1400079ef
test ebx, ebx
jne 0x1400079ef
lea r8d, [rbx + 6]
lea rdx, str.Stages
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x1400079d7
cmp byte [rsp + 0x26], 0x3d
jne 0x1400079d7
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x27]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140007993
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x1400077f0
mov eax, dword [rbp + 0x250]
cmp eax, 1
jbe 0x140007805
lea rcx, str.WARNING:_Stages_must_be_0_or_1__enabled_by_default_n
jmp 0x1400077f7
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x140007a8f
test ebx, ebx
jne 0x140007a8f
lea r8d, [rbx + 0xf]
lea rdx, str.StopAfterFactor
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140007a77
cmp byte [rsp + 0x2f], 0x3d
jne 0x140007a77
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x30]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140007a33
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x14000787d
mov eax, dword [rbp + 0x250]
cmp eax, 2
jbe 0x140007892
lea rcx, str.WARNING:_StopAfterFactor_must_be_0__1_or_2__set_to_1_by_default_n
jmp 0x140007884
cmp eax, 1
jne 0x140007ac9
lea rcx, str.__StopAfterFactor___________bitlevel_n
jmp 0x140007ad5
cmp eax, 2
jne 0x140007ae0
lea rcx, str.__StopAfterFactor___________class_n
call fcn.140001020
mov eax, dword [rbp + 0x250]
lea rdx, [0x14001ef24]
mov dword [r14 + 0x208], eax
mov rcx, r12
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x140007bbc
cmp dword [0x1400b0f54], ebx
jne 0x140007b31
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
lea rcx, str.WARNING:_Cannot_read_PrintMode_from_INI_file__set_to_0_by_default_n
call fcn.140001020
xor eax, eax
mov dword [rbp + 0x250], eax
cmp dword [r14 + 0x230], 1
jl 0x140007b6c
lea rcx, str.__PrintMode_________________full_n
test eax, eax
je 0x140007b61
lea rcx, str.__PrintMode_________________compact_n
call fcn.140001020
mov eax, dword [rbp + 0x250]
mov r9d, 0x32
mov dword [r14 + 0x218], eax
lea r8, [r14 + 0x529]
mov rcx, r12
lea rdx, str.V5UserID
call fcn.1400083f0
mov ecx, dword [r14 + 0x230]
test eax, eax
je 0x140007c5c
cmp ecx, 1
jl 0x140007baf
lea rcx, str.__V5UserID__________________none_n
call fcn.140001020
mov byte [r14 + 0x529], 0
jmp 0x140007c74
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x140007c30
test ebx, ebx
jne 0x140007c30
lea r8d, [rbx + 9]
lea rdx, str.PrintMode
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140007c18
cmp byte [rsp + 0x29], 0x3d
jne 0x140007c18
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x2a]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140007bd4
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x140007b31
mov eax, dword [rbp + 0x250]
cmp eax, 1
jbe 0x140007b45
lea rcx, str.WARNING:_PrintMode_must_be_0_or_1__set_to_0_by_default_n
jmp 0x140007b38
cmp ecx, 1
jl 0x140007c74
lea rdx, [r14 + 0x529]
lea rcx, str.__V5UserID___________________s_n
call fcn.140001020
mov r9d, 0x32
lea r8, [r14 + 0x55c]
lea rdx, str.ComputerID
mov rcx, r12
call fcn.1400083f0
mov ecx, dword [r14 + 0x230]
test eax, eax
je 0x140007cb6
cmp ecx, 1
jl 0x140007cac
lea rcx, str.__ComputerID________________none_n
call fcn.140001020
mov byte [r14 + 0x55c], 0
jmp 0x140007cce
cmp ecx, 1
jl 0x140007cce
lea rdx, [r14 + 0x55c]
lea rcx, str.__ComputerID_________________s_n
call fcn.140001020
xor eax, eax
mov dword [rbp + 0x250], eax
nop word [rax + rax]
cdqe
mov byte [rax + r14 + 0x240], 0
mov eax, dword [rbp + 0x250]
inc eax
mov dword [rbp + 0x250], eax
cmp eax, 0x100
jl 0x140007ce0
mov r9d, 0xfa
lea r8, [r14 + 0x240]
lea rdx, str.ProgressHeader
mov rcx, r12
call fcn.1400083f0
test eax, eax
je 0x140007d3f
lea rdx, str.Date___Time_____Pct____ETA__Exponent____Bits__GHz_d_day____Sieve_____Wait
lea rcx, [r14 + 0x240]
call fcn.140001790
lea rcx, str.WARNING:_no_ProgressHeader_specified_in_INI_file__using_default_n
call fcn.140001020
cmp dword [r14 + 0x230], 2
jl 0x140007d5c
lea rdx, [r14 + 0x240]
lea rcx, str.__ProgressHeader______________s__n
call fcn.140001020
xor eax, eax
mov dword [rbp + 0x250], eax
cdqe
mov byte [rax + r14 + 0x340], 0
mov eax, dword [rbp + 0x250]
inc eax
mov dword [rbp + 0x250], eax
cmp eax, 0x100
jl 0x140007d64
mov r9d, 0xfa
lea r8, [r14 + 0x340]
lea rdx, str.ProgressFormat
mov rcx, r12
call fcn.1400083f0
test eax, eax
je 0x140007dc3
lea rdx, str.__d___T____p___e____M___l___u______g____s____W____
lea rcx, [r14 + 0x340]
call fcn.140001790
lea rcx, str.WARNING:_no_ProgressFormat_specified_in_INI_file__using_default_n
call fcn.140001020
cmp dword [r14 + 0x230], 2
jl 0x140007de0
lea rdx, [r14 + 0x340]
lea rcx, str.__ProgressFormat______________s__n
call fcn.140001020
lea rdx, [0x14001ef24]
mov rcx, r12
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x140007e2f
cmp dword [0x1400b0f54], ebx
jne 0x140007ec7
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
jmp 0x140007ec7
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x140007ea3
test ebx, ebx
jne 0x140007ea3
lea r8d, [rbx + 0x12]
lea rdx, str.TimeStampInResults
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140007e8b
cmp byte [rsp + 0x32], 0x3d
jne 0x140007e8b
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x33]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140007e47
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x140007ec7
mov eax, dword [rbp + 0x250]
cmp eax, 1
jbe 0x140007ecf
lea rcx, str.WARNING:_TimeStampInResults_must_be_0_or_1__set_to_0_by_default_n
call fcn.140001020
xor eax, eax
mov dword [rbp + 0x250], eax
cmp dword [r14 + 0x230], 1
jl 0x140007ef6
lea rcx, str.__TimeStampInResults________no_n
test eax, eax
je 0x140007eeb
lea rcx, str.__TimeStampInResults________yes_n
call fcn.140001020
mov eax, dword [rbp + 0x250]
lea rdx, [0x14001ef24]
mov dword [r14 + 0x220], eax
mov rcx, r12
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x1400080de
cmp dword [0x1400b0f54], ebx
jne 0x140007f47
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
lea rcx, str.WARNING:_Cannot_read_VectorSize_from_INI_file__set_to_4_by_default_n
call fcn.140001020
mov eax, 4
mov dword [rbp + 0x250], eax
cmp dword [r14 + 0x230], 1
jl 0x140007f7c
mov edx, eax
lea rcx, str.__VectorSize_________________d_n
call fcn.140001020
mov eax, dword [rbp + 0x250]
lea rdx, [0x14001ef24]
mov dword [r14 + 0x214], eax
mov rcx, r12
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x140008188
cmp dword [0x1400b0f54], ebx
jne 0x140007fcd
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
lea rcx, str.WARNING:_Cannot_read_GPUType_from_INI_file__using_default__AUTO__n
call fcn.140001020
mov eax, dword [0x140020c44]
mov dword [rbp - 0x20], eax
movzx eax, byte [0x140020c48]
mov byte [rbp - 0x1c], al
mov dword [r14 + 0x178], 0
cmp dword [r14 + 0x230], 1
jl 0x140008011
lea rdx, [rbp - 0x20]
lea rcx, str.__GPUType____________________s_n
call fcn.140001020
lea rdx, [0x14001ef24]
mov rcx, r12
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x1400082d0
cmp dword [0x1400b0f54], ebx
jne 0x14000805b
mov r8, r12
mov dword [0x1400b0f54], r15d
lea rdx, str.Cannot_load_INI_file___.55s_
lea rcx, [rbp - 0x70]
call fcn.140001790
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
lea rcx, str.WARNING:_Cannot_read_SmallExp_from_INI_file__set_to_0_by_default_n
call fcn.140001020
xor eax, eax
mov dword [rbp + 0x250], eax
cmp dword [r14 + 0x230], 1
mov r15, qword [rsp + 0x320]
mov rdi, qword [rsp + 0x368]
jl 0x1400080a6
lea rcx, str.__SmallExp__________________no_n
test eax, eax
je 0x14000809b
lea rcx, str.__SmallExp__________________yes_n
call fcn.140001020
mov eax, dword [rbp + 0x250]
mov r9d, 0x96
mov dword [r14 + 0x21c], eax
lea r8, [r14 + 0x58f]
mov rcx, r12
lea rdx, str.OCLCompileOptions
call fcn.1400083f0
test eax, eax
je 0x140008370
mov byte [r14 + 0x58f], 0
jmp 0x14000838d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x140008152
test ebx, ebx
jne 0x140008152
lea r8d, [rbx + 0xa]
lea rdx, str.VectorSize
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14000813a
cmp byte [rsp + 0x2a], 0x3d
jne 0x14000813a
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x2b]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x1400080f6
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x140007f47
mov eax, dword [rbp + 0x250]
cmp eax, 0x10
ja 0x14000817c
mov ecx, 0x1011e
bt ecx, eax
jb 0x140007f5e
lea rcx, str.WARNING:_VectorSize_must_be_one_of_1__2__3__4__or_8__set_to_4_by_default_n
jmp 0x140007f4e
mov r8, rdi
lea rcx, [rbp + 0x20]
mov edx, 0x200
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x140008229
test ebx, ebx
jne 0x140008229
lea r8d, [rbx + 7]
lea rdx, str.GPUType
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14000820e
cmp byte [rbp + 0x27], 0x3d
jne 0x14000820e
lea rcx, [rbp + 0x28]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400081d5
mov ebx, 0x32
cmp eax, ebx
cmovb ebx, eax
sub ebx, 1
je 0x140008209
mov r8d, ebx
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea ecx, [rbx - 1]
cmp byte [rbp + rcx - 0x20], 0xd
cmove ebx, ecx
mov byte [rbp + rbx - 0x20], 0
mov r8, rdi
lea rcx, [rbp + 0x20]
mov edx, 0x200
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x1400081a3
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x140007fcd
mov dword [r14 + 0x178], 0xe
lea r11, str.AUTO
mov dword [rbp + 0x250], 0
xor r9d, r9d
nop dword [rax]
movsxd r10, r9d
lea rax, [rbp - 0x20]
mov r8, r10
shl r8, 4
add r8, r11
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140008287
inc rax
test ecx, ecx
jne 0x140008274
test edx, edx
je 0x14000829d
inc r9d
mov dword [rbp + 0x250], r9d
cmp r9d, 0xe
jl 0x140008260
jmp 0x1400082bb
add r10, r10
lea rax, [0x14002a050]
mov eax, dword [rax + r10*8]
mov dword [r14 + 0x178], eax
cmp eax, 0xe
jne 0x140007ff7
lea rdx, [rbp - 0x20]
lea rcx, str.WARNING:_Unknown_setting___s__for_GPUType__using_default__AUTO__n
call fcn.140001020
jmp 0x140007fd9
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x140008344
test ebx, ebx
jne 0x140008344
lea r8d, [rbx + 8]
lea rdx, str.SmallExp
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14000832c
cmp byte [rsp + 0x28], 0x3d
jne 0x14000832c
lea r8, [rbp + 0x250]
lea rdx, [0x14001f3a0]
lea rcx, [rsp + 0x29]
call fcn.1400017f0
cmp eax, 1
cmove ebx, r15d
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x1400082e8
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
je 0x14000805b
mov eax, dword [rbp + 0x250]
cmp eax, 1
jbe 0x14000806f
lea rcx, str.WARNING:_SmallExp_must_be_0_or_1__set_to_0_by_default_n
jmp 0x140008062
cmp dword [r14 + 0x230], 1
jl 0x14000838d
lea rdx, [r14 + 0x58f]
lea rcx, str.__Additional_compile_options__s_n
call fcn.140001020
lea rbx, [r14 + 0x626]
mov r9d, 0x32
mov r8, rbx
lea rdx, str.UseBinfile
mov rcx, r12
call fcn.1400083f0
mov r12, qword [rsp + 0x330]
test eax, eax
je 0x1400083bb
mov byte [rbx], 0
cmp dword [r14 + 0x230], 1
mov r14, qword [rsp + 0x328]
jl 0x1400083dc
mov rdx, rbx
lea rcx, str.__UseBinfile_________________s_n
call fcn.140001020
xor eax, eax
add rsp, 0x338
pop rbx
pop rbp
ret