Function at 0x458930
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 0x632f0c
mov eax, dword fs:[0]
push eax
mov eax, 0x1f30
call fcn.005bd220
mov eax, dword [0x6ce8d4]
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 - 0x64c]
mov dword [ebp - 0x1f2c], 0
push 0
push eax
call fcn.005d7990
add esp, 0xc
lea eax, [ebp - 0x64c]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x64c]
push 0x5c
push eax
call fcn.005d7ba6
push 0x208
mov esi, eax
lea eax, [ebp - 0x854]
push 0
push eax
call fcn.005d7990
add esp, 0x14
test esi, esi
je 0x4589fc
lea edx, [esi + 2]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1f28], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4589d0
sub ecx, dword [ebp - 0x1f28]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
lea eax, [ebp - 0x854]
push eax
call fcn.005d7410
add esp, 0xc
xor eax, eax
mov word [esi], ax
push 0x208
lea eax, [ebp - 0x444]
push 0
push eax
call fcn.005d7990
push 0x208
lea eax, [ebp - 0xc64]
push 0
push eax
call fcn.005d7990
push 0x208
lea eax, [ebp - 0x1484]
push 0
push eax
call fcn.005d7990
add esp, 0x24
cmp dword [edi + 0x1f9], 0
je 0x458b4c
push 0x208
lea eax, [ebp - 0x168c]
push 0
push eax
call fcn.005d7990
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 - 0x444]
push str._sytool
push eax
call fcn.00458150
push 0x208
lea eax, [ebp - 0x1894]
push 0
push eax
call fcn.005d7990
lea eax, [ebp - 0x1484]
push 0x208
push eax
call fcn.004503c0
add esp, 0x20
lea eax, [ebp - 0x1894]
push 0
push 0x10
push eax
push 0
call esi
lea ecx, [ebp - 0x64c]
lea eax, [ebp - 0x1894]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x458af6
test dx, dx
je 0x458af2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x458af6
add eax, 4
add ecx, 4
test dx, dx
jne 0x458ad0
xor eax, eax
jmp 0x458afb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x458b67
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x1484]
push 0x63cc0c
push eax
call esi
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0xc64]
push 0x63cc0c
push eax
call esi
add esp, 0x20
mov dword [ebp - 0x1f2c], 1
jmp 0x458b67
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x444]
push str._sytool
push eax
call fcn.00458150
add esp, 0xc
push 0
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x458b89
push 2
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x208
lea eax, [ebp - 0xa5c]
push 0
push eax
call fcn.005d7990
lea eax, [ebp - 0x854]
push eax
lea esi, [edi + 0x201]
push esi
call fcn.005e55d1
add esp, 0x14
test eax, eax
jne 0x458bf0
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458bc0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push 0
push esi
call fcn.005d7990
lea eax, [ebp - 0x854]
push eax
push 0x63d230
push esi
call fcn.00458180
add esp, 0x18
push 0x208
lea eax, [ebp - 0x127c]
push 0
push eax
call fcn.005d7990
push 0x208
lea eax, [ebp - 0x1a9c]
push 0
push eax
call fcn.005d7990
push 0x208
lea eax, [ebp - 0x1eac]
push 0
push eax
call fcn.005d7990
push 0x208
lea eax, [ebp - 0x1ca4]
push 0
push eax
call fcn.005d7990
add esp, 0x30
lea eax, [ebp - 0x127c]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [edi + 0x2a6]
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0xa5c]
push 0x63cc0c
push eax
call fcn.00458150
lea eax, [ebp - 0x127c]
push eax
push eax
lea eax, [ebp - 0x1a9c]
push str.__s____s_
push eax
call fcn.00458150
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.004503c0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xa5c]
push eax
call fcn.00450410
add esp, 0x10
lea ecx, [edi + 0x32a]
lea eax, [ebp - 0x34]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x458d00
test dl, dl
je 0x458cfc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x458d00
add eax, 2
add ecx, 2
test dl, dl
jne 0x458ce0
xor eax, eax
jmp 0x458d05
sbb eax, eax
or eax, 1
test eax, eax
je 0x458d15
mov dword [ebp - 0x1f28], 1
jmp 0x458d48
lea eax, [ebp - 0xa5c]
push eax
lea eax, [edi + 0x2a6]
push eax
push 0x86
lea ecx, [edi + 0x34b]
call fcn.00460010
test eax, eax
mov ecx, 1
mov eax, 0
cmovne eax, ecx
mov dword [ebp - 0x1f28], eax
lea ecx, [ebp - 0xa5c]
push ecx
lea ecx, [edi + 0x2a6]
push ecx
push 0x86
lea ecx, [edi + 0x34b]
call fcn.00460010
test eax, eax
jne 0x458d74
mov eax, dword [ebp - 0x1f28]
test eax, eax
je 0x458d98
lea eax, [edi + 0x354]
mov ecx, edi
push eax
lea eax, [ebp - 0x1a9c]
push eax
lea eax, [ebp - 0xa5c]
push eax
call fcn.004588e0
test eax, eax
je 0x45924a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x208
mov dword [ebp - 0x1f28], eax
lea eax, [ebp - 0xe6c]
push 0
push eax
call fcn.005d7990
add esp, 0xc
lea eax, [ebp - 0x64c]
cmp dword [edi + 0x129], 0
push esi
jne 0x458dd0
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0xe6c]
push 0x63cc0c
push eax
call fcn.00458150
add esp, 0x10
lea eax, [ebp - 0xe6c]
lea ecx, [edi + 0x34b]
push eax
push esi
push 0x85
call fcn.00460010
test eax, eax
je 0x459245
cmp dword [edi + 0x125], 0
je 0x458e1d
push 2
lea eax, [ebp - 0xe6c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x208
lea eax, [ebp - 0x1074]
push 0
push eax
call fcn.005d7990
add esp, 0xc
lea eax, [ebp - 0x1074]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [edi + 0x12d], 0
je 0x45913a
push 0x208
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.005d7990
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x23c]
push 0x208
push eax
call fcn.004504b0
add esp, 0x1c
cmp dword [ebp - 0x1f2c], 0
je 0x458ff2
push 1
lea eax, [ebp - 0xc64]
push eax
lea eax, [ebp - 0x1484]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
mov dword [ebp - 0x1ef8], 7
mov dword [ebp - 0x1efc], 0
mov word [ebp - 0x1f0c], ax
cmp word [ebp - 0xc64], ax
jne 0x458ed6
xor ecx, ecx
jmp 0x458eef
lea ecx, [ebp - 0xc64]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458ee0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xc64]
push eax
lea ecx, [ebp - 0x1f0c]
call fcn.00451290
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x1eb0], 7
mov dword [ebp - 0x1eb4], 0
mov word [ebp - 0x1ec4], ax
cmp word [ebp - 0x23c], ax
jne 0x458f33
xor ecx, ecx
jmp 0x458f4f
lea ecx, [ebp - 0x23c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458f40
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x1ec4]
call fcn.00451290
lea eax, [ebp - 0x1f0c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1ec4]
push eax
call fcn.00458530
mov eax, dword [ebp - 0x1eb0]
add esp, 8
cmp eax, 8
jb 0x458f9a
inc eax
lea ecx, [ebp - 0x1ec4]
push eax
push dword [ebp - 0x1ec4]
call fcn.004513e0
xor eax, eax
mov dword [ebp - 0x1eb0], 7
mov word [ebp - 0x1ec4], ax
mov eax, dword [ebp - 0x1ef8]
mov dword [ebp - 0x1eb4], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x458fdc
inc eax
lea ecx, [ebp - 0x1f0c]
push eax
push dword [ebp - 0x1f0c]
call fcn.004513e0
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x45913a
xor eax, eax
mov dword [ebp - 0x1ee0], 7
mov dword [ebp - 0x1ee4], 0
mov word [ebp - 0x1ef4], ax
cmp word [ebp - 0x1074], ax
jne 0x45901c
xor ecx, ecx
jmp 0x459034
lea ecx, [ebp - 0x1074]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459025
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1074]
push eax
lea ecx, [ebp - 0x1ef4]
call fcn.00451290
xor eax, eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x1ec8], 7
mov dword [ebp - 0x1ecc], 0
mov word [ebp - 0x1edc], ax
cmp word [ebp - 0x23c], ax
jne 0x459078
xor ecx, ecx
jmp 0x459090
lea ecx, [ebp - 0x23c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459081
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x1edc]
call fcn.00451290
lea eax, [ebp - 0x1ef4]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x1edc]
push eax
call fcn.00458530
mov eax, dword [ebp - 0x1ec8]
add esp, 8
cmp eax, 8
jb 0x4590db
inc eax
lea ecx, [ebp - 0x1edc]
push eax
push dword [ebp - 0x1edc]
call fcn.004513e0
xor eax, eax
mov dword [ebp - 0x1ec8], 7
mov word [ebp - 0x1edc], ax
mov eax, dword [ebp - 0x1ee0]
mov dword [ebp - 0x1ecc], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x45911d
inc eax
lea ecx, [ebp - 0x1ef4]
push eax
push dword [ebp - 0x1ef4]
call fcn.004513e0
xor eax, eax
mov dword [ebp - 0x1ee0], 7
mov dword [ebp - 0x1ee4], 0
mov word [ebp - 0x1ef4], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov dword [ebp - 0x1f10], 7
xor eax, eax
mov dword [ebp - 0x1f14], 0
lea edx, [edi + 0x131]
mov word [ebp - 0x1f24], ax
cmp word [edx], ax
jne 0x45916e
xor ecx, ecx
jmp 0x459193
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1f2c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459180
sub ecx, dword [ebp - 0x1f2c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1f24]
call fcn.00451290
sub esi, dword [ebp - 0x1f28]
cmp esi, 0x7d0
jae 0x4591c2
mov eax, 0x7d0
sub eax, esi
push eax
push dword [edi + 0x354]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x1f3c]
xorps xmm0, xmm0
push eax
push 0
lea eax, [ebp - 0xe6c]
mov ecx, edi
push eax
movups xmmword [ebp - 0x1f3c], xmm0
call fcn.004588e0
mov eax, dword [ebp - 0x1f10]
cmp eax, 8
jb 0x459245
mov ecx, dword [ebp - 0x1f24]
inc eax
cmp eax, 0x7fffffff
jbe 0x459201
call fcn.005e0271
add eax, eax
cmp eax, 0x1000
jb 0x45923c
test byte [ebp - 0x1f24], 0x1f
je 0x459218
call fcn.005e0271
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x459224
call fcn.005e0271
sub ecx, eax
cmp ecx, 4
jae 0x459230
call fcn.005e0271
cmp ecx, 0x23
jbe 0x45923a
call fcn.005e0271
mov ecx, eax
push ecx
call fcn.005bca10
add esp, 4
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.005bcf27
mov esp, ebp
pop ebp
ret