Function at 0x100fc00
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2988
call fcn.01011460
mov dword [ebp - 0x114], 1
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
push 0x10027a4
lea ecx, [ebp - 0x2268]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x2268]
push edx
call fcn.0100e7b0
lea eax, [ebp - 0x110]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100fca8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1002780
lea ecx, [ebp - 0x245c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 1
call fcn.0100b7bd
push 0
lea edx, [ebp - 0x245c]
push edx
mov eax, dword [0x10149c4]
push eax
call sub.GUtils.dll_Trace_Error
mov dword [0x101523c], eax
push 0
call fcn.0100b7bd
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x100fd1d
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0x100277c
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100fd1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1002754
lea eax, [ebp - 0x2650]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 1
call fcn.0100b7bd
push 0
lea ecx, [ebp - 0x2650]
push ecx
mov edx, dword [0x10149c4]
push edx
call sub.GUtils.dll_Trace_Error
mov dword [0x101523c], eax
push 0
call fcn.0100b7bd
xor eax, eax
jmp 0x10100d0
cmp dword [ebp - 4], 0
je 0x100fd9e
push 0
push pe_nt_image_headers32
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x2130], eax
cmp dword [ebp - 0x2130], 0xffffffff
jne 0x100fd9c
lea ecx, [ebp - 0x110]
push ecx
push 0x100272c
lea edx, [ebp - 0x2844]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 1
call fcn.0100b7bd
push 0
lea eax, [ebp - 0x2844]
push eax
mov ecx, dword [0x10149c4]
push ecx
call sub.GUtils.dll_Trace_Error
mov dword [0x101523c], eax
push 0
call fcn.0100b7bd
mov dword [ebp - 4], 0
jmp 0x100fda8
mov dword [ebp - 0x2130], 0xffffffff
mov dword [ebp - 0x118], 1
jmp 0x100fdc3
mov edx, dword [ebp - 0x118]
add edx, 1
mov dword [ebp - 0x118], edx
push 0x2014
lea eax, [ebp - 0x212c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0100ec70
mov dword [ebp - 0x2848], eax
cmp dword [ebp - 0x2848], 0
jg 0x100fe1e
mov edx, dword [ebp - 0x2848]
push edx
push 0x1002708
lea eax, [ebp - 0x2898]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x2898]
push ecx
call fcn.0100e7b0
mov dword [ebp - 0x114], 0
jmp 0x1010083
cmp dword [ebp - 0x2128], 0xa98ac7
je 0x100fea2
mov edx, dword [ebp - 0x211c]
push edx
mov eax, dword [ebp - 0x2120]
push eax
mov ecx, dword [ebp - 0x2124]
push ecx
mov edx, dword [ebp - 0x2128]
push edx
mov eax, dword [ebp - 0x212c]
push eax
push 0x10026d4
lea ecx, [ebp - 0x28e8]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
lea edx, [ebp - 0x28e8]
push edx
call fcn.0100e7b0
push 1
call fcn.0100b7bd
push 0
push 0x10026b0
mov eax, dword [0x10149c4]
push eax
call sub.GUtils.dll_Trace_Error
mov dword [0x101523c], eax
push 0
call fcn.0100b7bd
mov dword [ebp - 0x114], 0
jmp 0x1010083
mov ecx, dword [ebp - 0x118]
cmp ecx, dword [ebp - 0x2124]
je 0x100ff13
mov edx, dword [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x2124]
push eax
push 0x1002684
lea ecx, [ebp - 0x2938]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x2938]
push edx
call fcn.0100e7b0
push 1
call fcn.0100b7bd
push 0
push 0x100266c
mov eax, dword [0x10149c4]
push eax
call sub.GUtils.dll_Trace_Error
mov dword [0x101523c], eax
push 0
call fcn.0100b7bd
mov dword [ebp - 0x114], 0
jmp 0x1010083
cmp dword [ebp - 0x2120], 0
jne 0x100ff2b
push 0x100264c
call fcn.0100e7b0
jmp 0x1010083
xor ecx, ecx
test ecx, ecx
jne 0x100ff43
mov edx, 1
test edx, edx
je 0x100ff77
cmp dword [ebp - 0x211c], 0
je 0x100ff77
push 1
call fcn.0100b7bd
push 0
push 0x1002634
mov eax, dword [0x10149c4]
push eax
call sub.GUtils.dll_Trace_Error
mov dword [0x101523c], eax
push 0
call fcn.0100b7bd
mov dword [ebp - 0x114], 0
jmp 0x1010083
cmp dword [ebp - 0x2120], 0xffffffff
je 0x100ff89
cmp dword [ebp - 0x2120], 0xfffffffe
jne 0x100ffbe
push 1
call fcn.0100b7bd
push 0
push 0x100261c
mov ecx, dword [0x10149c4]
push ecx
call sub.GUtils.dll_Trace_Error
mov dword [0x101523c], eax
push 0
call fcn.0100b7bd
mov dword [ebp - 0x114], 0
jmp 0x1010083
cmp dword [ebp - 4], 0
je 0x101005c
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x2120]
push eax
lea ecx, [ebp - 0x2118]
push ecx
mov edx, dword [ebp - 0x2130]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 8]
push eax
push 0x10025f8
lea ecx, [ebp - 0x2988]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x2988]
push edx
call fcn.0100e7b0
cmp dword [ebp - 0x114], 0
je 0x1010028
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x2120]
je 0x101005a
push 1
call fcn.0100b7bd
push 0
push 0x10025e4
mov ecx, dword [0x10149c4]
push ecx
call sub.GUtils.dll_Trace_Error
mov dword [0x101523c], eax
push 0
call fcn.0100b7bd
mov dword [ebp - 0x114], 0
jmp 0x1010083
jmp 0x1010066
mov dword [ebp - 0x114], 0
cmp dword [ebp - 0x2120], 0x2000
jae 0x101007e
push 0x10025c0
call fcn.0100e7b0
jmp 0x1010083
jmp 0x100fdb4
mov edx, dword [ebp - 0x2130]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x114], 0
jne 0x10100aa
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x10100d0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.010100e0
mov ecx, dword [0x1014970]
push ecx
call fcn.01010870
mov eax, dword [ebp - 0x114]
mov esp, ebp
pop ebp
ret 0xc