Function at 0x402c70
Capabilities:
Check for time delay via gettickcount
Create directory
Get common file path
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4adc91
mov eax, dword fs:[0]
push eax
mov eax, 0x1f18
call fcn.0048a020
mov eax, dword [0x4f7600]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x208
lea eax, [ebp - 0x444]
mov dword [ebp - 0x1f14], 0
push 0
push eax
call fcn.0048bfd0
add esp, 0xc
lea eax, [ebp - 0x444]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x444]
push 0x5c
push eax
call fcn.0048c12a
push 0x208
mov esi, eax
lea eax, [ebp - 0x854]
push 0
push eax
call fcn.0048bfd0
add esp, 0x14
test esi, esi
je 0x402d3c
lea edx, [esi + 2]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1f10], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402d10
sub ecx, dword [ebp - 0x1f10]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
lea eax, [ebp - 0x854]
push eax
call fcn.0048ba50
add esp, 0xc
xor eax, eax
mov word [esi], ax
push 0x208
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.0048bfd0
push 0x208
lea eax, [ebp - 0xc64]
push 0
push eax
call fcn.0048bfd0
push 0x208
lea eax, [ebp - 0x127c]
push 0
push eax
call fcn.0048bfd0
add esp, 0x24
cmp dword [edi + 0x1f9], 0
je 0x402e8c
push 0x208
lea eax, [ebp - 0x168c]
push 0
push eax
call fcn.0048bfd0
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x168c]
add esp, 0xc
push 0
push 0x1a
push eax
push 0
call esi
lea eax, [ebp - 0x168c]
push eax
lea eax, [ebp - 0x23c]
push str._sytool
push eax
call fcn.00402b70
push 0x208
lea eax, [ebp - 0x1894]
push 0
push eax
call fcn.0048bfd0
lea eax, [ebp - 0x127c]
push 0x208
push eax
call fcn.0047ccc0
add esp, 0x20
lea eax, [ebp - 0x1894]
push 0
push 0x10
push eax
push 0
call esi
lea ecx, [ebp - 0x444]
lea eax, [ebp - 0x1894]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402e36
test dx, dx
je 0x402e32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402e36
add eax, 4
add ecx, 4
test dx, dx
jne 0x402e10
xor eax, eax
jmp 0x402e3b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x402ea7
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x127c]
push str._s_s
push eax
call esi
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0xc64]
push str._s_s
push eax
call esi
add esp, 0x20
mov dword [ebp - 0x1f14], 1
jmp 0x402ea7
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x23c]
push str._sytool
push eax
call fcn.00402b70
add esp, 0xc
push 0
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x402ec9
push 2
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x208
lea eax, [ebp - 0xa5c]
push 0
push eax
call fcn.0048bfd0
lea eax, [ebp - 0x854]
push eax
lea esi, [edi + 0x201]
push esi
call fcn.004946e9
add esp, 0x14
test eax, eax
jne 0x402f30
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402f00
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push 0
push esi
call fcn.0048bfd0
lea eax, [ebp - 0x854]
push eax
push 0x4b3778
push esi
call fcn.00402ba0
add esp, 0x18
push 0x208
lea eax, [ebp - 0x1074]
push 0
push eax
call fcn.0048bfd0
push 0x208
lea eax, [ebp - 0x1a9c]
push 0
push eax
call fcn.0048bfd0
push 0x208
lea eax, [ebp - 0x1eac]
push 0
push eax
call fcn.0048bfd0
push 0x208
lea eax, [ebp - 0x1ca4]
push 0
push eax
call fcn.0048bfd0
add esp, 0x30
lea eax, [ebp - 0x1074]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [edi + 0x2a6]
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0xa5c]
push str._s_s
push eax
call fcn.00402b70
lea eax, [ebp - 0x1074]
push eax
push eax
lea eax, [ebp - 0x1a9c]
push str.__s____s_
push eax
call fcn.00402b70
add esp, 0x20
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x1ca4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
push 0x208
push eax
push 0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1eac]
push 0x208
push eax
call fcn.0047ccc0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xa5c]
push eax
call fcn.0047cd10
add esp, 0x10
lea ecx, [edi + 0x32a]
lea eax, [ebp - 0x34]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x403040
test dl, dl
je 0x40303c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x403040
add eax, 2
add ecx, 2
test dl, dl
jne 0x403020
xor eax, eax
jmp 0x403045
sbb eax, eax
or eax, 1
lea ecx, [edi + 0x34b]
test eax, eax
je 0x40305b
mov dword [ebp - 0x1f10], 1
jmp 0x40308e
lea eax, [ebp - 0xa5c]
push eax
lea eax, [edi + 0x2a6]
push eax
push 0x86
call fcn.00429b60
test eax, eax
mov ecx, 1
mov eax, 0
cmovne eax, ecx
lea ecx, [edi + 0x34b]
mov dword [ebp - 0x1f10], eax
lea eax, [ebp - 0xa5c]
push eax
lea eax, [edi + 0x2a6]
push eax
push 0x86
call fcn.00429b60
test eax, eax
jne 0x4030b2
cmp dword [ebp - 0x1f10], eax
je 0x4030d6
lea eax, [edi + 0x354]
mov ecx, edi
push eax
lea eax, [ebp - 0x1a9c]
push eax
lea eax, [ebp - 0xa5c]
push eax
call fcn.00402c20
test eax, eax
je 0x4035b4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x208
mov dword [ebp - 0x1f10], eax
lea eax, [ebp - 0xe6c]
push 0
push eax
call fcn.0048bfd0
cmp dword [edi + 0x129], 0
lea eax, [ebp - 0x444]
push esi
lea ecx, [ebp - 0x23c]
cmovne ecx, eax
lea eax, [ebp - 0xe6c]
push ecx
push str._s_s
push eax
call fcn.00402b70
add esp, 0x1c
lea eax, [ebp - 0xe6c]
lea ecx, [edi + 0x34b]
push eax
push esi
push 0x85
call fcn.00429b60
test eax, eax
je 0x4035af
cmp dword [edi + 0x125], 0
je 0x403159
push 2
lea eax, [ebp - 0xe6c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x208
lea eax, [ebp - 0x1484]
push 0
push eax
call fcn.0048bfd0
add esp, 0xc
lea eax, [ebp - 0x1484]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [edi + 0x12d], 0
je 0x4034d2
push 0x208
lea eax, [ebp - 0x64c]
push 0
push eax
call fcn.0048bfd0
lea eax, [ebp - 0x64c]
push esi
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x64c]
push 0x208
push eax
call fcn.0047cde0
add esp, 0x1c
cmp dword [ebp - 0x1f14], 0
je 0x40335a
push 1
lea eax, [ebp - 0xc64]
push eax
lea eax, [ebp - 0x127c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xorps xmm0, xmm0
mov dword [ebp - 0x1eb4], 0
lea ecx, [ebp - 0xc64]
mov dword [ebp - 0x1eb0], 0
movups xmmword [ebp - 0x1ec4], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403210
sub ecx, edx
lea eax, [ebp - 0xc64]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1ec4]
call fcn.00402ad0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64c]
mov dword [ebp - 0x1ecc], 0
movups xmmword [ebp - 0x1edc], xmm0
mov dword [ebp - 0x1ec8], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403260
sub ecx, edx
lea eax, [ebp - 0x64c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1edc]
call fcn.00402ad0
lea eax, [ebp - 0x1ec4]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1edc]
push eax
call fcn.0047dc90
mov ecx, dword [ebp - 0x1ec8]
add esp, 8
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x4032e0
mov edx, dword [ebp - 0x1edc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4032d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035cf
push ecx
push edx
call fcn.00489c99
add esp, 8
mov ecx, dword [ebp - 0x1eb0]
xor eax, eax
mov dword [ebp - 0x1ecc], 0
mov dword [ebp - 0x1ec8], 7
mov word [ebp - 0x1edc], ax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x403344
mov edx, dword [ebp - 0x1ec4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40333a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035cf
push ecx
push edx
call fcn.00489c99
add esp, 8
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x4034d2
xorps xmm0, xmm0
mov dword [ebp - 0x1efc], 0
lea ecx, [ebp - 0x1484]
mov dword [ebp - 0x1ef8], 0
movups xmmword [ebp - 0x1f0c], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403381
sub ecx, edx
lea eax, [ebp - 0x1484]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1f0c]
call fcn.00402ad0
xorps xmm0, xmm0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x64c]
mov dword [ebp - 0x1ee4], 0
movups xmmword [ebp - 0x1ef4], xmm0
mov dword [ebp - 0x1ee0], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4033d1
sub ecx, edx
lea eax, [ebp - 0x64c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1ef4]
call fcn.00402ad0
lea eax, [ebp - 0x1f0c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x1ef4]
push eax
call fcn.0047dc90
mov ecx, dword [ebp - 0x1ee0]
add esp, 8
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x403451
mov edx, dword [ebp - 0x1ef4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403447
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035d4
push ecx
push edx
call fcn.00489c99
add esp, 8
mov ecx, dword [ebp - 0x1ef8]
xor eax, eax
mov dword [ebp - 0x1ee4], 0
mov dword [ebp - 0x1ee0], 7
mov word [ebp - 0x1ef4], ax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x4034b5
mov edx, dword [ebp - 0x1f0c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4034ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035d4
push ecx
push edx
call fcn.00489c99
add esp, 8
xor eax, eax
mov dword [ebp - 0x1efc], 0
mov dword [ebp - 0x1ef8], 7
mov word [ebp - 0x1f0c], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [edi + 0x131]
mov dword [ebp - 0x1eb4], 0
mov ecx, edx
mov dword [ebp - 0x1eb0], 0
mov esi, eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x1ec4], xmm0
lea eax, [ecx + 2]
mov dword [ebp - 0x1f14], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403510
sub ecx, dword [ebp - 0x1f14]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1ec4]
call fcn.00402ad0
sub esi, dword [ebp - 0x1f10]
cmp esi, 0x7d0
jae 0x403552
mov eax, 0x7d0
sub eax, esi
push eax
push dword [edi + 0x354]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x1f24]
xorps xmm0, xmm0
push eax
push 0
lea eax, [ebp - 0xe6c]
mov ecx, edi
push eax
movups xmmword [ebp - 0x1f24], xmm0
call fcn.00402c20
mov ecx, dword [ebp - 0x1eb0]
cmp ecx, 7
jbe 0x4035af
mov edx, dword [ebp - 0x1ec4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4035a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035d9
push ecx
push edx
call fcn.00489c99
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489fe1
mov esp, ebp
pop ebp
ret
call fcn.0048f8ef
call fcn.0048f8ef
call fcn.0048f8ef
int3