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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x470648
push 0x408860
mov eax, dword fs:[0]
push eax
sub esp, 0x280
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 ebx, ebx
xor eax, eax
lea ebx, [ebx]
test al, 1
je 0x42e098
add ebx, eax
jmp 0x42e09a
sub ebx, eax
add eax, 1
cmp eax, 0x1e
jl 0x42e090
push 0x4617a0
push 0x4617a8
call dword [sym.imp.USER32.dll_FindWindowW]
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 0x42e0d3
cmp eax, 4
je 0x42e0d3
and ebx, ecx
jmp 0x42e0d5
sub ebx, ecx
add ecx, 1
cmp ecx, 0x30
jl 0x42e0b4
push 0xfa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
jne 0x42ea00
push 0x4617b0
push 0x4617b8
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, 0x11
nop
nop
nop
xor esi, esi
xor ecx, ecx
jmp 0x42e130
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x42e14f
cmp eax, 3
je 0x42e14f
xor ebx, ecx
jmp 0x42e154
mov eax, ecx
imul ebx, eax
add ecx, 1
cmp ecx, 5
jl 0x42e130
lea ecx, [ebp - 0x270]
push ecx
push 0x4617c0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], esi
mov dword [ebp - 0x284], esi
cmp esi, 6
jge 0x42e1af
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 0x42e1a1
mov eax, ebx
nop
mov ecx, edx
nop
add esi, 1
jmp 0x42e171
add ebx, 1
mov dword [ebp - 0x274], ebx
add esi, 1
jmp 0x42e171
mov dword [ebp - 4], 0xfffffffe
call fcn.0042e1df
xor ecx, ecx
lea 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 0x42e1eb
cmp eax, 3
je 0x42e1eb
xor edi, ecx
jmp 0x42e1f0
mov eax, ecx
imul edi, eax
add ecx, 1
cmp ecx, 0x1f
jl 0x42e1c0
lea ecx, [ebp - 0x270]
push ecx
push 0x4617c8
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor esi, esi
lea esp, [esp]
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
lea edx, [edx + edx*2]
mov eax, esi
sub eax, edx
cmp eax, 1
jne 0x42e229
and edi, esi
jmp 0x42e23f
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or edi, esi
add esi, 1
cmp esi, 0x20
jl 0x42e210
mov dword [ebp - 4], 1
xor esi, esi
mov dword [ebp - 0x290], esi
cmp esi, 0xf
jge 0x42e28d
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov edx, esi
sub edx, ecx
cmp edx, 1
jne 0x42e27f
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edx
jmp 0x42e250
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x42e250
mov dword [ebp - 4], 0xfffffffe
call fcn.0042e2bf
xor ecx, ecx
jmp 0x42e2a0
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x42e2cb
cmp eax, 4
je 0x42e2cb
and esi, ecx
jmp 0x42e2cd
sub esi, ecx
add ecx, 1
cmp ecx, 0xe
jl 0x42e2a0
push 0xfa
lea eax, [ebp - 0x218]
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call ebx
nop
nop
nop
mov esi, 0x13
push 0x4617d0
push 0x4617d8
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
call edi
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 0x42e324
cmp eax, 4
je 0x42e324
and esi, ecx
jmp 0x42e326
sub esi, ecx
add ecx, 1
cmp ecx, 8
jl 0x42e305
push 0xfa
lea eax, [ebp - 0x218]
push eax
call ebx
add esi, 0xfffffffd
push 0x4617e0
push 0x4617e8
call edi
xor ecx, ecx
lea 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 0x42e36f
cmp eax, 3
je 0x42e36f
xor esi, ecx
jmp 0x42e374
mov eax, ecx
imul esi, eax
add ecx, 1
cmp ecx, 8
jl 0x42e350
lea ecx, [ebp - 0x270]
push ecx
push 0x4617f0
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
call edi
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 0x42e3b1
cmp eax, 3
je 0x42e3b1
xor esi, ecx
jmp 0x42e3b6
mov eax, ecx
imul esi, eax
add ecx, 1
cmp ecx, 2
jl 0x42e392
lea ecx, [ebp - 0x270]
push ecx
push 0x4617f8
call edi
xor ecx, ecx
mov edi, edi
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x42e3ef
cmp eax, 3
je 0x42e3ef
xor esi, ecx
jmp 0x42e3f4
mov eax, ecx
imul esi, eax
add ecx, 1
cmp ecx, 6
jl 0x42e3d0
lea ecx, [ebp - 0x270]
push ecx
push 0x461800
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, 0x11
nop
nop
nop
xor edi, edi
jmp 0x42e420
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea edx, [edx + edx*2]
mov eax, edi
sub eax, edx
cmp eax, 1
jne 0x42e439
and esi, edi
jmp 0x42e44f
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or esi, edi
add edi, 1
cmp edi, 3
jl 0x42e420
add esi, 1
push 0x461808
push 0x461810
call dword [sym.imp.USER32.dll_FindWindowW]
xor edi, edi
lea esp, [esp]
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea ecx, [edx + edx*2]
mov edx, edi
sub edx, ecx
cmp edx, 1
jne 0x42e489
and esi, edi
jmp 0x42e49f
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or esi, edi
add edi, 1
cmp edi, 2
jl 0x42e470
add esi, 0xfffffffd
push 0x461818
push 0x461820
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
call ebx
xor edi, edi
mov edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
jne 0x42e9f3
add esi, 5
nop
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x42e4ff
cmp eax, 3
je 0x42e4ff
xor esi, ecx
jmp 0x42e504
mov eax, ecx
imul esi, eax
add ecx, 1
cmp ecx, 8
jl 0x42e4e0
lea ecx, [ebp - 0x270]
push ecx
push 0x461828
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
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 0x42e53f
cmp eax, 4
je 0x42e53f
and esi, ecx
jmp 0x42e541
sub esi, ecx
add ecx, 1
cmp ecx, 8
jl 0x42e520
push 0xfa
lea eax, [ebp - 0x218]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call edi
add esi, 0xfffffffe
push 0x461830
push 0x461838
call ebx
xor ecx, ecx
mov edi, edi
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x42e58f
cmp eax, 4
je 0x42e58f
and esi, ecx
jmp 0x42e591
sub esi, ecx
add ecx, 1
cmp ecx, 6
jl 0x42e570
push 0xfa
lea eax, [ebp - 0x218]
push eax
call edi
push 0x461840
push 0x461848
call ebx
mov edi, 0x11
nop
nop
nop
mov dword [ebp - 4], 2
xor esi, esi
mov dword [ebp - 0x28c], esi
cmp esi, 4
jge 0x42e601
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov edx, esi
sub edx, ecx
cmp edx, 1
jne 0x42e5f3
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edx
jmp 0x42e5c4
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x42e5c4
mov dword [ebp - 4], 0xfffffffe
call fcn.0042e646
mov dword [ebp - 4], 3
xor esi, esi
lea edi, [esi + 1]
mov dword [ebp - 0x278], esi
test esi, esi
jge 0x42e65b
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
cmp ecx, edi
jne 0x42e651
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edi
jmp 0x42e619
add dword [ebp - 0x274], edi
add esi, edi
jmp 0x42e619
mov dword [ebp - 4], 0xfffffffe
call fcn.0042e68f
xor ecx, ecx
lea esp, [esp]
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x42e69b
cmp eax, 3
je 0x42e69b
xor esi, ecx
jmp 0x42e6a0
mov eax, ecx
imul esi, eax
add ecx, 1
cmp ecx, 3
jl 0x42e670
lea ecx, [ebp - 0x270]
push ecx
push 0x461850
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esi, 2
push 0x461858
push 0x461860
call dword [sym.imp.USER32.dll_FindWindowW]
xor edi, edi
push 0xfa
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
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 0x42e6fc
and edi, esi
jmp 0x42e712
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or edi, esi
add esi, 1
cmp esi, 3
jl 0x42e6e3
xor esi, esi
lea esp, [esp]
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
lea edx, [edx + edx*2]
mov eax, esi
sub eax, edx
cmp eax, 1
jne 0x42e739
and edi, esi
jmp 0x42e74f
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or edi, esi
add esi, 1
cmp esi, 3
jl 0x42e720
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
nop
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
jne 0x42e9e6
lea edi, [ecx + 0x11]
nop
nop
nop
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 0x42e7b1
cmp eax, 3
je 0x42e7b1
xor edi, ecx
jmp 0x42e7b6
mov eax, ecx
imul edi, eax
add ecx, 1
cmp ecx, 3
jl 0x42e792
lea ecx, [ebp - 0x270]
push ecx
push 0x461868
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], 4
xor esi, esi
mov dword [ebp - 0x27c], esi
cmp esi, 4
jge 0x42e817
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 0x42e809
mov eax, ebx
nop
mov ecx, edx
nop
add esi, 1
jmp 0x42e7d9
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x42e7d9
mov dword [ebp - 4], 0xfffffffe
call fcn.0042e83e
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 0x42e84a
and edi, esi
jmp 0x42e860
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or edi, esi
add esi, 1
cmp esi, 2
jl 0x42e825
mov dword [ebp - 4], 5
xor esi, esi
mov dword [ebp - 0x280], esi
test esi, esi
jge 0x42e8ae
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
cmp ecx, 1
jne 0x42e8a0
mov eax, ebx
nop
mov ecx, edx
nop
add esi, 1
jmp 0x42e871
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x42e871
mov dword [ebp - 4], 0xfffffffe
call fcn.0042e94a
push 0x461870
push 0x461878
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
call esi
mov edi, 0xaaaaaaa9
push 0x461880
push 0x461888
call esi
lea edx, [ebp - 0x270]
push edx
push 0x461890
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
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 eax, [edx + edx*2]
sub ecx, eax
jne 0x42e9d9
add edi, 1
mov dword [ebp - 4], 6
xor esi, esi
mov dword [ebp - 0x288], esi
cmp esi, 4
jge 0x42e963
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov edx, esi
sub edx, ecx
cmp edx, 1
jne 0x42e955
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edx
jmp 0x42e91b
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x42e91b
mov dword [ebp - 4], 0xfffffffe
call fcn.0042e9cd
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 eax, [edx + edx*2]
sub ecx, eax
je 0x42e9ac
jmp 0x42e990
mov ecx, esi
imul edi, ecx
add esi, 1
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
jne 0x42e990
add edi, 1
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 0x42e8f7
mov ecx, esi
imul edi, ecx
add esi, 1
jmp 0x42e760
mov edx, edi
imul esi, edx
add edi, 1
jmp 0x42e4c0
mov eax, esi
imul ebx, eax
add esi, 1
jmp 0x42e0f7