Function at 0x14011f4b0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
sub rsp, 0x160
mov rax, qword [0x140375828]
xor rax, rsp
mov qword [rsp + 0x150], rax
and edx, 7
mov rbx, rcx
cmp edx, 2
jne 0x14011f7fa
mov rax, qword [0x1404975b0]
mov rdx, rcx
movzx ecx, byte [rcx]
xor edi, edi
mov byte [rax], cl
test cl, cl
je 0x14011f51e
nop word [rax + rax]
mov rcx, qword [0x1404975b0]
lea rdx, [rdx + 1]
inc rcx
mov qword [0x1404975b0], rcx
movzx eax, byte [rdx]
mov byte [rcx], al
test al, al
jne 0x14011f500
mov rcx, qword [0x1404975a0]
call fcn.14011ed10
test eax, eax
jne 0x14011f560
movzx ecx, byte [rbx]
mov rax, qword [0x1404975b8]
mov byte [rax], cl
test cl, cl
je 0x14011f56f
nop
mov rcx, qword [0x1404975b8]
lea rbx, [rbx + 1]
inc rcx
mov qword [0x1404975b8], rcx
movzx eax, byte [rbx]
mov byte [rcx], al
test al, al
jne 0x14011f540
jmp 0x14011f56f
lea rdx, [0x1404975b8]
mov rcx, rbx
call fcn.140120910
mov rax, qword [0x1404975b0]
lea rdx, [0x140497288]
sub rax, qword [0x1404975a0]
mov ebp, 1
mov rcx, qword [0x1404975a8]
cmp rax, 0x101
cmovg edi, ebp
call fcn.140121c00
test eax, eax
je 0x14011f745
cmp dword [0x1403a7120], 0
jne 0x14011f5d3
mov rcx, qword [0x1404975a0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1404975a8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 0x200
jmp 0x14011fd76
test edi, edi
je 0x14011f644
mov r8d, 0x4000
mov rcx, qword [0x1404975a0]
lea rdx, [0x14048f178]
call fcn.1401608c0
mov r8, rax
lea rdx, str.checkdir_error:__path_too_long:__s_n
lea rcx, [0x140487178]
call fcn.1400e1500
mov r8d, eax
lea rdx, [0x140487178]
mov r9d, ebp
lea rcx, [0x1403a7080]
call qword [0x140497538]
mov rcx, qword [0x1404975a0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1404975a8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 0x400
jmp 0x14011fd76
mov rcx, qword [0x1404975a8]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
cmp eax, 0xffffffff
jne 0x14011f6ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14d, 0x4000
lea rdx, [0x14048f178]
mov r8d, r14d
lea rcx, [0x14049731c]
mov rbx, rax
call fcn.1401608c0
mov ecx, dword [rbx]
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov rcx, qword [0x1404975a8]
lea rdx, [0x140493178]
mov r8d, r14d
mov rbx, rax
call fcn.1401608c0
mov r8, rax
mov qword [rsp + 0x20], rdi
mov r9, rbx
lea rdx, str.checkdir_error:__cannot_create__s_n__________________s_n_________________unable_to_process__s._n
lea rcx, [0x140487178]
call fcn.1400e1500
mov r8d, eax
lea rdx, [0x140487178]
mov r9d, ebp
lea rcx, [0x1403a7080]
call qword [0x140497538]
mov rcx, qword [0x1404975a0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1404975a8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 0x300
jmp 0x14011fd76
mov dword [0x14049757c], ebp
mov rax, qword [0x1404975b0]
mov byte [rax], 0x2f
mov rax, qword [0x1404975b8]
inc qword [0x1404975b0]
mov byte [rax], 0x2f
mov rax, qword [0x1404975b8]
inc rax
mov qword [0x1404975b8], rax
mov byte [rax], 0
mov rax, qword [0x1404975b0]
mov byte [rax], 0
xor eax, eax
jmp 0x14011fd76
movzx eax, word [0x14049728e]
mov ecx, 0xf000
and ax, cx
mov r14d, 0x4000
cmp ax, r14w
je 0x14011f7ea
mov r8d, r14d
lea rdx, [0x14048f178]
lea rcx, [0x14049731c]
call fcn.1401608c0
mov rcx, qword [0x1404975a8]
lea rdx, [0x140493178]
mov r8d, r14d
mov rbx, rax
call fcn.1401608c0
mov r8, rax
lea rdx, str.checkdir_error:___s_exists_but_is_not_directory_n_________________unable_to_process__s._n
mov r9, rbx
lea rcx, [0x140487178]
call fcn.1400e1500
mov r8d, eax
lea rdx, [0x140487178]
mov r9d, ebp
lea rcx, [0x1403a7080]
call qword [0x140497538]
mov rcx, qword [0x1404975a0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1404975a8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 0x300
jmp 0x14011fd76
test edi, edi
je 0x14011f705
mov r8, r14
jmp 0x14011f5dd
cmp edx, 4
jne 0x14011f860
mov rcx, qword [0x1404975a8]
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x14011f810
mov rcx, qword [0x1404975a8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1404975a0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor edi, edi
mov qword [0x1404975b8], rdi
xor eax, eax
mov qword [0x1404975b0], rdi
mov qword [0x1404975a8], rdi
mov qword [0x1404975a0], rdi
jmp 0x14011fd76
cmp edx, 3
jne 0x14011f9b6
mov rax, qword [0x1404975b0]
mov rdx, rcx
movzx ecx, byte [rcx]
xor edi, edi
mov byte [rax], cl
test cl, cl
je 0x14011f89e
nop
mov rcx, qword [0x1404975b0]
lea rdx, [rdx + 1]
inc rcx
mov qword [0x1404975b0], rcx
movzx eax, byte [rdx]
mov byte [rcx], al
test al, al
jne 0x14011f880
mov rax, qword [0x1404975b0]
mov rcx, qword [0x1404975a0]
sub rax, rcx
cmp rax, 0x104
jl 0x14011f935
mov byte [rcx + 0x103], dil
lea rdx, [0x140493178]
mov rcx, qword [0x1404975a0]
mov r14d, 0x4000
mov r8d, r14d
call fcn.1401608c0
mov r8d, r14d
lea rdx, [0x14048f178]
lea rcx, [0x14049731c]
mov rdi, rax
call fcn.1401608c0
mov r8, rax
lea rdx, str.checkdir_warning:__path_too_long__truncating_n________________s_n____________________s_n
mov r9, rdi
lea rcx, [0x140487178]
call fcn.1400e1500
mov r8d, eax
lea rdx, [0x140487178]
mov r9d, 1
lea rcx, [0x1403a7080]
call qword [0x140497538]
mov rcx, qword [0x1404975a0]
mov edi, 0x100
mov rax, qword [0x140487170]
test byte [rax + 0x28], 0x20
jne 0x14011f95c
call fcn.14011ed10
test eax, eax
je 0x14011f95c
lea rdx, [0x1404975b8]
mov rcx, rbx
call fcn.140120910
jmp 0x14011f98e
movzx ecx, byte [rbx]
mov rax, qword [0x1404975b8]
mov byte [rax], cl
test cl, cl
je 0x14011f98e
nop dword [rax]
mov rax, qword [0x1404975b8]
lea rbx, [rbx + 1]
inc rax
mov qword [0x1404975b8], rax
movzx ecx, byte [rbx]
mov byte [rax], cl
test cl, cl
jne 0x14011f970
mov rcx, qword [0x1404975b8]
mov rax, qword [0x1404975a8]
sub rcx, rax
cmp rcx, 0x104
jl 0x14011f9af
mov byte [rax + 0x103], 0
mov eax, edi
jmp 0x14011fd76
cmp edx, 1
jne 0x14011fc21
mov ecx, dword [0x140497584]
mov eax, dword [0x1404976d4]
inc eax
add ecx, eax
movsxd rcx, ecx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [0x1404975a0], rax
test rax, rax
je 0x14011fa16
mov ecx, dword [0x140497584]
mov eax, dword [0x1404976d4]
inc eax
add ecx, eax
movsxd rcx, ecx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [0x1404975a8], rax
test rax, rax
jne 0x14011fa20
mov rcx, qword [0x1404975a0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 0xa00
jmp 0x14011fd76
mov rax, qword [0x140487170]
test byte [rax + 0x28], 0x20
je 0x14011fb59
cmp dword [0x140497580], 0
je 0x14011fa57
cmp byte [rbx + 1], 0x3a
jne 0x14011fa81
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov rcx, qword [0x1404975a0]
mov byte [rcx], al
jmp 0x14011fafb
cmp dword [0x1404976d4], 1
jle 0x14011fa81
mov rax, qword [0x140497598]
cmp byte [rax + 1], 0x3a
jne 0x14011fa81
movsx ecx, byte [rax]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov rcx, qword [0x1404975a0]
mov byte [rcx], al
jmp 0x14011fafb
lea r9, [rsp + 0x30]
mov edx, 0x104
lea r8, [rsp + 0x40]
lea rcx, [0x1402b7830]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
cmp eax, 0x104
jbe 0x14011fade
lea rdx, str.checkdir_warning:_current_dir_path_too_long_n
lea rcx, [0x140487178]
call fcn.1400e1500
mov r8d, eax
lea rdx, [0x140487178]
mov r9d, 1
lea rcx, [0x1403a7080]
call qword [0x140497538]
mov eax, 0x100
jmp 0x14011fd76
movsx eax, byte [rsp + 0x40]
sub eax, 0x60
mov dword [0x140497588], eax
movzx ecx, al
mov rax, qword [0x1404975a0]
add cl, 0x60
mov byte [rax], cl
mov rcx, qword [0x1404975a0]
mov edx, dword [0x1403a70cc]
movsx eax, byte [rcx]
sub eax, 0x60
mov dword [0x140497588], eax
test edx, edx
je 0x14011fb3c
cmp byte [rcx], 0x61
jl 0x14011fb3c
cmp edx, 1
jne 0x14011fb34
mov ecx, eax
call fcn.1401208d0
mov rcx, qword [0x1404975a0]
test eax, eax
je 0x14011fb3c
mov byte [rcx], 0
jmp 0x14011fbbd
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1404975a8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 0x1100
jmp 0x14011fd76
cmp dword [0x140497580], 0
je 0x14011fb83
mov rcx, qword [0x1404975a0]
nop dword [rax]
movzx eax, byte [rbx]
lea rbx, [rbx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x14011fb70
jmp 0x14011fbbd
cmp dword [0x1404976d4], 0
jle 0x14011fbb3
mov rcx, qword [0x140497598]
mov rdx, qword [0x1404975a0]
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x14011fba0
jmp 0x14011fbbd
mov rax, qword [0x1404975a0]
mov byte [rax], 0
mov rax, qword [0x1404975a0]
mov rcx, qword [0x1404975a8]
mov qword [0x1404975b8], rcx
mov qword [0x1404975b0], rax
movzx eax, byte [rax]
mov byte [rcx], al
mov rcx, qword [0x1404975b8]
cmp byte [rcx], 0
je 0x14011f73e
nop
mov rax, qword [0x1404975b0]
inc rcx
inc rax
mov qword [0x1404975b8], rcx
mov qword [0x1404975b0], rax
movzx eax, byte [rax]
mov byte [rcx], al
test al, al
je 0x14011f73e
mov rcx, qword [0x1404975b8]
jmp 0x14011fbf0
test edx, edx
jne 0x14011fe61
test rcx, rcx
je 0x14011fe7c
cmp dword [0x1404976d4], edx
jg 0x14011f73e
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x14011fc42
mov qword [rsp + 0x188], rsi
mov qword [rsp + 0x190], r15
mov dword [0x1404976d4], eax
test eax, eax
jle 0x14011fe5a
add eax, 3
xor edi, edi
movsxd rcx, eax
mov r15d, edi
mov r14d, edi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14011fe4a
mov rcx, rax
sub rcx, rbx
nop
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x14011fc90
movzx ecx, byte [rsi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
mov ebp, 1
test eax, eax
je 0x14011fcb8
cmp byte [rsi + 1], 0x3a
cmove r14d, ebp
movsxd rcx, dword [0x1404976d4]
movzx edx, byte [rcx + rsi - 1]
cmp dl, 0x2f
je 0x14011fcce
cmp dl, 0x5c
jne 0x14011fce6
dec ecx
mov r15d, ebp
movsxd rax, ecx
mov dword [0x1404976d4], ecx
mov byte [rax + rsi], dil
mov ecx, dword [0x1404976d4]
test r14d, r14d
je 0x14011fd10
cmp ecx, 2
jne 0x14011fd10
test r15d, r15d
jne 0x14011fe06
mov byte [rsi + 2], 0x2e
mov ecx, dword [0x1404976d4]
inc ecx
mov dword [0x1404976d4], ecx
jmp 0x14011fe06
test ecx, ecx
jle 0x14011fe06
lea rdx, [0x140497288]
mov rcx, rsi
call fcn.140121c00
mov r14d, 0x4000
test eax, eax
jne 0x14011fd4a
movzx eax, word [0x14049728e]
mov ecx, 0xf000
and ax, cx
cmp ax, r14w
je 0x14011fe00
cmp dword [0x1403a7120], edi
mov rcx, rsi
jne 0x14011fd9a
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 0x200
mov dword [0x1404976d4], edi
mov rsi, qword [rsp + 0x188]
mov r15, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401dd140
mov rbx, qword [rsp + 0x198]
add rsp, 0x160
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
cmp eax, 0xffffffff
jne 0x14011fe00
mov r8, r14
lea rdx, [0x14048f178]
mov rcx, rsi
call fcn.1401608c0
mov r8, rax
lea rdx, str.checkdir:__cannot_create_extraction_directory:__s_n
lea rcx, [0x140487178]
call fcn.1400e1500
mov r8d, eax
lea rdx, [0x140487178]
mov r9d, ebp
lea rcx, [0x1403a7080]
call qword [0x140497538]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 0x300
mov dword [0x1404976d4], edi
jmp 0x14011fd66
mov ecx, dword [0x1404976d4]
movsxd rax, ecx
mov rcx, rsi
mov byte [rax + rsi], 0x2f
mov eax, dword [0x1404976d4]
inc eax
mov dword [0x1404976d4], eax
cdqe
mov byte [rax + rsi], dil
mov eax, dword [0x1404976d4]
inc eax
movsxd rdx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov qword [0x140497598], rax
test rax, rax
jne 0x14011fe5a
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [0x1404976d4], edi
mov eax, 0xa00
jmp 0x14011fd66
xor eax, eax
jmp 0x14011fd66
cmp edx, 5
jne 0x14011fe8b
cmp dword [0x1404976d4], 0
jle 0x14011fe84
mov rcx, qword [0x140497598]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor edi, edi
mov dword [0x1404976d4], edi
xor eax, eax
jmp 0x14011fd76
mov eax, 0x6300
jmp 0x14011fd76