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

Disassembly:
push 0xffffffffffffffff
push 0x42c8ab
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x437a60]
xor eax, esp
mov dword [esp + 0x15c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x437a60]
xor eax, esp
push eax
lea eax, [esp + 0x174]
mov dword fs:[0], eax
mov esi, dword [esp + 0x184]
lea eax, [esp + 0xf0]
push eax
call fcn.0041a84d
lea ecx, [esp + 0x74]
push ecx
call fcn.0041a785
push 0x9c5
call fcn.0041a23d
push 0x9c4
mov ebp, eax
push esi
push ebp
call fcn.00419070
push 0x1389
call fcn.0041a23d
push ebp
mov edi, eax
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x114]
push eax
push str._s__s___s_n
push edi
call fcn.00418e4a
xor ebx, ebx
add esp, 0x30
cmp byte [0x438ec8], bl
jne 0x40af9d
push 0x438ec8
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, ebx
jne 0x40af0d
mov ecx, dword [str.C:IgniteUnwrap.log]
mov edx, dword [0x42fc70]
mov eax, dword [0x42fc74]
mov dword [0x438ec8], ecx
mov ecx, dword [0x42fc78]
mov dword [0x438ecc], edx
mov edx, dword [0x42fc7c]
mov dword [0x438ed0], eax
mov dword [0x438ed4], ecx
mov dword [0x438ed8], edx
jmp 0x40af9d
mov eax, 0x438ec8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40af15
sub eax, edx
cmp byte [eax + 0x438ec7], 0x5c
mov eax, 0x438ec8
jne 0x40af66
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x40af30
mov ecx, dword [str.IgniteUnwrap.log]
mov edx, dword [0x42fc5c]
mov dword [eax], ecx
mov ecx, dword [0x42fc60]
mov dword [eax + 4], edx
mov edx, dword [0x42fc64]
mov dword [eax + 8], ecx
mov cl, byte [0x42fc68]
mov dword [eax + 0xc], edx
mov byte [eax + 0x10], cl
jmp 0x40af9d
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x40af67
mov edx, dword [0x42fc44]
mov ecx, dword [0x42fc48]
mov dword [eax], edx
mov edx, dword [0x42fc4c]
mov dword [eax + 4], ecx
mov ecx, dword [0x42fc50]
mov dword [eax + 8], edx
mov dx, word [0x42fc54]
mov dword [eax + 0xc], ecx
mov word [eax + 0x10], dx
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x14]
push eax
push ebx
push 0x438ec8
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
cmp dword [esp + 0x34], 0x500000
jb 0x40b08b
mov eax, 0x438ec8
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40b000
sub eax, edx
push eax
push 0x438ec8
lea ecx, [esp + 0x40]
call fcn.004019e0
push str..old
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x188], ebx
call fcn.0040a9f0
mov esi, 0x10
add esp, 0xc
cmp dword [esp + 0x50], esi
jb 0x40b04e
mov eax, dword [esp + 0x3c]
push eax
call fcn.00417eb0
add esp, 4
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], esi
jae 0x40b05c
lea eax, [esp + 0x58]
push ebx
push eax
push 0x438ec8
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x40b078
push 0x438ec8
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x6c], esi
jb 0x40b08b
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00417eb0
add esp, 4
push 0x42fc38
push 0x438ec8
call fcn.0041a6cb
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x40b0c4
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40b0a8
push esi
sub eax, edx
push eax
push 1
push edi
call fcn.0041a585
push esi
call fcn.0041a3a7
add esp, 0x14
push edi
call fcn.00419dd0
push ebp
call fcn.00419dd0
add esp, 8
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.00418a11
add esp, 0x16c
ret