Function at 0x1400183d0
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 - 0x58], 0xfffffffffffffffe
mov r13, rcx
lea rcx, [rbp + 0x78]
call fcn.140052904
nop
lea rdi, [r13 + 0x26f1]
xor edx, edx
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea r8, [0x140280ee8]
mov rdx, rdi
lea rcx, [rbp + 0xf0]
call fcn.14000a670
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 0x140018453
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x1402816e8]
mov rdx, rdi
lea rcx, [rbp + 0xf8]
call fcn.14000a670
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 0x140018492
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x1402816d8]
mov rdx, rdi
lea rcx, [rbp + 0x100]
call fcn.14000a670
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 0x1400184d1
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.14000a670
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 0x140018510
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.14000a670
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 0x14001854b
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.14000a670
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 0x140018586
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.140037994
mov rsi, qword [rax + 0x18]
lea r8, [0x1402833dc]
mov edx, 0x8c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r14, rax
test rax, rax
jne 0x1400185d5
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.140009e20
xor bl, bl
jmp 0x140018ce2
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, [0x1402816e8]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14000a670
nop
mov r8d, 0x1001
mov rdx, qword [rax]
lea rcx, [rbp + 0x50]
call fcn.140037be0
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140018638
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, esi
mov rdx, r15
lea rcx, [rbp + 0x50]
call fcn.1400388fc
lea r8, [0x1402816e8]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.14000a670
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140018685
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
cmp esi, 0xffffffff
jne 0x1400186a5
mov r8d, 0x15e4
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_GetFileAttributes_fail.
call fcn.140009e20
jmp 0x1400186eb
test sil, 2
jne 0x1400186eb
lea r8, [0x1402816e8]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14000a670
or esi, 2
mov edx, esi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400186eb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 0x50]
call fcn.14003810c
call fcn.140037994
mov rsi, qword [rax + 0x18]
lea r8, [0x1402833dc]
mov edx, 0x8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r14, rax
test rax, rax
jne 0x140018743
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.140009e20
xor bl, bl
jmp 0x140018cd8
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, [0x1402816d8]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14000a670
nop
mov r8d, 0x1001
mov rdx, qword [rax]
lea rcx, [rbp + 0x28]
call fcn.140037be0
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400187a6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, esi
mov rdx, r15
lea rcx, [rbp + 0x28]
call fcn.1400388fc
lea r8, [0x1402816d8]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.14000a670
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400187f3
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
cmp esi, 0xffffffff
jne 0x140018813
mov r8d, 0x15fa
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_GetFileAttributes_fail.
call fcn.140009e20
jmp 0x140018859
test sil, 2
jne 0x140018859
lea r8, [0x1402816d8]
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.14000a670
or esi, 2
mov edx, esi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140018859
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 0x28]
call fcn.14003810c
call fcn.140037994
mov rsi, qword [rax + 0x18]
lea r8, [0x1402833dc]
mov edx, 0x8e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r14, rax
test rax, rax
jne 0x1400188b1
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.140009e20
xor bl, bl
jmp 0x140018cce
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 + 0x60]
call fcn.14000a670
nop
mov r8d, 0x1001
mov rdx, qword [rax]
lea rcx, [rbp]
call fcn.140037be0
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140018914
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, esi
mov rdx, r15
lea rcx, [rbp]
call fcn.1400388fc
lea r8, str.asmfilter64.cat
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.14000a670
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140018961
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
cmp esi, 0xffffffff
jne 0x140018981
mov r8d, 0x1610
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_GetFileAttributes_fail.
call fcn.140009e20
jmp 0x1400189c7
test sil, 2
jne 0x1400189c7
lea r8, str.asmfilter64.cat
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.14000a670
or esi, 2
mov edx, esi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400189c7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp]
call fcn.14003810c
call fcn.140037994
mov rsi, qword [rax + 0x18]
lea r8, [0x1402833dc]
mov edx, 0x87
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r14, rax
test rax, rax
jne 0x140018a1f
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.140009e20
xor bl, bl
jmp 0x140018cc4
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, [rsp + 0x78]
call fcn.14000a670
nop
mov r8d, 0x1001
mov rdx, qword [rax]
lea rcx, [rbp - 0x28]
call fcn.140037be0
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140018a82
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, esi
mov rdx, r15
lea rcx, [rbp - 0x28]
call fcn.1400388fc
lea r8, str.devconAMD64.exe
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.14000a670
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140018acd
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
cmp esi, 0xffffffff
jne 0x140018aed
mov r8d, 0x1625
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_GetFileAttributes_fail.
call fcn.140009e20
jmp 0x140018b31
test sil, 2
jne 0x140018b31
lea r8, str.devconAMD64.exe
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.14000a670
or esi, 2
mov edx, esi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140018b31
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x28]
call fcn.14003810c
cmp byte [r13 + 0x25fe], 0
je 0x140018cb8
call fcn.140037994
mov rsi, qword [rax + 0x18]
lea r8, [0x1402833dc]
mov edx, 0x86
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r14, rax
test rax, rax
jne 0x140018b97
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.140009e20
xor bl, bl
jmp 0x140018cba
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 - 0x70]
call fcn.14000a670
nop
mov r8d, 0x1001
mov rdx, qword [rax]
lea rcx, [rbp - 0x50]
call fcn.140037be0
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140018bf8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, esi
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.1400388fc
lea r8, str.ASMXu424FW.rom
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.14000a670
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140018c43
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
cmp esi, 0xffffffff
jne 0x140018c63
mov r8d, 0x163f
lea rdx, str.CsupdDlg::vExtractResourceFiles
lea rcx, str._r_n_s:_d:_GetFileAttributes_fail.
call fcn.140009e20
jmp 0x140018ca5
test sil, 2
jne 0x140018ca5
lea r8, str.ASMXu424FW.rom
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.14000a670
or esi, 2
mov edx, esi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140018ca5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x50]
call fcn.14003810c
nop
lea rcx, [rbp - 0x50]
call fcn.140037da4
mov bl, 1
lea rcx, [rbp - 0x28]
call fcn.140037da4
nop
lea rcx, [rbp]
call fcn.140037da4
nop
lea rcx, [rbp + 0x28]
call fcn.140037da4
nop
lea rcx, [rbp + 0x50]
call fcn.140037da4
nop
lea rcx, [rbp + 0x78]
call fcn.140052930
movzx eax, bl
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret