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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x471340
push 0x408860
mov eax, dword fs:[0]
push eax
sub esp, 0x288
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, 0x1b
jl 0x4409c0
test esi, esi
jle 0x4409d4
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 0x4409ee
lea esi, [eax + 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 0x440a12
cmp eax, 4
je 0x440a12
and esi, ecx
jmp 0x440a14
sub esi, ecx
add ecx, 1
cmp ecx, 0x25
jl 0x4409f3
push 0xfa
lea eax, [ebp - 0x218]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
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 0x440a51
cmp eax, 4
je 0x440a51
and esi, ecx
jmp 0x440a53
sub esi, ecx
add ecx, 1
cmp ecx, 0x3f
jl 0x440a32
push 0xfa
lea eax, [ebp - 0x218]
push eax
call edi
xor ecx, ecx
jmp 0x440a70
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x440a8f
cmp eax, 4
je 0x440a8f
and esi, ecx
jmp 0x440a91
sub esi, ecx
add ecx, 1
cmp ecx, 0x16
jl 0x440a70
push 0xfa
lea eax, [ebp - 0x218]
push eax
call edi
push 0x460240
push 0x460248
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
call ebx
xor eax, eax
jmp 0x440ac0
mov ecx, eax
imul esi, ecx
add eax, 1
cmp eax, 0x1a
jl 0x440ac0
nop
nop
nop
push 0x460250
push 0x460258
call ebx
nop
nop
nop
push 0x460260
push 0x460268
call ebx
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 0x440b1a
and edi, esi
jmp 0x440b30
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or edi, esi
add esi, 1
cmp esi, 5
jl 0x440b01
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x290], esi
cmp esi, 1
jge 0x440b7b
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 0x440b6d
mov eax, ebx
nop
mov ecx, edx
nop
add esi, 1
jmp 0x440b3d
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x440b3d
mov dword [ebp - 4], 0xfffffffe
call fcn.00440baf
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 0x440bbb
cmp eax, 4
je 0x440bbb
and esi, ecx
jmp 0x440bbd
sub esi, ecx
add ecx, 1
cmp ecx, 8
jl 0x440b90
push 0xfa
lea eax, [ebp - 0x218]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call esi
mov edi, 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 0x440c02
cmp eax, 4
je 0x440c02
and edi, ecx
jmp 0x440c04
sub edi, ecx
add ecx, 1
cmp ecx, 8
jl 0x440be3
push 0xfa
lea eax, [ebp - 0x218]
push eax
call esi
mov dword [ebp - 4], 1
xor esi, esi
mov dword [ebp - 0x294], esi
cmp esi, 3
jge 0x440c60
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 0x440c52
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edx
jmp 0x440c23
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x440c23
mov dword [ebp - 4], 0xfffffffe
call fcn.00440c89
xor edi, edi
mov edi, edi
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea eax, [edx + edx*2]
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jne 0x440c95
and esi, edi
jmp 0x440cab
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or esi, edi
add edi, 1
cmp edi, 3
jl 0x440c70
add esi, 0xfffffffd
push 0x460270
push 0x460278
call dword [sym.imp.USER32.dll_FindWindowW]
xor ecx, ecx
jmp 0x440cd0
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x440cef
cmp eax, 4
je 0x440cef
and esi, ecx
jmp 0x440cf1
sub esi, ecx
add ecx, 1
cmp ecx, 3
jl 0x440cd0
push 0xfa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 4], 2
xor edi, edi
mov dword [ebp - 0x280], edi
test edi, edi
jge 0x440d50
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 0x440d42
mov eax, ebx
nop
mov ecx, edx
nop
add edi, edx
jmp 0x440d14
add esi, 1
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x440d14
mov dword [ebp - 4], 0xfffffffe
call fcn.00440d7f
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 0x440d8b
cmp eax, 4
je 0x440d8b
and edi, ecx
jmp 0x440d8d
sub edi, ecx
add ecx, 1
cmp ecx, 8
jl 0x440d60
push 0xfa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor esi, esi
lea esp, [esp]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
jne 0x4412b0
lea edi, [ecx + 0x11]
nop
nop
nop
mov dword [ebp - 4], 3
xor esi, esi
mov dword [ebp - 0x278], esi
cmp esi, 5
jge 0x440e19
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 0x440e0b
mov eax, ebx
nop
mov ecx, edx
nop
add esi, 1
jmp 0x440ddb
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x440ddb
mov dword [ebp - 4], 0xfffffffe
call fcn.00440e79
xor eax, eax
mov edx, eax
imul edi, edx
add eax, 1
cmp eax, 4
jl 0x440e27
test edi, edi
jle 0x440e3b
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 0x440e55
lea edi, [ecx + 0x11]
nop
nop
nop
xor esi, esi
lea ebx, [ebx]
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
lea edx, [edx + edx*2]
mov eax, esi
sub eax, edx
cmp eax, 1
jne 0x440e85
and edi, esi
jmp 0x440e9b
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or edi, esi
add esi, 1
cmp esi, 7
jl 0x440e60
mov dword [ebp - 4], 4
xor esi, esi
mov dword [ebp - 0x288], esi
cmp esi, 4
jge 0x440ee9
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 0x440edb
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edx
jmp 0x440eac
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x440eac
mov dword [ebp - 4], 0xfffffffe
call fcn.00440f1f
xor ecx, ecx
jmp 0x440f00
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x440f2b
cmp eax, 3
je 0x440f2b
xor edi, ecx
jmp 0x440f30
mov eax, ecx
imul edi, eax
add ecx, 1
cmp ecx, 4
jl 0x440f00
lea ecx, [ebp - 0x270]
push ecx
push 0x460280
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 0x440f69
and edi, esi
jmp 0x440f7f
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or edi, esi
add esi, 1
cmp esi, 4
jl 0x440f50
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 0x4412a3
nop
nop
nop
lea edi, [ecx + 0x12]
push 0x460288
push 0x460290
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 0x440fdf
cmp eax, 4
je 0x440fdf
and edi, ecx
jmp 0x440fe1
sub edi, ecx
add ecx, 1
cmp ecx, 2
jl 0x440fc0
push 0xfa
lea eax, [ebp - 0x218]
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call ebx
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 0x44101f
cmp eax, 4
je 0x44101f
and edi, ecx
jmp 0x441021
sub edi, ecx
add ecx, 1
cmp ecx, 8
jl 0x441000
push 0xfa
lea eax, [ebp - 0x218]
push eax
call ebx
xor esi, esi
lea esp, [esp]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
jne 0x441296
lea edi, [ecx + 0x11]
nop
nop
nop
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x441081
cmp eax, 4
je 0x441081
and edi, ecx
jmp 0x441083
sub edi, ecx
add ecx, 1
cmp ecx, 7
jl 0x441062
push 0xfa
lea eax, [ebp - 0x218]
push eax
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 0x441289
add edi, 3
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 0x4410df
cmp eax, 3
je 0x4410df
xor edi, ecx
jmp 0x4410e4
mov eax, ecx
imul edi, eax
add ecx, 1
cmp ecx, 4
jl 0x4410c0
lea ecx, [ebp - 0x270]
push ecx
push 0x460298
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], 5
xor esi, esi
mov dword [ebp - 0x27c], esi
cmp esi, 1
jge 0x441145
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 0x441137
mov eax, ebx
nop
mov ecx, edx
nop
add esi, 1
jmp 0x441107
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x441107
mov dword [ebp - 4], 0xfffffffe
call fcn.0044118c
mov dword [ebp - 4], 6
xor esi, esi
mov edi, 1
mov dword [ebp - 0x284], esi
cmp esi, edi
jge 0x4411a1
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, edi
jne 0x441197
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edi
jmp 0x44115f
add dword [ebp - 0x274], edi
add esi, edi
jmp 0x44115f
mov dword [ebp - 4], 0xfffffffe
call fcn.00441208
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 0x44127c
add edi, 4
mov dword [ebp - 4], 7
xor esi, esi
mov dword [ebp - 0x28c], esi
cmp esi, 1
jge 0x441222
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 0x441214
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edx
jmp 0x4411d9
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x4411d9
mov dword [ebp - 4], 0xfffffffe
call fcn.00441238
xor eax, eax
test al, 1
je 0x441244
add esi, eax
jmp 0x441246
sub esi, eax
add eax, 1
cmp eax, 2
jl 0x441230
push 0x4602a0
push 0x4602a8
call dword [sym.imp.USER32.dll_FindWindowW]
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 eax, esi
imul edi, eax
add esi, 1
jmp 0x4411b5
mov ecx, esi
imul edi, ecx
add esi, 1
jmp 0x4410a1
mov edx, esi
imul edi, edx
add esi, 1
jmp 0x441040
mov eax, esi
imul edi, eax
add esi, 1
jmp 0x440f90
mov ecx, esi
imul edi, ecx
add esi, 1
jmp 0x440db0