Function at 0x1003d534
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
mov eax, 0x100593cb
call fcn.10052270
mov eax, 0x1528
call fcn.100522c0
push ebx
push esi
push edi
lea eax, [ebp - 0x530]
mov dword [ebp - 4], 3
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x530]
lea ecx, [ebp - 0x14]
push eax
call fcn.100034da
lea eax, [ebp - 0x1c]
push 1
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.1003e475
mov eax, dword [eax]
mov esi, 0x10071574
push esi
push eax
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
mov byte [ebp - 4], 4
pop ecx
test eax, eax
lea ecx, [ebp - 0x1c]
setne bl
call fcn.1000349d
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
test bl, bl
je 0x1003d5c8
mov eax, esi
test eax, eax
je 0x1003d5be
push esi
call edi
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.10009b8e
mov esi, str.temp.js
mov eax, esi
test eax, eax
je 0x1003d5d6
push esi
call edi
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.10009b8e
push 0x10076b40
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
pop ecx
je 0x1003d82a
and byte [ebp - 0x130], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12f]
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x10070ee4
lea eax, [ebp - 0x130]
push 0x104
push eax
call fcn.10001f81
add esp, 0x10
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0x1534]
push 3
push eax
call fcn.1003cb0c
cmp dword [ebp - 0x534], 0
mov byte [ebp - 4], 6
je 0x1003d81b
and dword [ebp - 0x28], 0
lea ecx, [ebp - 0x1534]
mov dword [ebp - 0x1c], 1
call fcn.1003cb8a
mov esi, dword [sym.imp.MSVCRT.dll_fputs]
mov ebx, 0x10076b3c
test al, al
mov edi, 0x100737a0
je 0x1003d775
lea eax, [ebp - 0x1534]
lea ecx, [ebp - 0x10]
push eax
call fcn.100034da
push 0
lea ecx, [ebp - 0x10]
push dword [ebp + 0x10]
mov byte [ebp - 4], 7
call fcn.100038ba
cmp eax, 0xffffffff
je 0x1003d734
push 0
lea ecx, [ebp - 0x10]
push dword [ebp + 0x14]
mov dword [ebp - 0x28], 1
call fcn.100038ba
cmp eax, 0xffffffff
jne 0x1003d75f
lea eax, [ebp + 0x10]
push 0x10072a0c
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10018299
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100164a2
push ebx
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 9
push eax
call fcn.10018299
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.10003640
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.1000349d
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.1000349d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.1000349d
push edi
lea ecx, [ebp - 0x10]
call fcn.10025524
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call esi
pop ecx
mov byte [ebp - 4], 6
pop ecx
lea ecx, [ebp - 0x10]
call fcn.1000349d
lea ecx, [ebp - 0x1534]
call fcn.1003cb8a
test al, al
jne 0x1003d681
jmp 0x1003d76f
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.1000349d
cmp dword [ebp - 0x28], 0
jne 0x1003d7df
lea eax, [ebp + 0x10]
push 0x10072a0c
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10018299
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100164a2
push ebx
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xc
push eax
call fcn.10018299
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xf
call fcn.1000349d
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.1000349d
push edi
lea ecx, [ebp - 0x10]
call fcn.10025524
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call esi
pop ecx
mov byte [ebp - 4], 6
pop ecx
lea ecx, [ebp - 0x10]
call fcn.1000349d
lea ecx, [ebp - 0x1534]
call fcn.1003cb6c
push dword [ebp - 0x18]
call dword [sym.imp.MSVCRT.dll_fflush]
push dword [ebp - 0x18]
call dword [sym.imp.MSVCRT.dll_fclose]
cmp dword [ebp - 0x1c], 0
pop ecx
pop ecx
je 0x1003d812
push 0
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x1534]
mov byte [ebp - 4], 4
call fcn.1003cb6c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.1000349d
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.1000349d
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.1000349d
and byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.1000349d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.1000349d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10