Function at 0x140008310
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
movsxd r14, ecx
mov rsi, rdx
mov edx, 8
lea eax, [r14 + 1]
movsxd rcx, eax
call qword [sym.imp.gdal304.dll_CPLCalloc]
xor r15d, r15d
mov qword [rbp - 0x29], rax
mov rbx, rax
test r14d, r14d
jle 0x14000838f
mov ebx, r15d
nop word [rax + rax]
mov rcx, qword [rsi + rbx*8]
lea r8, str.UTF_8
lea rdx, str.UCS_2
call qword [sym.imp.gdal304.dll_CPLRecodeFromWChar]
mov rcx, rax
mov rax, qword [rbp - 0x29]
mov qword [rax + rbx*8], rcx
inc rbx
cmp rbx, r14
jl 0x140008360
mov rbx, qword [rbp - 0x29]
mov rsi, 0xffffffffffffffff
mov dword [rbp + 0x7f], r15d
lea r8, str.ESRI_Shapefile
mov qword [rbp - 1], rsi
mov qword [rbp + 0x17], r8
mov edi, 1
mov r8, qword [rbx]
mov r12, r15
lea edx, [rsi + 5]
mov qword [rbp - 0x21], rsi
lea ecx, [rsi + 4]
mov dword [rbp - 9], edi
mov qword [rbp + 7], r15
mov r13, r15
mov qword [rbp + 0xf], r15
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov dword [rbp + 0x67], r15d
call qword [sym.imp.gdal304.dll_GDALCheckVersion]
test eax, eax
jne 0x1400083eb
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rdx, qword [rbp - 0x29]
mov ecx, r14d
call qword [sym.imp.gdal304.dll_EarlySetConfigOptions]
call qword [sym.imp.gdal304.dll_GDALAllRegister]
mov r8d, 8
lea rdx, [rbp - 0x29]
mov ecx, r14d
call qword [sym.imp.gdal304.dll_GDALGeneralCmdLineProcessor]
mov esi, eax
cmp eax, edi
jge 0x140008422
neg esi
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
jle 0x140008b3b
nop dword [rax + rax]
mov rcx, qword [rbp - 0x29]
lea rdx, str.__utility_version
mov rcx, qword [rcx + 8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140008aef
mov rcx, qword [rbp - 0x29]
lea rdx, str.__help
movsxd r14, edi
mov rcx, qword [rcx + r14*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140008b30
mov rcx, qword [rbp - 0x29]
lea rdx, str.__long_usage
mov rcx, qword [rcx + r14*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140008cf6
mov rcx, qword [rbp - 0x29]
lea rdx, [0x14000b584]
mov rcx, qword [rcx + r14*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400087ee
mov rcx, qword [rbp - 0x29]
lea rdx, str._quiet
mov rcx, qword [rcx + r14*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400087ee
mov rcx, qword [rbp - 0x29]
lea rdx, str.dijkstra
mov rcx, qword [rcx + r14*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14000852d
lea eax, [rdi + 2]
cmp eax, esi
jge 0x140008b61
mov rcx, qword [rbp - 0x29]
mov eax, 1
mov r14d, eax
mov dword [rbp + 0x67], eax
inc edi
movsxd rax, edi
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rcx, qword [rbp - 0x29]
inc edi
cdqe
mov qword [rbp - 1], rax
movsxd rax, edi
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
cdqe
mov ecx, r14d
mov qword [rbp - 0x21], rax
jmp 0x14000860e
mov rcx, qword [rbp - 0x29]
lea rdx, str.kpaths
mov rcx, qword [rcx + r14*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x1400085a6
lea eax, [rdi + 3]
cmp eax, esi
jge 0x140008b8a
mov rcx, qword [rbp - 0x29]
inc edi
movsxd rax, edi
mov r14d, 2
mov dword [rbp + 0x67], r14d
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rcx, qword [rbp - 0x29]
inc edi
cdqe
mov qword [rbp - 1], rax
movsxd rax, edi
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rcx, qword [rbp - 0x29]
inc edi
movsxd r8, eax
movsxd rax, edi
mov qword [rbp - 0x21], r8
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [rbp - 9], eax
jmp 0x140008605
mov rcx, qword [rbp - 0x29]
lea rdx, str.resource
mov rcx, qword [rcx + r14*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x1400085cb
mov r14d, 3
mov dword [rbp + 0x67], r14d
jmp 0x140008605
mov rcx, qword [rbp - 0x29]
lea rdx, [0x14000b5c4]
mov rcx, qword [rcx + r14*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14000867c
inc edi
cmp edi, esi
jge 0x140008bb3
mov rax, qword [rbp - 0x29]
movsxd rcx, edi
mov rax, qword [rax + rcx*8]
mov qword [rbp + 7], rax
mov r14d, dword [rbp + 0x67]
mov ecx, 1
mov rax, qword [rbp - 0x21]
inc edi
cmp edi, esi
jl 0x140008430
cmp r14d, 1
jne 0x140008869
test r12, r12
je 0x140008b52
mov rsi, qword [rbp - 1]
cmp rsi, 0xffffffffffffffff
je 0x140008cba
cmp rax, 0xffffffffffffffff
je 0x140008cba
xor r9d, r9d
mov qword [rsp + 0x20], r15
xor r8d, r8d
mov rcx, r12
lea edx, [r9 + 9]
call qword [sym.imp.gdal304.dll_GDALOpenEx]
mov rdi, rax
test rax, rax
jne 0x1400087ff
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, [0x14000ba38]
jmp 0x1400089c9
mov rcx, qword [rbp - 0x29]
lea rdx, [0x14000b60c]
mov rcx, qword [rcx + r14*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400087d0
mov rcx, qword [rbp - 0x29]
lea rdx, [0x14000b654]
mov rcx, qword [rcx + r14*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400087d0
mov rcx, qword [rbp - 0x29]
lea rdx, [0x14000b67c]
mov rcx, qword [rcx + r14*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x1400086ed
inc edi
cmp edi, esi
jge 0x140008bdb
mov rax, qword [rbp - 0x29]
movsxd rcx, edi
mov rax, qword [rax + rcx*8]
mov qword [rbp + 0xf], rax
jmp 0x140008601
mov rcx, qword [rbp - 0x29]
lea rdx, str._dsco
mov rcx, qword [rcx + r14*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14000872e
mov rdx, qword [rbp - 0x29]
inc edi
cmp edi, esi
jge 0x140008c03
mov rcx, qword [rbp - 0x19]
movsxd rax, edi
mov rdx, qword [rdx + rax*8]
call qword [sym.imp.gdal304.dll_CSLAddString]
mov qword [rbp - 0x19], rax
jmp 0x140008601
mov rcx, qword [rbp - 0x29]
lea rdx, str._lco
mov rcx, qword [rcx + r14*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14000876f
mov rdx, qword [rbp - 0x29]
inc edi
cmp edi, esi
jge 0x140008c27
mov rcx, qword [rbp - 0x11]
movsxd rax, edi
mov rdx, qword [rdx + rax*8]
call qword [sym.imp.gdal304.dll_CSLAddString]
mov qword [rbp - 0x11], rax
jmp 0x140008601
mov rcx, qword [rbp - 0x29]
lea rdx, str._alo
mov rcx, qword [rcx + r14*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x1400087ae
mov rdx, qword [rbp - 0x29]
inc edi
cmp edi, esi
jge 0x140008c4b
movsxd rax, edi
mov rcx, r13
mov rdx, qword [rdx + rax*8]
call qword [sym.imp.gdal304.dll_CSLAddString]
mov r13, rax
jmp 0x140008601
mov rax, qword [rbp - 0x29]
mov rcx, qword [rax + r14*8]
cmp byte [rcx], 0x2d
je 0x140008c6f
test r12, r12
jne 0x140008601
mov r12, rcx
jmp 0x140008601
inc edi
cmp edi, esi
jge 0x140008c92
mov rax, qword [rbp - 0x29]
movsxd rcx, edi
mov rax, qword [rax + rcx*8]
mov qword [rbp + 0x17], rax
jmp 0x140008601
mov r14d, dword [rbp + 0x67]
mov ecx, 1
mov dword [rbp + 0x7f], ecx
jmp 0x14000860a
mov rax, qword [rax]
mov r12d, 1
mov r8, qword [rbp - 0x21]
mov r9d, r12d
mov rdx, rsi
mov qword [rsp + 0x20], r13
mov rcx, rdi
call qword [rax + 0x208]
mov rdx, qword [rbp + 7]
mov rsi, rax
mov rcx, rax
test rdx, rdx
je 0x140008a34
mov eax, dword [rbp + 0x7f]
mov r14, qword [rbp - 0x19]
mov r9, qword [rbp + 0xf]
mov r8, qword [rbp + 0x17]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call fcn.140009240
test eax, eax
je 0x140008a79
mov r15d, r12d
jmp 0x140008a79
cmp r14d, 2
jne 0x140008986
test r12, r12
je 0x140008cc9
mov rsi, qword [rbp - 1]
cmp rsi, 0xffffffffffffffff
je 0x140008cd8
cmp rax, 0xffffffffffffffff
je 0x140008cd8
xor r9d, r9d
mov qword [rsp + 0x20], r15
xor r8d, r8d
lea edx, [r14 + 7]
mov rcx, r12
call qword [sym.imp.gdal304.dll_GDALOpenEx]
mov rdi, rax
test rax, rax
jne 0x1400088c9
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, [0x14000baa0]
jmp 0x1400089c9
lea rdx, [0x14000bac0]
mov rcx, r13
call qword [sym.imp.gdal304.dll_CSLFindName]
cmp eax, 0xffffffff
jne 0x14000891c
mov r8d, dword [rbp - 9]
lea rdx, str.No_K_in_options__add__d_value
lea rcx, [0x14000b6d4]
call qword [sym.imp.gdal304.dll_CPLDebug]
mov edx, dword [rbp - 9]
lea rcx, [0x14000b704]
call qword [sym.imp.gdal304.dll_CPLSPrintf]
lea rdx, str.num_paths
mov rcx, r13
mov r8, rax
call qword [sym.imp.gdal304.dll_CSLAddNameValue]
mov r13, rax
mov rax, qword [rdi]
mov r9d, 2
mov r8, qword [rbp - 0x21]
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], r13
call qword [rax + 0x208]
mov rdx, qword [rbp + 7]
mov rsi, rax
mov rcx, rax
test rdx, rdx
je 0x140008a34
mov eax, dword [rbp + 0x7f]
mov r14, qword [rbp - 0x19]
mov r9, qword [rbp + 0xf]
mov r8, qword [rbp + 0x17]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call fcn.140009240
test eax, eax
je 0x140008a79
mov r15d, 1
jmp 0x140008a79
cmp r14d, 3
jne 0x140008b3b
test r12, r12
je 0x140008ce7
xor r9d, r9d
mov qword [rsp + 0x20], r15
xor r8d, r8d
lea edx, [r14 + 6]
mov rcx, r12
call qword [sym.imp.gdal304.dll_GDALOpenEx]
mov rdi, rax
test rax, rax
jne 0x140008a06
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str._nFailed_to_open_network_at__s_n
mov rcx, rax
mov r8, r12
call fcn.140001010
mov rcx, qword [rbp - 0x19]
mov r15d, 1
call qword [sym.imp.gdal304.dll_CSLDestroy]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.gdal304.dll_CSLDestroy]
mov rcx, r13
call qword [sym.imp.gdal304.dll_CSLDestroy]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.gdal304.dll_CSLDestroy]
jmp 0x140008ac2
mov rax, qword [rax]
mov r9d, 3
mov r8, qword [rbp - 0x21]
mov rcx, rdi
mov rdx, qword [rbp - 1]
mov qword [rsp + 0x20], r13
call qword [rax + 0x208]
mov rdx, qword [rbp + 7]
mov rsi, rax
mov rcx, rax
test rdx, rdx
jne 0x140008a48
mov edx, r15d
cmp dword [rbp + 0x7f], edx
sete dl
call fcn.140008d10
mov r14, qword [rbp - 0x19]
jmp 0x140008a79
mov eax, dword [rbp + 0x7f]
mov r14, qword [rbp - 0x19]
mov r9, qword [rbp + 0xf]
mov r8, qword [rbp + 0x17]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call fcn.140009240
test eax, eax
mov eax, 1
cmovne r15d, eax
mov rcx, r14
call qword [sym.imp.gdal304.dll_CSLDestroy]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.gdal304.dll_CSLDestroy]
mov rcx, r13
call qword [sym.imp.gdal304.dll_CSLDestroy]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.gdal304.dll_CSLDestroy]
test rsi, rsi
je 0x140008ab4
mov r8, qword [rdi]
mov rdx, rsi
mov rcx, rdi
call qword [r8 + 0x178]
test rdi, rdi
je 0x140008ac2
mov rcx, rdi
call qword [sym.imp.gdal304.dll_GDALClose]
call qword [sym.imp.gdal304.dll_GDALDestroyDriverManager]
mov rcx, rbx
call qword [sym.imp.gdal304.dll_CSLDestroy]
mov eax, r15d
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.RELEASE_NAME
call qword [sym.imp.gdal304.dll_GDALVersionInfo]
mov rdx, qword [rbp - 0x29]
lea r8, str.3.4.3
mov r9, rax
lea rcx, str._s_was_compiled_against_GDAL__s_and_is_running_against_GDAL__s_n
mov rdx, qword [rdx]
call fcn.140001060
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.gdal304.dll_CSLDestroy]
mov rcx, rbx
call qword [sym.imp.gdal304.dll_CSLDestroy]
xor eax, eax
jmp 0x140008ad4
mov ecx, 1
call fcn.1400095a0
int3
lea rcx, str._nNeed_an_operation._See_help_what_you_can_do_with_gnmanalyse:_n
call fcn.140001060
mov ecx, 1
call fcn.1400095a0
int3
mov edx, ecx
lea rcx, [0x14000b9f0]
call fcn.1400095c0
int3
mov rdx, qword [rbp - 0x29]
lea rcx, [0x14000b808]
mov r8d, 2
mov rdx, qword [rdx + r14*8]
call qword [sym.imp.gdal304.dll_CPLSPrintf]
mov rcx, rax
mov edx, 1
call fcn.1400095c0
int3
mov rdx, qword [rbp - 0x29]
lea rcx, [0x14000b890]
mov r8d, 3
mov rdx, qword [rdx + r14*8]
call qword [sym.imp.gdal304.dll_CPLSPrintf]
mov rcx, rax
mov edx, 1
call fcn.1400095c0
int3
mov rdx, qword [rbp - 0x29]
lea rcx, [0x14000b8c8]
mov ebx, 1
mov r8d, ebx
mov rdx, qword [rdx + r14*8]
call qword [sym.imp.gdal304.dll_CPLSPrintf]
mov rcx, rax
mov edx, ebx
call fcn.1400095c0
int3
mov rdx, qword [rbp - 0x29]
lea rcx, [0x14000b918]
mov ebx, 1
mov r8d, ebx
mov rdx, qword [rdx + r14*8]
call qword [sym.imp.gdal304.dll_CPLSPrintf]
mov rcx, rax
mov edx, ebx
call fcn.1400095c0
int3
mov rdx, qword [rdx + r14*8]
lea rcx, [0x14000b948]
mov ebx, 1
mov r8d, ebx
call qword [sym.imp.gdal304.dll_CPLSPrintf]
mov rcx, rax
mov edx, ebx
call fcn.1400095c0
int3
mov rdx, qword [rdx + r14*8]
lea rcx, [0x14000b978]
mov ebx, 1
mov r8d, ebx
call qword [sym.imp.gdal304.dll_CPLSPrintf]
mov rcx, rax
mov edx, ebx
call fcn.1400095c0
int3
mov rdx, qword [rdx + r14*8]
lea rcx, str._s_option_requires__d_argument_s_
mov ebx, 1
mov r8d, ebx
call qword [sym.imp.gdal304.dll_CPLSPrintf]
mov rcx, rax
mov edx, ebx
call fcn.1400095c0
int3
mov rdx, qword [rbp - 0x29]
lea rcx, str.Unknown_option_name__s
mov rdx, qword [rdx + r14*8]
call qword [sym.imp.gdal304.dll_CPLSPrintf]
mov rcx, rax
mov edx, 1
call fcn.1400095c0
int3
mov rdx, qword [rbp - 0x29]
lea rcx, [0x14000b8f0]
mov ebx, 1
mov r8d, ebx
mov rdx, qword [rdx + r14*8]
call qword [sym.imp.gdal304.dll_CPLSPrintf]
mov rcx, rax
mov edx, ebx
call fcn.1400095c0
int3
mov edx, ecx
lea rcx, [0x14000ba10]
call fcn.1400095c0
int3
mov edx, ecx
lea rcx, [0x14000ba58]
call fcn.1400095c0
int3
mov edx, ecx
lea rcx, str.Invalid_input_from_or_to_identificators
call fcn.1400095c0
int3
mov edx, ecx
lea rcx, str.No_network_dataset_provided
call fcn.1400095c0
int3
xor ecx, ecx
call fcn.1400095a0
int3