Function at 0x1400023d0
Capabilities:
Terminate process

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
movsxd rsi, ecx
mov r14, rdx
mov edx, 8
lea eax, [rsi + 1]
movsxd rcx, eax
call qword [sym.imp.gdal304.dll_CPLCalloc]
xor r15d, r15d
mov qword [rsp + 0xa8], rax
mov rbx, rax
test esi, esi
jle 0x140002447
mov ebx, r15d
nop dword [rax + rax]
mov rcx, qword [r14 + 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 [rsp + 0xa8]
mov qword [rax + rbx*8], rcx
inc rbx
cmp rbx, rsi
jl 0x140002410
mov rbx, qword [rsp + 0xa8]
mov rdx, rbx
mov ecx, esi
call qword [sym.imp.gdal304.dll_EarlySetConfigOptions]
call qword [sym.imp.gdal304.dll_GDALAllRegister]
xor r8d, r8d
lea rdx, [rsp + 0xa8]
mov ecx, esi
call qword [sym.imp.gdal304.dll_GDALGeneralCmdLineProcessor]
cmp eax, 1
jge 0x14000247b
neg eax
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x98], rbp
test rax, rax
je 0x1400024e3
mov rdi, r15
mov rcx, qword [rdi + rax]
test rcx, rcx
je 0x1400024e3
lea rdx, str.__utility_version
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140002691
mov rcx, qword [rsp + 0xa8]
lea rdx, str.__help
mov rcx, qword [rdi + rcx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140002729
mov rax, qword [rsp + 0xa8]
add rdi, 8
test rax, rax
jne 0x140002493
mov r14d, 1
mov edx, 0x20
mov ecx, r14d
call qword [sym.imp.gdal304.dll_CPLCalloc]
mov rcx, qword [rsp + 0xa8]
mov rdx, rax
add rcx, 8
mov rdi, rax
call qword [sym.imp.gdal304.dll_GDALBuildVRTOptionsNew]
mov rcx, qword [rsp + 0xa8]
mov rbp, rax
call qword [sym.imp.gdal304.dll_CSLDestroy]
test rbp, rbp
je 0x140002729
cmp qword [rdi + 0x10], r15
je 0x140002731
cmp dword [rdi + 0x18], r15d
jne 0x14000254c
mov rdx, qword [sym.imp.gdal304.dll_GDALTermProgress]
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.gdal304.dll_GDALBuildVRTOptionsSetProgress]
cmp dword [rdi + 0x1c], r15d
jne 0x1400025dd
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x30]
call qword [sym.imp.gdal304.dll_VSIStat]
test eax, eax
jne 0x1400025dd
mov rcx, qword [rdi + 0x10]
xor edx, edx
call qword [sym.imp.gdal304.dll_GDALIdentifyDriver]
mov rsi, rax
test rax, rax
je 0x1400025dd
mov rcx, rax
call qword [sym.imp.gdal304.dll_GDALGetDriverShortName]
mov rcx, rax
lea rdx, [0x140003af4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400025dd
mov rcx, rsi
call qword [sym.imp.gdal304.dll_GDALGetDriverShortName]
mov rcx, rax
lea rdx, str.API_PROXY
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x1400026ec
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.gdal304.dll_CPLGetExtension]
mov rcx, rax
lea rdx, [0x140003b7c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x1400026ec
mov dword [rsp + 0x90], r15d
lea rax, [rsp + 0x90]
mov r9, qword [rdi + 8]
xor r8d, r8d
mov edx, dword [rdi]
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.gdal304.dll_GDALBuildVRT]
mov rsi, rax
cmp dword [rsp + 0x90], r15d
jne 0x140002729
test rax, rax
mov rcx, rbp
sete r15b
call qword [sym.imp.gdal304.dll_GDALBuildVRTOptionsFree]
mov rcx, qword [rdi + 8]
call qword [sym.imp.gdal304.dll_CSLDestroy]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.gdal304.dll_VSIFree]
mov rcx, rdi
call qword [sym.imp.gdal304.dll_VSIFree]
call qword [sym.imp.gdal304.dll_CPLErrorReset]
mov rcx, rsi
call qword [sym.imp.gdal304.dll_GDALClose]
call qword [sym.imp.gdal304.dll_CPLGetLastErrorType]
test eax, eax
mov ecx, 2
cmovne r15d, r14d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.gdal304.dll_GDALDumpOpenDatasets]
call qword [sym.imp.gdal304.dll_GDALDestroyDriverManager]
call qword [sym.imp.gdal304.dll_OGRCleanupAll]
mov rcx, rbx
call qword [sym.imp.gdal304.dll_CSLDestroy]
mov eax, r15d
jmp 0x1400026d8
lea rcx, str.RELEASE_NAME
call qword [sym.imp.gdal304.dll_GDALVersionInfo]
mov rdx, qword [rsp + 0xa8]
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 [rsp + 0xa8]
call qword [sym.imp.gdal304.dll_CSLDestroy]
mov rcx, rbx
call qword [sym.imp.gdal304.dll_CSLDestroy]
xor eax, eax
mov rbp, qword [rsp + 0x98]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov rcx, rsi
call qword [sym.imp.gdal304.dll_GDALGetDriverShortName]
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea rdx, str._s_is_an_existing_GDAL_dataset_managed_by__s_driver._nThere_is_an_high_chance_you_did_not_put_filenames_in_the_right_order._nIf_you_want_to_overwrite__s__add__overwrite_option_to_the_command_line._n_n
mov rcx, rax
mov rax, qword [rdi + 0x10]
mov r8, rax
mov qword [rsp + 0x20], rax
call fcn.140001010
xor ecx, ecx
call fcn.1400027b0
int3
xor ecx, ecx
call fcn.1400027b0
int3
lea rcx, str.No_target_filename_specified.
call fcn.1400027b0
int3