Function at 0x140016b60
Capabilities:
Create directory
Delete file
Extract resource via kernel32 functions
Get file attributes
Set file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov r13, rcx
lea rcx, [rbp + 0x80]
call fcn.1400504dc
nop
lea rdi, [r13 + 0x26f0]
xor edx, edx
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea r8, [0x14027eed8]
mov rdx, rdi
lea rcx, [rbp + 0xf0]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rbp + 0xf0]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016be6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x14027f758]
mov rdx, rdi
lea rcx, [rbp + 0xf8]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rbp + 0xf8]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016c25
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x14027f748]
mov rdx, rdi
lea rcx, [rbp + 0x100]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rbp + 0x100]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016c64
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, str.asmfilter64.cat
mov rdx, rdi
lea rcx, [rbp + 0x108]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rbp + 0x108]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016ca3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, str.devconAMD64.exe
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016cde
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, str.ASMXu424FW.rom
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016d19
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x14027f798]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016d54
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.140033c28
mov rsi, qword [rax + 0x18]
lea r8, [0x140280e5c]
mov edx, 0x8c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r14, rax
test rax, rax
jne 0x140016da3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, 0x1577
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_FindResource_fail:__d
call fcn.1400095e0
xor bl, bl
jmp 0x1400174ae
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r15, rax
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea r8, [0x14027f758]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140009e30
nop
mov r8d, 0x1001
mov rdx, qword [rax]
lea rcx, [rbp + 0x58]
call fcn.1400359b4
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016e06
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, esi
mov rdx, r15
lea rcx, [rbp + 0x58]
call fcn.14003672c
lea r8, [0x14027f758]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140016e53
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
cmp esi, 0xffffffff
jne 0x140016e73
mov r8d, 0x1581
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_GetFileAttributes_fail.
call fcn.1400095e0
jmp 0x140016eb9
test sil, 2
jne 0x140016eb9
lea r8, [0x14027f758]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140009e30
or esi, 2
mov edx, esi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016eb9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 0x58]
call fcn.140035ee0
call fcn.140033c28
mov rsi, qword [rax + 0x18]
lea r8, [0x140280e5c]
mov edx, 0x8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r14, rax
test rax, rax
jne 0x140016f11
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, 0x158d
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_FindResource_fail:__d
call fcn.1400095e0
xor bl, bl
jmp 0x1400174a4
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r15, rax
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea r8, [0x14027f748]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140009e30
nop
mov r8d, 0x1001
mov rdx, qword [rax]
lea rcx, [rbp + 0x30]
call fcn.1400359b4
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016f74
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, esi
mov rdx, r15
lea rcx, [rbp + 0x30]
call fcn.14003672c
lea r8, [0x14027f748]
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140016fc1
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
cmp esi, 0xffffffff
jne 0x140016fe1
mov r8d, 0x1597
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_GetFileAttributes_fail.
call fcn.1400095e0
jmp 0x140017027
test sil, 2
jne 0x140017027
lea r8, [0x14027f748]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140009e30
or esi, 2
mov edx, esi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140017027
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 0x30]
call fcn.140035ee0
call fcn.140033c28
mov rsi, qword [rax + 0x18]
lea r8, [0x140280e5c]
mov edx, 0x8e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r14, rax
test rax, rax
jne 0x14001707f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, 0x15a3
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_FindResource_fail:__d
call fcn.1400095e0
xor bl, bl
jmp 0x14001749a
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r15, rax
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea r8, str.asmfilter64.cat
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140009e30
nop
mov r8d, 0x1001
mov rdx, qword [rax]
lea rcx, [rbp + 8]
call fcn.1400359b4
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400170e2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, esi
mov rdx, r15
lea rcx, [rbp + 8]
call fcn.14003672c
lea r8, str.asmfilter64.cat
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14001712f
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
cmp esi, 0xffffffff
jne 0x14001714f
mov r8d, 0x15ad
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_GetFileAttributes_fail.
call fcn.1400095e0
jmp 0x140017195
test sil, 2
jne 0x140017195
lea r8, str.asmfilter64.cat
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.140009e30
or esi, 2
mov edx, esi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140017195
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 8]
call fcn.140035ee0
call fcn.140033c28
mov rsi, qword [rax + 0x18]
lea r8, [0x140280e5c]
mov edx, 0x87
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r14, rax
test rax, rax
jne 0x1400171ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, 0x15b8
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_FindResource_fail:__d
call fcn.1400095e0
xor bl, bl
jmp 0x140017490
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r15, rax
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea r8, str.devconAMD64.exe
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140009e30
nop
mov r8d, 0x1001
mov rdx, qword [rax]
lea rcx, [rbp - 0x20]
call fcn.1400359b4
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001724e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, esi
mov rdx, r15
lea rcx, [rbp - 0x20]
call fcn.14003672c
lea r8, str.devconAMD64.exe
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140017299
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
cmp esi, 0xffffffff
jne 0x1400172b9
mov r8d, 0x15c2
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_GetFileAttributes_fail.
call fcn.1400095e0
jmp 0x1400172fd
test sil, 2
jne 0x1400172fd
lea r8, str.devconAMD64.exe
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140009e30
or esi, 2
mov edx, esi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400172fd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x20]
call fcn.140035ee0
cmp byte [r13 + 0x25fe], 0
je 0x140017484
call fcn.140033c28
mov rsi, qword [rax + 0x18]
lea r8, [0x140280e5c]
mov edx, 0x86
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r14, rax
test rax, rax
jne 0x140017363
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, 0x15d2
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_FindResource_fail:__d
call fcn.1400095e0
xor bl, bl
jmp 0x140017486
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r15, rax
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea r8, str.ASMXu424FW.rom
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.140009e30
nop
mov r8d, 0x1001
mov rdx, qword [rax]
lea rcx, [rbp - 0x48]
call fcn.1400359b4
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400173c4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, esi
mov rdx, r15
lea rcx, [rbp - 0x48]
call fcn.14003672c
lea r8, str.ASMXu424FW.rom
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14001740f
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
cmp esi, 0xffffffff
jne 0x14001742f
mov r8d, 0x15dc
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_GetFileAttributes_fail.
call fcn.1400095e0
jmp 0x140017471
test sil, 2
jne 0x140017471
lea r8, str.ASMXu424FW.rom
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.140009e30
or esi, 2
mov edx, esi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140017471
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x48]
call fcn.140035ee0
nop
lea rcx, [rbp - 0x48]
call fcn.140035b78
mov bl, 1
lea rcx, [rbp - 0x20]
call fcn.140035b78
nop
lea rcx, [rbp + 8]
call fcn.140035b78
nop
lea rcx, [rbp + 0x30]
call fcn.140035b78
nop
lea rcx, [rbp + 0x58]
call fcn.140035b78
nop
lea rcx, [rbp + 0x80]
call fcn.140050508
movzx eax, bl
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret