Function at 0x42da70
Capabilities:
Check for time delay via gettickcount
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x470610
push 0x408860
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x474534]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor esi, esi
xor edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
jne 0x42e035
add esi, 0x23
jmp 0x42dad0
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x42daef
cmp eax, 4
je 0x42daef
and esi, ecx
jmp 0x42daf1
sub esi, ecx
add ecx, 1
cmp ecx, 0x20
jl 0x42dad0
push 0xfa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
add esi, 0xffffffff
push 0x461898
push 0x4618a0
call dword [sym.imp.USER32.dll_FindWindowW]
xor edi, edi
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
jne 0x42e028
add esi, 0x1d
xor edi, edi
lea ecx, [ecx]
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
jne 0x42e01b
add esi, 0x1d
xor eax, eax
lea ecx, [ecx]
mov ecx, eax
imul esi, ecx
add eax, 1
cmp eax, 0x13
jl 0x42db60
test esi, esi
jle 0x42db74
lea esi, [esi + esi*4]
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, esi
sub eax, edx
jne 0x42db8e
lea esi, [eax + 0x11]
nop
nop
nop
xor edi, edi
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea ecx, [edx + edx*2]
mov edx, edi
sub edx, ecx
cmp edx, 1
jne 0x42dbac
and esi, edi
jmp 0x42dbc8
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or esi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add edi, 1
cmp edi, 6
jl 0x42db93
xor ecx, ecx
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x42dbf1
cmp eax, 3
je 0x42dbf1
xor esi, ecx
jmp 0x42dbf6
mov eax, ecx
imul esi, eax
add ecx, 1
cmp ecx, 0x14
jl 0x42dbd2
lea ecx, [ebp - 0x270]
push ecx
push 0x4618a8
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
call edi
xor eax, eax
mov edx, eax
imul esi, edx
add eax, 1
cmp eax, 0xd
jl 0x42dc14
test esi, esi
jle 0x42dc28
lea esi, [esi + esi*4]
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov ecx, esi
sub ecx, eax
jne 0x42dc42
lea esi, [ecx + 0x11]
nop
nop
nop
xor ecx, ecx
jmp 0x42dc50
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x42dc6f
cmp eax, 3
je 0x42dc6f
xor esi, ecx
jmp 0x42dc74
mov eax, ecx
imul esi, eax
add ecx, 1
cmp ecx, 6
jl 0x42dc50
lea ecx, [ebp - 0x270]
push ecx
push 0x4618b0
call edi
xor eax, eax
lea esp, [esp]
test al, 1
je 0x42dc98
add esi, eax
jmp 0x42dc9a
sub esi, eax
add eax, 1
cmp eax, 0xb
jl 0x42dc90
push 0x4618b8
push 0x4618c0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x280], edi
cmp edi, 0xd
jge 0x42dcf9
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, edi
sub eax, edx
cmp eax, 1
jne 0x42dceb
mov eax, ebx
nop
mov ecx, edx
nop
add edi, 1
jmp 0x42dcbb
add esi, 1
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x42dcbb
mov dword [ebp - 4], 0xfffffffe
call fcn.0042dd47
xor edi, edi
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
jne 0x42e00e
add esi, 4
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x42dd53
cmp eax, 4
je 0x42dd53
and esi, ecx
jmp 0x42dd55
sub esi, ecx
add ecx, 1
cmp ecx, 5
jl 0x42dd22
push 0xfa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
add esi, 0xfffffffe
push 0x4618c8
push 0x4618d0
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
call ebx
push 0x4618d8
push 0x4618e0
call ebx
xor edi, edi
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea ecx, [edx + edx*2]
mov edx, edi
sub edx, ecx
cmp edx, 1
jne 0x42ddab
and esi, edi
jmp 0x42ddc7
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or esi, edi
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
add edi, 1
cmp edi, 6
jl 0x42dd92
lea eax, [ebp - 0x270]
push eax
push 0x4618e8
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esi, 3
push 0x4618f0
push 0x4618f8
call ebx
add esi, 3
push 0x461900
push 0x461908
call ebx
mov dword [ebp - 4], 1
xor edi, edi
mov dword [ebp - 0x278], edi
cmp edi, 4
jge 0x42de45
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov edx, edi
sub edx, ecx
cmp edx, 1
jne 0x42de37
mov eax, ebx
nop
mov ecx, edx
nop
add edi, edx
jmp 0x42de08
add esi, 1
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x42de08
mov dword [ebp - 4], 0xfffffffe
call fcn.0042de78
xor ecx, ecx
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x42de84
cmp eax, 4
je 0x42de84
and edi, ecx
jmp 0x42de86
sub edi, ecx
add ecx, 1
cmp ecx, 4
jl 0x42de53
push 0xfa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ecx, ecx
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x42dec1
cmp eax, 3
je 0x42dec1
xor edi, ecx
jmp 0x42dec6
mov eax, ecx
imul edi, eax
add ecx, 1
cmp ecx, 3
jl 0x42dea2
lea ecx, [ebp - 0x270]
push ecx
push 0x461910
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add edi, 2
push 0x461918
push 0x461920
call ebx
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
jne 0x42e001
add edi, 3
xor esi, esi
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
lea eax, [edx + edx*2]
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jne 0x42df2d
and edi, esi
jmp 0x42df43
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or edi, esi
add esi, 1
cmp esi, 4
jl 0x42df14
mov dword [ebp - 4], 2
xor esi, esi
mov dword [ebp - 0x27c], esi
cmp esi, 4
jge 0x42df92
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, esi
sub eax, edx
cmp eax, 1
jne 0x42df84
mov eax, ebx
nop
mov ecx, edx
nop
add esi, 1
jmp 0x42df54
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x42df54
mov dword [ebp - 4], 0xfffffffe
call fcn.0042dfb9
xor esi, esi
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
lea ecx, [edx + edx*2]
mov edx, esi
sub edx, ecx
cmp edx, 1
jne 0x42dfc5
and edi, esi
jmp 0x42dfdb
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or edi, esi
add esi, 1
cmp esi, 4
jl 0x42dfa0
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040470b
mov esp, ebp
pop ebp
ret
mov eax, esi
imul edi, eax
add esi, 1
jmp 0x42def7
mov ecx, edi
imul esi, ecx
add edi, 1
jmp 0x42dd07
mov edx, edi
imul esi, edx
add edi, 1
jmp 0x42db40
mov eax, edi
imul esi, eax
add edi, 1
jmp 0x42db20
mov ecx, edi
imul esi, ecx
add edi, 1
jmp 0x42dab0