Function at 0x425440
Capabilities:
Check for time delay via gettickcount
Check if file exists
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4c59b4
mov eax, dword fs:[0]
push eax
mov eax, 0x5504
call fcn.0046f7e0
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x5500], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x5518]
mov dword fs:[0], eax
mov eax, dword [esp + 0x552c]
mov ebp, dword [esp + 0x5528]
mov ebx, ecx
xor esi, esi
push 0x4d9c64
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], esi
call fcn.00409e90
lea ecx, [esp + 0x1c]
mov dword [esp + 0x5520], esi
push ecx
lea esi, [ebp + 0xc]
lea edx, [esp + 0x30]
push esi
push edx
call fcn.00426210
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5520], 2
call fcn.00409f10
push str..fd.cfg
lea ecx, [esp + 0x28]
call fcn.00409e90
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
push esi
push ecx
mov byte [esp + 0x552c], 3
call fcn.00426210
add esp, 0xc
lea ecx, [esp + 0x24]
mov byte [esp + 0x5520], 5
call fcn.00409f10
lea ecx, [esp + 0x40]
call fcn.0040e660
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x425559
lea ecx, [esp + 0x2c]
call fcn.0040e660
push eax
call edi
test eax, eax
jne 0x425559
lea ecx, [esp + 0x2c]
call fcn.0040e660
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x40]
call fcn.0040e660
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.0040e660
push eax
lea edx, [esp + 0x60]
push edx
call fcn.00429340
mov byte [esp + 0x5520], 6
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0xe4]
push ecx
mov ecx, ebx
call edx
mov edx, dword [eax]
mov dword [ebp + 0x38], edx
mov edx, dword [eax + 4]
lea ecx, [ebp + 0x38]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov eax, dword [eax + 0x14]
mov edx, dword [ebp + 4]
push edx
mov dword [ecx + 0x14], eax
push ecx
lea eax, [esp + 0x64]
push eax
call fcn.004293d0
mov ecx, eax
or ecx, edx
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], edx
jne 0x4255f3
lea ecx, [esp + 0x2c]
call fcn.0040e660
push eax
call edi
test eax, eax
je 0x4255f3
lea ecx, [esp + 0x2c]
call fcn.0040e660
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
lea ecx, [esp + 0x40]
call fcn.0040e660
push eax
call esi
lea ecx, [esp + 0x2c]
call fcn.0040e660
xor edi, edi
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
call fcn.00409e10
mov byte [esp + 0x5520], 7
cmp dword [esp + 0x44], edi
jne 0x425679
push edi
push 0x20
push 4
push edi
push 1
push 0xc0000000
lea ecx, [esp + 0x6c]
call fcn.0040e660
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x44]
cmp eax, 0xffffffff
jne 0x425658
xor eax, eax
mov dword [esp + 0x44], eax
xor edx, edx
cmp eax, edi
setne dl
mov eax, edx
cmp eax, edi
jne 0x425679
mov dword [ebp + 0x30], 0xfffffffd
mov dword [esp + 0x28], 0xb
jmp 0x425d72
mov eax, dword [ebp + 0x44]
cmp eax, edi
mov ecx, dword [ebp + 0x40]
jl 0x425694
jg 0x425689
cmp ecx, edi
jbe 0x425694
push eax
push ecx
lea esi, [esp + 0x4c]
call fcn.0042a1e0
cmp dword [ebp + 4], edi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], edi
jle 0x425a74
lea esp, [esp]
cmp dword [esp + 0x1c], edi
je 0x425770
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x64]
call fcn.004297b0
mov edi, eax
test edi, edi
je 0x4256d5
mov esi, edi
mov dword [esp + 0x1c], esi
jmp 0x425706
cmp dword [esp + 0x70], 0
jl 0x425a74
jg 0x4256ed
cmp dword [esp + 0x6c], 0
jbe 0x425a74
lea edi, [esp + 0x5c]
call fcn.00429a50
mov edi, eax
test edi, edi
je 0x425a74
mov esi, eax
mov dword [esp + 0x1c], edi
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
mov dword [edi + 0x20], ebx
test eax, eax
jl 0x425732
jg 0x425719
test ecx, ecx
jbe 0x425732
mov esi, dword [edi + 0x14]
mov edx, dword [ebx]
push esi
mov esi, dword [edi + 0x10]
push esi
push eax
mov eax, dword [edx + 0x38]
push ecx
mov ecx, ebx
call eax
mov esi, dword [esp + 0x1c]
jmp 0x425751
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
test eax, eax
jl 0x425751
jg 0x425742
test ecx, ecx
jbe 0x425751
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x3c]
push ecx
push 0
push 0
mov ecx, ebx
call eax
mov eax, dword [ebp + 0x44]
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
push eax
mov eax, dword [ebp + 0x40]
push eax
call edx
mov dword [esp + 0x1c], 0
jmp 0x42584a
lea ecx, [esp + 0x20]
call fcn.00409dd0
mov byte [esp + 0x5520], 8
mov edi, dword [ebp + 8]
push edi
lea ecx, [esp + 0x24]
call fcn.00409f30
inc dword [edi + 0x50]
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x24]
call fcn.0040e660
push eax
call fcn.004288d0
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x64]
call fcn.004297b0
mov edi, eax
test edi, edi
je 0x4257c2
mov esi, edi
jmp 0x4257ef
cmp dword [esp + 0x70], 0
jl 0x425877
jg 0x4257da
cmp dword [esp + 0x6c], 0
jbe 0x425877
lea edi, [esp + 0x5c]
call fcn.00429a50
mov edi, eax
test edi, edi
je 0x425877
mov esi, eax
mov ecx, dword [esp + 0x3c]
call fcn.00429070
lea ecx, [ebp + 0x58]
mov ebx, eax
call fcn.0040a830
push eax
lea ecx, [ebx + 0x5520]
call fcn.0040bdf0
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x40]
mov edx, dword [ebx]
mov edx, dword [edx]
push eax
mov eax, dword [edi + 0x14]
push ecx
mov ecx, dword [edi + 0x10]
push eax
mov eax, dword [edi + 0x1c]
push ecx
mov ecx, dword [edi + 0x18]
push eax
push ecx
lea eax, [esp + 0x114]
push eax
mov ecx, ebx
call edx
lea ecx, [esp + 0x20]
mov dword [edi + 0x20], ebx
mov byte [esp + 0x5520], 7
call fcn.00409f10
lea ebx, [esp + 0x18]
lea eax, [esp + 0x9c]
mov dword [esp + 0x18], esi
call fcn.00429ca0
mov eax, dword [esp + 0x24]
inc eax
cmp eax, dword [ebp + 4]
mov dword [esp + 0x24], eax
jge 0x425888
mov ebx, dword [esp + 0x34]
xor edi, edi
jmp 0x4256b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x5520], 7
call fcn.00409f10
mov edi, dword [ebp + 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
mov dword [edi + 4], 1
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
call esi
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
call esi
mov edx, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x48]
mov dword [ebp + 0x54], eax
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 4]
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x2c], edx
xor ecx, ecx
inc eax
mov edx, 4
mul edx
seto cl
mov dword [esp + 0x24], ebx
neg ecx
or ecx, eax
push ecx
call fcn.0046cf6d
mov ebx, eax
add esp, 4
mov dword [esp + 0x20], ebx
jmp 0x425900
mov eax, dword [esp + 0xac]
sub eax, dword [esp + 0xa8]
test eax, 0xfffffffc
jne 0x42592f
mov ecx, dword [esp + 0xc4]
sub ecx, dword [esp + 0xc0]
test ecx, 0xfffffffc
je 0x425c63
mov edx, dword [ebp + 4]
lea eax, [edx*4 + 4]
push eax
push 0
push ebx
call fcn.0046dea0
mov ecx, dword [ebp + 0x18]
mov dword [ebx], ecx
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
mov eax, ecx
sub eax, edx
sar eax, 2
add esp, 0xc
xor edi, edi
test eax, eax
jbe 0x4259a4
add ebx, 4
cmp edi, eax
jb 0x425978
call fcn.0046d2c9
mov edx, dword [esp + 0xa8]
mov edx, dword [edx + edi*4]
mov ecx, dword [edx + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov dword [ebx], eax
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
mov eax, ecx
sub eax, edx
inc edi
sar eax, 2
add ebx, 4
cmp edi, eax
jb 0x425978
mov eax, dword [esp + 0x20]
push 0x3e8
sub ecx, edx
push 0
sar ecx, 2
push eax
inc ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp + 0x50]
mov esi, eax
sub eax, dword [edi + 0x30]
cmp eax, 0x3e8
jbe 0x425a03
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x20]
push ecx
push edx
push 0
push eax
call fcn.004806a0
push 0
push 0x3e8
push edx
push eax
call fcn.0048bbe0
mov dword [edi + 0x18], eax
xor eax, eax
mov dword [edi + 0x1c], edx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x30], esi
lea ecx, [esp + 0x30]
call fcn.00409dd0
push ebx
lea eax, [esp + 0x34]
push 0x4d9c70
push eax
mov byte [esp + 0x552c], 9
call fcn.0040e7a0
xor edi, edi
add esp, 0xc
mov dword [esp + 0x18], edi
cmp ebx, 0xffffffff
je 0x425c2b
cmp ebx, edi
je 0x425c3c
cmp ebx, 0x102
je 0x425a95
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x48]
mov edx, ebx
mov ecx, ebp
mov dword [esp + 0x44], edi
call fcn.00425ed0
cmp eax, edi
jge 0x425a81
mov dword [esp + 0x28], 0xb
jmp 0x425a8b
mov dword [esp + 0x28], 9
jmp 0x425c70
jle 0x425a8b
mov dword [esp + 0x18], 1
cmp dword [esp + 0x38], edi
je 0x425a95
mov dword [esp + 0x24], edi
mov ecx, esi
sub ecx, dword [ebp + 0x54]
cmp ecx, 0x12c
jbe 0x425ab6
mov ecx, dword [ebp + 0x20]
cmp ecx, edi
je 0x425ab3
mov edx, dword [ecx]
mov eax, dword [edx]
push edi
push 6
push ebp
call eax
mov dword [ebp + 0x54], esi
mov eax, dword [esp + 0xac]
mov ecx, esi
sub ecx, dword [esp + 0x34]
cmp ecx, 0xbb8
jbe 0x425be1
mov edx, eax
sub edx, dword [esp + 0xa8]
sar edx, 2
cmp edx, dword [ebp + 4]
jae 0x425be1
mov ecx, dword [esp + 0xc4]
sub ecx, dword [esp + 0xc0]
test ecx, 0xfffffffc
je 0x425be1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
call fcn.00409dd0
mov byte [esp + 0x5520], 0xa
mov edi, dword [ebp + 8]
push edi
lea ecx, [esp + 0x20]
call fcn.00409f30
inc dword [edi + 0x50]
lea edx, [esp + 0xfc]
push edx
lea ecx, [esp + 0x20]
call fcn.0040e660
push eax
call fcn.004288d0
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x64]
call fcn.004297b0
mov edi, eax
test edi, edi
jne 0x425b6d
cmp dword [esp + 0x70], eax
jl 0x425bcb
jg 0x425b5e
cmp dword [esp + 0x6c], eax
jbe 0x425bcb
lea edi, [esp + 0x5c]
call fcn.00429a50
mov edi, eax
test edi, edi
je 0x425bcb
mov ecx, dword [esp + 0x3c]
call fcn.00429070
lea ecx, [ebp + 0x58]
mov esi, eax
call fcn.0040a830
push eax
lea ecx, [esi + 0x5520]
call fcn.0040bdf0
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
mov eax, dword [esi]
push ecx
mov ecx, dword [edi + 0x14]
push edx
mov edx, dword [edi + 0x10]
push ecx
mov ecx, dword [edi + 0x1c]
push edx
mov edx, dword [edi + 0x18]
push ecx
push edx
mov edx, dword [eax]
lea ecx, [esp + 0x114]
push ecx
mov ecx, esi
call edx
lea ebx, [esp + 0x38]
lea eax, [esp + 0x9c]
mov dword [edi + 0x20], esi
mov dword [esp + 0x38], edi
call fcn.00429ca0
inc dword [esp + 0x24]
lea ecx, [esp + 0x1c]
call fcn.00409f10
mov eax, dword [esp + 0xac]
xor edi, edi
cmp dword [esp + 0x18], edi
je 0x425c11
sub eax, dword [esp + 0xa8]
test eax, 0xfffffffc
jne 0x425c11
mov eax, dword [esp + 0xc4]
sub eax, dword [esp + 0xc0]
test eax, 0xfffffffc
je 0x425c46
cmp dword [esp + 0x24], 3
jg 0x425c32
lea ecx, [esp + 0x30]
mov byte [esp + 0x5520], 7
call fcn.00409f10
mov ebx, dword [esp + 0x20]
jmp 0x425900
mov dword [ebp + 0x30], 0xffffffff
mov dword [esp + 0x28], 0xb
jmp 0x425c4e
mov dword [esp + 0x28], 0xa
jmp 0x425c4e
mov dword [esp + 0x28], 9
lea ecx, [esp + 0x30]
mov byte [esp + 0x5520], 7
call fcn.00409f10
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x425c70
push ebx
call fcn.0046df1a
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x425c87
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x44], 0
cmp dword [esp + 0x28], 9
jne 0x425d17
lea esi, [ebp + 0xc]
mov ecx, esi
call fcn.0040e660
push eax
lea ecx, [esp + 0x1c]
call fcn.00409e10
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x5524], 0xb
call fcn.0042a8c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x5520], 7
call fcn.00409f10
push 0x4d9c64
lea ecx, [esp + 0x1c]
call fcn.00409e90
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push esi
push edx
mov byte [esp + 0x552c], 0xc
call fcn.00426210
add esp, 0xc
push 1
mov ecx, esi
mov edi, eax
call fcn.0040e660
push eax
mov ecx, edi
call fcn.0040e660
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esp + 0x34]
call fcn.00409f10
jmp 0x425d61
cmp dword [ebp + 0x44], 0
jl 0x425d72
jg 0x425d25
cmp dword [ebp + 0x40], 0
jbe 0x425d72
lea ecx, [ebp + 0xc]
call fcn.0040e660
push eax
lea ecx, [esp + 0x1c]
call fcn.00409e10
mov byte [esp + 0x5520], 0xd
mov ecx, dword [ebp + 0x4c]
mov edx, dword [ebp + 0x48]
lea eax, [esp + 0x84]
push eax
mov eax, dword [ebp + 0x44]
push ecx
mov ecx, dword [ebp + 0x40]
push edx
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0042a620
lea ecx, [esp + 0x18]
mov byte [esp + 0x5520], 7
call fcn.00409f10
mov esi, dword [esp + 0x3c]
call fcn.00429000
mov ebp, dword [ebp + 0x50]
mov dword [ebp + 8], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x2c], eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x425da5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x44], 0
lea ecx, [esp + 0x54]
call fcn.00409f10
lea ebx, [esp + 0x5c]
call fcn.00425e00
lea ecx, [esp + 0x40]
call fcn.00409f10
lea ecx, [esp + 0x2c]
call fcn.00409f10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x5518]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5500]
xor ecx, esp
call fcn.0046da8a
add esp, 0x5510
ret 8