Function at 0x10009c80
Capabilities:
Delete file
Get common file path
Get file size
Read file via mapping
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee13f
mov eax, dword fs:[0]
push eax
sub esp, 0x320
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x31c], edi
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x310], ecx
mov dword [ebp - 0x220], eax
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp ecx, 0xffffffff
je 0x10009dba
push ecx
push 0
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x320], eax
test eax, eax
jne 0x10009d1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenProcess_fail___d_
push 3
push 0xed
push 0x100fb2f8
push 0x100fb350
call fcn.100e1770
add esp, 0x18
jmp 0x10009dba
xorps xmm0, xmm0
mov dword [ebp - 0x28c], 0
movdqu xmmword [ebp - 0x288], xmm0
mov dword [ebp - 0x304], 0
mov esi, 0xa
lea eax, [ebp - 0x304]
push eax
push 0x14
lea eax, [ebp - 0x28c]
push eax
mov eax, dword [edi + 4]
push 0x10
call eax
mov edi, dword [ebp - 0x304]
push edi
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov dword [ebp - 0x30c], eax
test eax, eax
je 0x10009d93
lea ecx, [ebp - 0x304]
push ecx
push edi
mov edi, dword [ebp - 0x31c]
push eax
push 0x10
mov ecx, dword [edi + 4]
call ecx
test eax, eax
je 0x10009df3
mov eax, dword [ebp - 0x30c]
jmp 0x10009d99
mov edi, dword [ebp - 0x31c]
push eax
dec esi
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
test esi, esi
jg 0x10009d40
push dword [ebp - 0x320]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
xor al, al
mov byte [ebp - 0x305], al
cmp dword [ebp + 0x24], 8
jb 0x10009dd6
push dword [ebp + 0x10]
call esi
mov al, byte [ebp - 0x305]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret 0x20
xorps xmm0, xmm0
movq qword [ebp - 0x228], xmm0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
call fcn.1000cc80
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 1
push eax
call fcn.100096d0
mov edi, dword [ebp - 0x30c]
mov esi, dword [ebp - 0x30c]
mov dword [ebp - 0x2f8], 0
mov byte [ebp - 0x305], 0
cmp dword [edi], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x318], 0
jbe 0x1000a27d
mov edx, dword [ebp - 0x310]
lea eax, [esi + 0xa]
mov dword [ebp - 0x314], eax
xor ecx, ecx
mov edi, edi
cmp dword [eax - 6], edx
jne 0x1000a1d1
movzx eax, word [eax]
push 2
push 0
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2f4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push dword [ebp - 0x328]
mov eax, dword [ebp - 0x31c]
push dword [ebp - 0x320]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x1000a1bf
push 0x5e
push eax
mov word [ebp - 0x2f0], ax
lea eax, [ebp - 0x2ee]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x300], 0
lea eax, [ebp - 0x300]
push eax
push 0x60
lea eax, [ebp - 0x2f0]
push eax
mov eax, dword [ebp - 0x31c]
push 2
push dword [ebp - 0x2f4]
mov eax, dword [eax + 8]
call eax
push dword [ebp - 0x300]
call dword [sym.imp.MSVCR120.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10009f2d
push dword [ebp - 0x2f4]
call edi
jmp 0x1000a1b9
push dword [ebp - 0x300]
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x300]
push eax
push dword [ebp - 0x300]
mov eax, dword [ebp - 0x31c]
push esi
push 2
push dword [ebp - 0x2f4]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10009f7c
push dword [ebp - 0x2f4]
call edi
push esi
mov esi, dword [sym.imp.MSVCR120.dll_free]
call esi
add esp, 4
jmp 0x1000a1b9
push 4
push str.File
push dword [esi + 4]
call dword [sym.imp.MSVCR120.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x10009faa
push dword [ebp - 0x2f4]
call edi
push esi
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
jmp 0x1000a1b9
push esi
call dword [sym.imp.MSVCR120.dll_free]
xor eax, eax
add esp, 4
mov word [ebp - 0x230], ax
mov dword [ebp - 0x22e], eax
mov word [ebp - 0x22a], ax
mov dword [ebp - 0x2fc], eax
lea eax, [ebp - 0x2fc]
push eax
push 8
lea eax, [ebp - 0x230]
push eax
mov eax, dword [ebp - 0x31c]
push 1
push dword [ebp - 0x2f4]
mov eax, dword [eax + 8]
call eax
push dword [ebp - 0x2fc]
call dword [sym.imp.MSVCR120.dll_malloc]
mov esi, eax
add esp, 4
mov dword [ebp - 0x324], esi
test esi, esi
jne 0x1000a01b
push dword [ebp - 0x2f4]
call edi
jmp 0x1000a1b9
push dword [ebp - 0x2fc]
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2fc]
push eax
push dword [ebp - 0x2fc]
mov eax, dword [ebp - 0x31c]
push esi
push 1
push dword [ebp - 0x2f4]
mov eax, dword [eax + 8]
call eax
test eax, eax
jne 0x10009f93
cmp word [esi], ax
je 0x10009f93
push dword [esi + 4]
lea ecx, [ebp - 0x248]
call fcn.10001f10
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x228]
mov eax, dword [ecx]
mov dword [ebp - 0x21c], eax
cmp eax, ecx
je 0x1000a160
lea esi, [eax + 0x10]
push esi
lea ecx, [ebp - 0x260]
call fcn.10002090
lea eax, [esi + 0x18]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x278]
call fcn.10002090
mov byte [ebp - 4], 4
lea eax, [ebp - 0x260]
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x248]
mov esi, dword [ebp - 0x250]
cmovae eax, dword [ebp - 0x260]
push esi
push 0
push eax
call fcn.10006d30
cmp eax, 0xffffffff
jne 0x1000a113
lea ecx, [ebp - 0x278]
call fcn.10002010
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.10002010
lea ecx, [ebp - 0x21c]
call fcn.1000c470
mov eax, dword [ebp - 0x21c]
cmp eax, dword [ebp - 0x228]
jne 0x1000a086
jmp 0x1000a15a
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x278]
push eax
push esi
push 0
lea ecx, [ebp - 0x248]
call fcn.10001580
lea ecx, [ebp - 0x248]
cmp ecx, eax
je 0x1000a140
push 0xffffffffffffffff
push 0
push eax
call fcn.10001a70
lea ecx, [ebp - 0x278]
call fcn.10002010
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.10002010
mov esi, dword [ebp - 0x324]
push esi
mov esi, dword [sym.imp.MSVCR120.dll_free]
call esi
add esp, 4
push dword [ebp - 0x2f4]
call edi
sub esp, 0x18
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x324], esp
push eax
call fcn.10002090
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x248]
mov ecx, esp
push eax
call fcn.10002090
mov byte [ebp - 4], 2
call fcn.10009b40
test al, al
jne 0x1000a1ee
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.10002010
mov esi, dword [ebp - 0x30c]
mov edx, dword [ebp - 0x310]
mov ecx, dword [ebp - 0x318]
mov eax, dword [ebp - 0x314]
inc ecx
add eax, 0x10
mov dword [ebp - 0x318], ecx
mov dword [ebp - 0x314], eax
cmp ecx, dword [esi]
jb 0x10009e80
jmp 0x1000a27d
push 2
push 0
push 0
lea eax, [ebp - 0x2f8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push dword [ebp - 0x328]
push dword [ebp - 0x320]
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x1000a261
push dword [ebp - 0x30c]
call esi
add esp, 4
push dword [ebp - 0x320]
call edi
push str.DuplicateHandle_fail_
push 3
push 0x185
push 0x100fb3e8
push 0x100fb440
call fcn.100e1770
add esp, 0x14
lea ecx, [ebp - 0x248]
call fcn.10002010
xor al, al
mov byte [ebp - 0x305], al
jmp 0x1000a457
lea ecx, [ebp - 0x248]
mov byte [ebp - 0x305], 1
mov byte [ebp - 4], 1
call fcn.10002010
mov esi, dword [ebp - 0x30c]
push esi
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
push dword [ebp - 0x320]
call edi
cmp byte [ebp - 0x305], 0
jne 0x1000a2c3
push str.Found_file_fail_
push 3
push 0x193
push 0x100fb470
push 0x100fb4c8
call fcn.100e1770
add esp, 0x14
xor al, al
mov byte [ebp - 0x305], al
jmp 0x1000a457
push 0
push dword [ebp - 0x2f8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [ebp - 0x218], 0
jne 0x1000a2f7
xor ecx, ecx
jmp 0x1000a30f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a300
sub ecx, edx
sar ecx, 1
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push ecx
push eax
mov ecx, esi
call fcn.10001e10
push 0xd
push str.historyTmp.db
mov ecx, esi
call fcn.10002a70
cmp dword [esi + 0x14], 8
jb 0x1000a33c
mov eax, dword [esi]
jmp 0x1000a33e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
jb 0x1000a34d
mov esi, dword [esi]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000a39d
push dword [ebp - 0x2f8]
call edi
push str.Create_file_fail_
push 3
push 0x1a9
push 0x100fb538
push 0x100fb590
call fcn.100e1770
add esp, 0x14
xor al, al
mov byte [ebp - 0x305], al
jmp 0x1000a457
push 0
push 0
push 0
push 2
push 0
push dword [ebp - 0x2f8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x21c], eax
test eax, eax
jne 0x1000a3f1
push dword [ebp - 0x2f8]
call edi
push 0
call edi
push str.CreateFileMapping_fail_
push 3
push 0x1b2
push 0x100fb5f0
push str.CEdgeHelper::MyCopyFile
call fcn.100e1770
add esp, 0x14
xor al, al
mov byte [ebp - 0x305], al
jmp 0x1000a457
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x324], eax
test eax, eax
je 0x1000a436
mov ecx, dword [ebp - 0x328]
test ecx, ecx
je 0x1000a436
push 0
lea edx, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push edx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x324]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x21c]
call edi
push esi
call edi
push dword [ebp - 0x2f8]
call edi
mov byte [ebp - 0x305], 1
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x228]
push eax
push dword [eax]
lea eax, [ebp - 0x220]
push eax
call fcn.1000c3b0
push dword [ebp - 0x228]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call esi
mov al, byte [ebp - 0x305]
add esp, 4
jmp 0x10009dc2