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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x46fd20
push 0x408860
mov eax, dword fs:[0]
push eax
sub esp, 0x290
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 edi, edi
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 0x4218c5
add edi, 0xe
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x288], esi
cmp esi, 0x16
jge 0x4210ad
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 0x42109f
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edx
jmp 0x421070
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x421070
mov dword [ebp - 4], 0xfffffffe
call fcn.00421118
xor eax, eax
jmp 0x4210c0
mov ecx, eax
imul esi, ecx
add eax, 1
cmp eax, 8
jl 0x4210c0
test esi, esi
jle 0x4210d4
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 0x4210ee
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, 2
je 0x421124
cmp eax, 3
je 0x421124
xor esi, ecx
jmp 0x421129
mov eax, ecx
imul esi, eax
add ecx, 1
cmp ecx, 3
jl 0x4210f3
lea ecx, [ebp - 0x270]
push ecx
push 0x46ca88
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esi, 0xfffffffd
push 0x46ca90
push 0x46ca98
call dword [sym.imp.USER32.dll_FindWindowW]
xor edi, edi
jmp 0x421160
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea edx, [edx + edx*2]
mov eax, edi
sub eax, edx
cmp eax, 1
jne 0x421179
and esi, edi
jmp 0x421195
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, 7
jl 0x421160
mov edi, 0x11
nop
nop
nop
xor ecx, ecx
jmp 0x4211b0
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x4211cf
cmp eax, 3
je 0x4211cf
xor edi, ecx
jmp 0x4211d4
mov eax, ecx
imul edi, eax
add ecx, 1
cmp ecx, 0xf
jl 0x4211b0
lea ecx, [ebp - 0x270]
push ecx
push 0x46caa0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor esi, esi
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
jne 0x4218b8
add edi, 8
mov dword [ebp - 4], 1
xor esi, esi
mov dword [ebp - 0x29c], esi
cmp esi, 0xb
jge 0x421252
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 0x421244
mov eax, ebx
nop
mov ecx, edx
nop
add esi, 1
jmp 0x421214
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x421214
mov dword [ebp - 4], 0xfffffffe
call fcn.0042129d
mov dword [ebp - 4], 2
xor esi, esi
mov dword [ebp - 0x280], esi
cmp esi, 0xb
jge 0x4212b4
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 0x4212a8
mov eax, ebx
nop
mov ecx, edx
nop
add esi, 1
jmp 0x421267
add dword [ebp - 0x274], 1
add esi, 1
jmp 0x421267
mov dword [ebp - 4], 0xfffffffe
call fcn.004212fe
mov dword [ebp - 4], 3
xor esi, esi
mov dword [ebp - 0x290], esi
cmp esi, 1
jge 0x421315
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 0x421309
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edx
jmp 0x4212c9
add dword [ebp - 0x274], 1
add esi, 1
jmp 0x4212c9
mov dword [ebp - 4], 0xfffffffe
call fcn.004213bf
xor edi, edi
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
jne 0x4218ab
add esi, 6
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 0x42189e
add esi, 4
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 0x421891
add esi, 3
xor edi, edi
lea ecx, [ecx]
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
jne 0x421884
xor edi, edi
lea ebx, [ebx]
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea eax, [edx + edx*2]
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jne 0x4213cb
and esi, edi
jmp 0x4213e7
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, 3
jl 0x4213a0
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 0x421877
lea edi, [ecx + 0x11]
nop
nop
nop
nop
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x42142f
cmp eax, 3
je 0x42142f
xor edi, ecx
jmp 0x421434
mov eax, ecx
imul edi, eax
add ecx, 1
cmp ecx, 8
jl 0x421410
lea ecx, [ebp - 0x270]
push ecx
push 0x46caa8
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], 4
xor esi, esi
mov dword [ebp - 0x278], esi
test esi, esi
jge 0x421494
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 0x421486
mov eax, ebx
nop
mov ecx, edx
nop
add esi, 1
jmp 0x421457
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x421457
mov dword [ebp - 4], 0xfffffffe
call fcn.004214ca
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, 2
je 0x4214d6
cmp eax, 3
je 0x4214d6
xor edi, ecx
jmp 0x4214db
mov eax, ecx
imul edi, eax
add ecx, 1
cmp ecx, 5
jl 0x4214a5
lea ecx, [ebp - 0x270]
push ecx
push 0x46cab0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor esi, esi
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
jne 0x42186a
add edi, 8
mov dword [ebp - 4], 5
xor esi, esi
mov dword [ebp - 0x298], esi
cmp esi, 4
jge 0x421559
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 0x42154b
mov eax, ebx
nop
mov ecx, edx
nop
add esi, 1
jmp 0x42151b
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x42151b
mov dword [ebp - 4], 0xfffffffe
call fcn.004215be
xor eax, eax
mov edx, eax
imul ecx, edx
add eax, 1
cmp eax, 4
jl 0x421567
nop
nop
nop
mov edi, 0x11
nop
nop
nop
mov dword [ebp - 4], 6
xor esi, esi
mov dword [ebp - 0x27c], esi
cmp esi, 4
jge 0x4215d8
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 0x4215ca
mov eax, ebx
nop
mov ecx, edx
nop
add esi, 1
jmp 0x421588
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x421588
mov dword [ebp - 4], 0xfffffffe
call fcn.00421637
xor edi, edi
push 0xfa
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 4], 7
xor esi, esi
mov dword [ebp - 0x284], esi
cmp esi, 4
jge 0x421650
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 0x421642
mov eax, ebx
nop
mov ecx, edx
nop
add esi, 1
jmp 0x421601
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x421601
mov dword [ebp - 4], 0xfffffffe
call fcn.00421685
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 0x421691
cmp eax, 3
je 0x421691
xor edi, ecx
jmp 0x421696
mov eax, ecx
imul edi, eax
add ecx, 1
cmp ecx, 7
jl 0x421660
lea ecx, [ebp - 0x270]
push ecx
push 0x46cab8
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], 8
xor esi, esi
mov dword [ebp - 0x28c], esi
cmp esi, 5
jge 0x4216f7
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 0x4216e9
mov eax, ebx
nop
mov ecx, edx
nop
add esi, 1
jmp 0x4216b9
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x4216b9
mov dword [ebp - 4], 0xfffffffe
call fcn.00421774
xor eax, eax
mov ecx, eax
imul edi, ecx
add eax, 1
cmp eax, 6
jl 0x421705
test edi, edi
jle 0x421719
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 0x421733
lea edi, [eax + 0x11]
nop
nop
nop
mov dword [ebp - 4], 9
xor esi, esi
mov dword [ebp - 0x294], esi
cmp esi, 4
jge 0x42178e
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 0x421780
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edx
jmp 0x42173f
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x42173f
mov dword [ebp - 4], 0xfffffffe
call fcn.004217c5
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 0x4217d1
cmp eax, 4
je 0x4217d1
and esi, ecx
jmp 0x4217d3
sub esi, ecx
add ecx, 1
cmp ecx, 4
jl 0x4217a0
push 0xfa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
add esi, 4
push 0x46cac0
push 0x46cac8
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
call edi
add esi, 0xfffffffd
push 0x46cad0
push 0x46cad8
call edi
xor edi, edi
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
je 0x421843
mov eax, edi
imul esi, eax
add edi, 1
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
jne 0x421827
nop
nop
nop
nop
nop
nop
mov eax, 0x55
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 0x4214f7
mov ecx, edi
imul esi, ecx
add edi, 1
jmp 0x4213f1
mov edx, edi
imul esi, edx
add edi, 1
jmp 0x421380
mov eax, edi
imul esi, eax
add edi, 1
jmp 0x421360
mov ecx, edi
imul esi, ecx
add edi, 1
jmp 0x421340
mov edx, edi
imul esi, edx
add edi, 1
jmp 0x421323
mov eax, esi
imul edi, eax
add esi, 1
jmp 0x4211f0
mov ecx, esi
imul edi, ecx
add esi, 1
jmp 0x421050