Function at 0x1800207d0
Capabilities:
Get file system object information
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x610
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov rax, qword [0x180129050]
xor rax, rsp
mov qword [rsp + 0x600], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x620]
add rax, 0x118
mov rdx, rax
mov rcx, qword [rsp + 0xc0]
call fcn.1800033b0
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.180011720
movzx eax, al
test eax, eax
jne 0x180020891
lea rax, str.path_is_not_exist_
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8d, 0x116
lea rdx, [0x180113830]
lea rcx, [0x180113860]
call fcn.1800fa5c0
mov byte [rsp + 0x48], 0
mov rcx, qword [rsp + 0x628]
call fcn.1800028a0
movzx eax, byte [rsp + 0x48]
jmp 0x180020e2f
xor eax, eax
mov word [rsp + 0x3f0], ax
lea rax, [rsp + 0x3f2]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x620]
add rax, 0x118
mov rcx, rax
call fcn.1800032c0
mov rdx, rax
lea rcx, [rsp + 0x3f0]
call qword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
mov qword [rsp + 0x120], 0
lea rax, [rsp + 0x128]
mov rdi, rax
xor eax, eax
mov ecx, 0x2b0
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0x100
mov r9d, 0x2b8
lea r8, [rsp + 0x120]
xor edx, edx
lea rcx, [rsp + 0x3f0]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [rsp + 0xac], eax
cmp dword [rsp + 0xac], 0
jne 0x180020981
lea rax, [rsp + 0x3f0]
mov qword [rsp + 0x28], rax
lea rax, str.Get_icon_info_fail__path:__s
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8d, 0x120
lea rdx, str..._srcPrivateHelper_toolsExeDetailTool.cpp
lea rcx, str.CExeDetail::SaveToIco
call fcn.1800fa9a0
mov byte [rsp + 0x49], 0
mov rcx, qword [rsp + 0x628]
call fcn.1800028a0
movzx eax, byte [rsp + 0x49]
jmp 0x180020e2f
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x70], 0x20
mov byte [rsp + 0x40], 0
mov dword [rsp + 0xc8], 0
mov dword [rsp + 0xcc], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x4c], 0
mov rcx, qword [rsp + 0x628]
call fcn.1800032c0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 1
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xffffffffffffffff
jne 0x180020a48
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.USER32.dll_DestroyIcon]
mov byte [rsp + 0x47], 0
mov rcx, qword [rsp + 0x628]
call fcn.1800028a0
movzx eax, byte [rsp + 0x47]
jmp 0x180020e2f
lea rax, [rsp + 0x74]
mov rdi, rax
xor eax, eax
mov ecx, 6
rep stosb byte [rdi], al
lea rax, [rsp + 0x3e0]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.USER32.dll_GetIconInfo]
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x58]
lea r8, [rsp + 0xa8]
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x620]
call fcn.1800206e0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x6c]
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x620]
call fcn.1800206e0
mov eax, dword [rsp + 0xa8]
mov ecx, eax
call qword [sym.imp.MSVCR120.dll_malloc]
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x6c]
mov ecx, eax
call qword [sym.imp.MSVCR120.dll_malloc]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x58]
mov ecx, eax
call qword [sym.imp.MSVCR120.dll_malloc]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.MSVCR120.dll_malloc]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x20], 1
mov r9, qword [rsp + 0x80]
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x620]
call fcn.180020650
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x620]
call fcn.180020650
mov eax, 1
mov word [rsp + 0x76], ax
mov eax, 1
mov word [rsp + 0x78], ax
movzx eax, byte [rsp + 0x40]
mov dword [rsp + 0xa0], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
mov r8d, 6
lea rdx, [rsp + 0x74]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsp + 0xa0]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x180020bd5
mov byte [rsp + 0x44], 1
jmp 0x180020bda
mov byte [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 4]
mov byte [rsp + 0x3e0], al
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 8]
mov byte [rsp + 0x3e1], al
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0xc]
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx + 0xe]
imul eax, ecx
mov word [rsp + 0x3e2], ax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x58]
mov dword [rsp + 0x3e8], eax
mov dword [rsp + 0x3ec], 0x16
movzx eax, byte [rsp + 0x40]
mov dword [rsp + 0xa4], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
mov r8d, 0x10
lea rdx, [rsp + 0x3e0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsp + 0xa4]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x180020c8b
mov byte [rsp + 0x41], 1
jmp 0x180020c90
mov byte [rsp + 0x41], 0
movzx eax, byte [rsp + 0x41]
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 8]
shl eax, 1
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 8], eax
movzx eax, byte [rsp + 0x40]
mov dword [rsp + 0x90], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x6c]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsp + 0x90]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x180020cf0
mov byte [rsp + 0x42], 1
jmp 0x180020cf5
mov byte [rsp + 0x42], 0
movzx eax, byte [rsp + 0x42]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x40]
mov dword [rsp + 0xb4], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsp + 0xb4]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x180020d46
mov byte [rsp + 0x43], 1
jmp 0x180020d4b
mov byte [rsp + 0x43], 0
movzx eax, byte [rsp + 0x43]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x40]
mov dword [rsp + 0xb0], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsp + 0xb0]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x180020d9c
mov byte [rsp + 0x45], 1
jmp 0x180020da1
mov byte [rsp + 0x45], 0
movzx eax, byte [rsp + 0x45]
mov byte [rsp + 0x40], al
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.MSVCR120.dll_free]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.MSVCR120.dll_free]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.MSVCR120.dll_free]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCR120.dll_free]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.USER32.dll_DestroyIcon]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x46], al
mov rcx, qword [rsp + 0x628]
call fcn.1800028a0
movzx eax, byte [rsp + 0x46]
mov rcx, qword [rsp + 0x600]
xor rcx, rsp
call fcn.1801077e0
add rsp, 0x610
pop rdi
ret