Function at 0x1000a100
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 0x1010c49f
mov eax, dword fs:[0]
push eax
sub esp, 0x320
mov eax, dword [0x10152034]
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 0x1000a23a
push ecx
push 0
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x320], eax
test eax, eax
jne 0x1000a19c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenProcess_fail___d_
push 3
push 0xed
push 0x1011a498
push 0x1011a4f0
call fcn.100ffcc0
add esp, 0x18
jmp 0x1000a23a
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 0x1000a213
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 0x1000a273
mov eax, dword [ebp - 0x30c]
jmp 0x1000a219
mov edi, dword [ebp - 0x31c]
push eax
dec esi
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
test esi, esi
jg 0x1000a1c0
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 0x1000a256
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.1010a06b
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.1000d1d0
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 1
push eax
call fcn.10009b50
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 0x1000a6fd
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 0x1000a651
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 0x1000a63f
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 0x1000a3ad
push dword [ebp - 0x2f4]
call edi
jmp 0x1000a639
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 0x1000a3fc
push dword [ebp - 0x2f4]
call edi
push esi
mov esi, dword [sym.imp.MSVCR120.dll_free]
call esi
add esp, 4
jmp 0x1000a639
push 4
push str.File
push dword [esi + 4]
call dword [sym.imp.MSVCR120.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x1000a42a
push dword [ebp - 0x2f4]
call edi
push esi
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
jmp 0x1000a639
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 0x1000a49b
push dword [ebp - 0x2f4]
call edi
jmp 0x1000a639
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 0x1000a413
cmp word [esi], ax
je 0x1000a413
push dword [esi + 4]
lea ecx, [ebp - 0x248]
call fcn.10002200
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x228]
mov eax, dword [ecx]
mov dword [ebp - 0x21c], eax
cmp eax, ecx
je 0x1000a5e0
lea esi, [eax + 0x10]
push esi
lea ecx, [ebp - 0x260]
call fcn.10002390
lea eax, [esi + 0x18]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x278]
call fcn.10002390
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.10007090
cmp eax, 0xffffffff
jne 0x1000a593
lea ecx, [ebp - 0x278]
call fcn.10002300
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.10002300
lea ecx, [ebp - 0x21c]
call fcn.1000c9f0
mov eax, dword [ebp - 0x21c]
cmp eax, dword [ebp - 0x228]
jne 0x1000a506
jmp 0x1000a5da
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x278]
push eax
push esi
push 0
lea ecx, [ebp - 0x248]
call fcn.100017c0
lea ecx, [ebp - 0x248]
cmp ecx, eax
je 0x1000a5c0
push 0xffffffffffffffff
push 0
push eax
call fcn.10001d60
lea ecx, [ebp - 0x278]
call fcn.10002300
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.10002300
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.10002390
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x248]
mov ecx, esp
push eax
call fcn.10002390
mov byte [ebp - 4], 2
call fcn.10009fc0
test al, al
jne 0x1000a66e
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.10002300
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 0x1000a300
jmp 0x1000a6fd
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 0x1000a6e1
push dword [ebp - 0x30c]
call esi
add esp, 4
push dword [ebp - 0x320]
call edi
push str.DuplicateHandle_fail_
push 3
push 0x185
push 0x1011a588
push 0x1011a5e0
call fcn.100ffcc0
add esp, 0x14
lea ecx, [ebp - 0x248]
call fcn.10002300
xor al, al
mov byte [ebp - 0x305], al
jmp 0x1000a8d7
lea ecx, [ebp - 0x248]
mov byte [ebp - 0x305], 1
mov byte [ebp - 4], 1
call fcn.10002300
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 0x1000a743
push str.Found_file_fail_
push 3
push 0x193
push 0x1011a610
push 0x1011a668
call fcn.100ffcc0
add esp, 0x14
xor al, al
mov byte [ebp - 0x305], al
jmp 0x1000a8d7
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 0x1000a777
xor ecx, ecx
jmp 0x1000a78f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a780
sub ecx, edx
sar ecx, 1
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push ecx
push eax
mov ecx, esi
call fcn.10002100
push 0xd
push str.historyTmp.db
mov ecx, esi
call fcn.10002d80
cmp dword [esi + 0x14], 8
jb 0x1000a7bc
mov eax, dword [esi]
jmp 0x1000a7be
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
jb 0x1000a7cd
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 0x1000a81d
push dword [ebp - 0x2f8]
call edi
push str.Create_file_fail_
push 3
push 0x1a9
push 0x1011a6d8
push 0x1011a730
call fcn.100ffcc0
add esp, 0x14
xor al, al
mov byte [ebp - 0x305], al
jmp 0x1000a8d7
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 0x1000a871
push dword [ebp - 0x2f8]
call edi
push 0
call edi
push str.CreateFileMapping_fail_
push 3
push 0x1b2
push 0x1011a790
push str.CEdgeHelper::MyCopyFile
call fcn.100ffcc0
add esp, 0x14
xor al, al
mov byte [ebp - 0x305], al
jmp 0x1000a8d7
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 0x1000a8b6
mov ecx, dword [ebp - 0x328]
test ecx, ecx
je 0x1000a8b6
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.1000c820
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 0x1000a242