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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4712e8
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 esi, esi
xor eax, eax
lea ebx, [ebx]
mov ecx, eax
imul esi, ecx
add eax, 1
cmp eax, 0x10
jl 0x440280
test esi, esi
jle 0x440294
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 0x4402ae
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 0x4402cc
and esi, edi
jmp 0x4402e2
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or esi, edi
add edi, 1
cmp edi, 0x40
jl 0x4402b3
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, 1
je 0x44030f
cmp eax, 4
je 0x44030f
and esi, ecx
jmp 0x440311
sub esi, ecx
add ecx, 1
cmp ecx, 5
jl 0x4402f0
push 0xfa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor edi, edi
lea ecx, [ecx]
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea ecx, [edx + edx*2]
mov edx, edi
sub edx, ecx
cmp edx, 1
jne 0x440349
and esi, edi
jmp 0x44035f
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or esi, edi
add edi, 1
cmp edi, 0x1e
jl 0x440330
add esi, 5
push 0x4602b0
push 0x4602b8
call dword [sym.imp.USER32.dll_FindWindowW]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x280], edi
cmp edi, 0xf
jge 0x4403bd
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jne 0x4403af
mov eax, ebx
nop
mov ecx, edx
nop
add edi, 1
jmp 0x44037f
add esi, 1
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x44037f
mov dword [ebp - 4], 0xfffffffe
call fcn.00440422
xor eax, eax
jmp 0x4403d0
mov edx, eax
imul edi, edx
add eax, 1
cmp eax, 0x10
jl 0x4403d0
test edi, edi
jle 0x4403e4
lea edi, [edi + edi*4]
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov ecx, edi
sub ecx, eax
jne 0x4403fe
lea edi, [ecx + 0x11]
nop
nop
nop
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 0x44042e
cmp eax, 4
je 0x44042e
and edi, ecx
jmp 0x440430
sub edi, ecx
add ecx, 1
cmp ecx, 0xf
jl 0x440403
push 0xfa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 4], 1
xor esi, esi
mov dword [ebp - 0x28c], esi
cmp esi, 4
jge 0x440490
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 0x440482
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edx
jmp 0x440453
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x440453
mov dword [ebp - 4], 0xfffffffe
call fcn.004404bf
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 0x4404cb
cmp eax, 4
je 0x4404cb
and edi, ecx
jmp 0x4404cd
sub edi, ecx
add ecx, 1
cmp ecx, 7
jl 0x4404a0
push 0xfa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 4], 2
xor esi, esi
mov dword [ebp - 0x278], esi
cmp esi, 8
jge 0x44052d
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 0x44051f
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edx
jmp 0x4404f0
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x4404f0
mov dword [ebp - 4], 0xfffffffe
call fcn.00440573
mov dword [ebp - 4], 3
xor esi, esi
lea edi, [esi + 1]
mov dword [ebp - 0x288], esi
cmp esi, 3
jge 0x440588
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 0x44057e
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edi
jmp 0x440545
add dword [ebp - 0x274], edi
add esi, edi
jmp 0x440545
mov dword [ebp - 4], 0xfffffffe
call fcn.004405b5
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 0x4405c1
cmp eax, 3
je 0x4405c1
xor esi, ecx
jmp 0x4405c6
mov eax, ecx
imul esi, eax
add ecx, 1
cmp ecx, 4
jl 0x440596
lea ecx, [ebp - 0x270]
push ecx
push 0x4602c0
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 0x440601
cmp eax, 4
je 0x440601
and esi, ecx
jmp 0x440603
sub esi, ecx
add ecx, 1
cmp ecx, 3
jl 0x4405e2
push 0xfa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
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 edx, [edx + edx*2]
sub ecx, edx
jne 0x440969
add esi, 8
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x44065f
cmp eax, 3
je 0x44065f
xor esi, ecx
jmp 0x440664
mov eax, ecx
imul esi, eax
add ecx, 1
cmp ecx, 5
jl 0x440640
lea ecx, [ebp - 0x270]
push ecx
push 0x4602c8
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esi, 0xfffffffe
push 0x4602d0
push 0x4602d8
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 0x44095c
add esi, 7
test esi, esi
jle 0x4406b5
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 0x4406cf
lea esi, [ecx + 0x11]
nop
nop
nop
push 0x4602e0
push 0x4602e8
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 0x44094f
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 0x44071f
cmp eax, 3
je 0x44071f
xor esi, ecx
jmp 0x440724
mov eax, ecx
imul esi, eax
add ecx, 1
cmp ecx, 4
jl 0x440700
lea ecx, [ebp - 0x270]
push ecx
push 0x4602f0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
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 0x440942
add esi, 7
mov dword [ebp - 4], 4
xor ebx, ebx
mov dword [ebp - 0x27c], ebx
cmp ebx, 1
jge 0x4407a2
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov ecx, ebx
sub ecx, eax
cmp ecx, 1
jne 0x440794
mov eax, ebx
nop
mov ecx, edx
nop
add ebx, 1
jmp 0x440764
add esi, 1
mov dword [ebp - 0x274], esi
add ebx, 1
jmp 0x440764
mov dword [ebp - 4], 0xfffffffe
call fcn.004407c9
xor esi, esi
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
lea edx, [edx + edx*2]
mov eax, esi
sub eax, edx
cmp eax, 1
jne 0x4407d5
and edi, esi
jmp 0x4407eb
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or edi, esi
add esi, 1
cmp esi, 3
jl 0x4407b0
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x440800
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
jne 0x440935
xor esi, esi
lea ebx, [ebx]
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
lea eax, [edx + edx*2]
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jne 0x440839
and edi, esi
jmp 0x44084f
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or edi, esi
add esi, 1
cmp esi, 3
jl 0x440820
test edi, edi
jle 0x44085e
lea edi, [edi + edi*4]
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
jne 0x440878
lea edi, [eax + 0x11]
nop
nop
nop
mov dword [ebp - 4], 5
xor esi, esi
mov dword [ebp - 0x284], esi
cmp esi, 4
jge 0x4408c1
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 0x4408b3
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edx
jmp 0x440884
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x440884
mov dword [ebp - 4], 0xfffffffe
call fcn.004408ef
xor ecx, ecx
nop
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x4408fb
cmp eax, 4
je 0x4408fb
and esi, ecx
jmp 0x4408fd
sub esi, ecx
add ecx, 1
cmp ecx, 2
jl 0x4408d0
push 0xfa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, esi
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 ecx, esi
imul edi, ecx
add esi, 1
jmp 0x440800
mov edx, edi
imul esi, edx
add edi, 1
jmp 0x440740
mov eax, edi
imul esi, eax
add edi, 1
jmp 0x4406e4
mov ecx, edi
imul esi, ecx
add edi, 1
jmp 0x440693
mov edx, edi
imul esi, edx
add edi, 1
jmp 0x440625