Function at 0x140017460
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.140051410
nop
lea rdi, [r13 + 0x26f1]
xor edx, edx
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea r8, [0x14027fed8]
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 0x1400174e6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x140280800]
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 0x140017525
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x1402807f0]
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 0x140017564
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 0x1400175a3
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 0x1400175de
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 0x140017619
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x140280840]
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 0x140017654
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.140034a90
mov rsi, qword [rax + 0x18]
lea r8, [0x140281fec]
mov edx, 0x8c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r14, rax
test rax, rax
jne 0x1400176a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, 0x15da
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_FindResource_fail:__d
call fcn.1400095e0
xor bl, bl
jmp 0x140017dae
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, [0x140280800]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140009e30
nop
mov r8d, 0x1001
mov rdx, qword [rax]
lea rcx, [rbp + 0x58]
call fcn.140036730
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140017706
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.1400374a8
lea r8, [0x140280800]
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 0x140017753
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
cmp esi, 0xffffffff
jne 0x140017773
mov r8d, 0x15e4
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_GetFileAttributes_fail.
call fcn.1400095e0
jmp 0x1400177b9
test sil, 2
jne 0x1400177b9
lea r8, [0x140280800]
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 0x1400177b9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 0x58]
call fcn.140036c5c
call fcn.140034a90
mov rsi, qword [rax + 0x18]
lea r8, [0x140281fec]
mov edx, 0x8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r14, rax
test rax, rax
jne 0x140017811
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, 0x15f0
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_FindResource_fail:__d
call fcn.1400095e0
xor bl, bl
jmp 0x140017da4
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, [0x1402807f0]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140009e30
nop
mov r8d, 0x1001
mov rdx, qword [rax]
lea rcx, [rbp + 0x30]
call fcn.140036730
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140017874
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.1400374a8
lea r8, [0x1402807f0]
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 0x1400178c1
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
cmp esi, 0xffffffff
jne 0x1400178e1
mov r8d, 0x15fa
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_GetFileAttributes_fail.
call fcn.1400095e0
jmp 0x140017927
test sil, 2
jne 0x140017927
lea r8, [0x1402807f0]
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 0x140017927
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 0x30]
call fcn.140036c5c
call fcn.140034a90
mov rsi, qword [rax + 0x18]
lea r8, [0x140281fec]
mov edx, 0x8e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r14, rax
test rax, rax
jne 0x14001797f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, 0x1606
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_FindResource_fail:__d
call fcn.1400095e0
xor bl, bl
jmp 0x140017d9a
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.140036730
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400179e2
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.1400374a8
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 0x140017a2f
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
cmp esi, 0xffffffff
jne 0x140017a4f
mov r8d, 0x1610
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_GetFileAttributes_fail.
call fcn.1400095e0
jmp 0x140017a95
test sil, 2
jne 0x140017a95
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 0x140017a95
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 8]
call fcn.140036c5c
call fcn.140034a90
mov rsi, qword [rax + 0x18]
lea r8, [0x140281fec]
mov edx, 0x87
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r14, rax
test rax, rax
jne 0x140017aed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, 0x161b
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_FindResource_fail:__d
call fcn.1400095e0
xor bl, bl
jmp 0x140017d90
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.140036730
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140017b4e
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.1400374a8
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 0x140017b99
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
cmp esi, 0xffffffff
jne 0x140017bb9
mov r8d, 0x1625
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_GetFileAttributes_fail.
call fcn.1400095e0
jmp 0x140017bfd
test sil, 2
jne 0x140017bfd
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 0x140017bfd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x20]
call fcn.140036c5c
cmp byte [r13 + 0x25fe], 0
je 0x140017d84
call fcn.140034a90
mov rsi, qword [rax + 0x18]
lea r8, [0x140281fec]
mov edx, 0x86
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r14, rax
test rax, rax
jne 0x140017c63
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, 0x1635
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_FindResource_fail:__d
call fcn.1400095e0
xor bl, bl
jmp 0x140017d86
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.140036730
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140017cc4
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.1400374a8
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 0x140017d0f
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
cmp esi, 0xffffffff
jne 0x140017d2f
mov r8d, 0x163f
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_GetFileAttributes_fail.
call fcn.1400095e0
jmp 0x140017d71
test sil, 2
jne 0x140017d71
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 0x140017d71
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x48]
call fcn.140036c5c
nop
lea rcx, [rbp - 0x48]
call fcn.1400368f4
mov bl, 1
lea rcx, [rbp - 0x20]
call fcn.1400368f4
nop
lea rcx, [rbp + 8]
call fcn.1400368f4
nop
lea rcx, [rbp + 0x30]
call fcn.1400368f4
nop
lea rcx, [rbp + 0x58]
call fcn.1400368f4
nop
lea rcx, [rbp + 0x80]
call fcn.14005143c
movzx eax, bl
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret