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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x46fa68
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 edi, edi
xor ecx, ecx
lea ebx, [ebx]
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x41d0df
cmp eax, 4
je 0x41d0df
and edi, ecx
jmp 0x41d0e1
sub edi, ecx
add ecx, 1
cmp ecx, 2
jl 0x41d0c0
push 0xfa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
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 0x41d11f
cmp eax, 3
je 0x41d11f
xor edi, ecx
jmp 0x41d124
mov eax, ecx
imul edi, eax
add ecx, 1
cmp ecx, 0x32
jl 0x41d100
lea ecx, [ebp - 0x270]
push ecx
push 0x46cf50
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
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 0x41d159
and edi, esi
jmp 0x41d16f
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or edi, esi
add esi, 1
cmp esi, 0x40
jl 0x41d140
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 0x41d7e5
add edi, 9
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x280], esi
cmp esi, 0x10
jge 0x41d1de
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 0x41d1d0
mov eax, ebx
nop
mov ecx, edx
nop
add esi, 1
jmp 0x41d1a0
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x41d1a0
mov dword [ebp - 4], 0xfffffffe
call fcn.0041d1f8
xor eax, eax
lea esp, [esp]
test al, 1
je 0x41d204
add edi, eax
jmp 0x41d206
sub edi, eax
add eax, 1
cmp eax, 0x20
jl 0x41d1f0
push 0x46cf58
push 0x46cf60
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
call esi
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 0x41d241
cmp eax, 4
je 0x41d241
and edi, ecx
jmp 0x41d243
sub edi, ecx
add ecx, 1
cmp ecx, 9
jl 0x41d222
push 0xfa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x46cf68
push 0x46cf70
call esi
mov dword [ebp - 4], 1
xor esi, esi
mov dword [ebp - 0x28c], esi
cmp esi, 0xa
jge 0x41d2af
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 0x41d2a1
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edx
jmp 0x41d272
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x41d272
mov dword [ebp - 4], 0xfffffffe
call fcn.0041d2f5
mov dword [ebp - 4], 2
xor esi, esi
lea edi, [esi + 1]
mov dword [ebp - 0x278], esi
cmp esi, 2
jge 0x41d30a
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 0x41d300
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edi
jmp 0x41d2c7
add dword [ebp - 0x274], edi
add esi, edi
jmp 0x41d2c7
mov dword [ebp - 4], 0xfffffffe
call fcn.0041d350
mov dword [ebp - 4], 3
xor esi, esi
lea edi, [esi + 1]
mov dword [ebp - 0x288], esi
cmp esi, 7
jge 0x41d365
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, edi
jne 0x41d35b
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edi
jmp 0x41d322
add dword [ebp - 0x274], edi
add esi, edi
jmp 0x41d322
mov dword [ebp - 4], 0xfffffffe
call fcn.0041d392
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 0x41d39e
cmp eax, 3
je 0x41d39e
xor esi, ecx
jmp 0x41d3a3
mov eax, ecx
imul esi, eax
add ecx, 1
cmp ecx, 4
jl 0x41d373
lea ecx, [ebp - 0x270]
push ecx
push 0x46cf78
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
call esi
mov edi, 0x11
nop
nop
nop
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 0x41d3ef
cmp eax, 3
je 0x41d3ef
xor edi, ecx
jmp 0x41d3f4
mov eax, ecx
imul edi, eax
add ecx, 1
cmp ecx, 4
jl 0x41d3d0
lea ecx, [ebp - 0x270]
push ecx
push 0x46cf80
call esi
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 0x41d429
and edi, esi
jmp 0x41d43f
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or edi, esi
add esi, 1
cmp esi, 6
jl 0x41d410
mov dword [ebp - 4], 4
xor esi, esi
mov dword [ebp - 0x27c], esi
cmp esi, 1
jge 0x41d48d
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 0x41d47f
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edx
jmp 0x41d450
add edi, 1
mov dword [ebp - 0x274], edi
add esi, 1
jmp 0x41d450
mov dword [ebp - 4], 0xfffffffe
call fcn.0041d4d2
mov dword [ebp - 4], 5
xor esi, esi
lea edi, [esi + 1]
mov dword [ebp - 0x284], esi
test esi, esi
jge 0x41d4e7
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 0x41d4dd
mov eax, ebx
nop
mov ecx, edx
nop
add esi, edi
jmp 0x41d4a5
add dword [ebp - 0x274], edi
add esi, edi
jmp 0x41d4a5
mov dword [ebp - 4], 0xfffffffe
call fcn.0041d56f
xor eax, eax
mov edx, eax
imul ecx, edx
add eax, 1
cmp eax, 5
jl 0x41d4f5
test ecx, ecx
jle 0x41d509
lea ecx, [ecx + ecx*4]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov edx, ecx
sub edx, eax
jne 0x41d525
mov ecx, 0x11
nop
nop
nop
test ecx, ecx
jle 0x41d52f
lea ecx, [ecx + ecx*4]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov edx, ecx
sub edx, eax
jne 0x41d549
lea ecx, [edx + 0x11]
nop
nop
nop
xor esi, esi
mov edi, edi
mov eax, 0xcccccccd
mul esi
shr edx, 2
lea edx, [edx + edx*4]
mov eax, esi
sub eax, edx
cmp eax, 1
je 0x41d57b
cmp eax, 4
je 0x41d57b
and ecx, esi
jmp 0x41d57d
sub ecx, esi
add esi, 1
cmp esi, 3
jl 0x41d550
push 0xfa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, 0x11
nop
nop
nop
xor ebx, ebx
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
je 0x41d5dc
jmp 0x41d5c0
mov eax, ebx
imul esi, eax
add ebx, 1
call edi
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
jne 0x41d5c0
xor ebx, ebx
call edi
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
je 0x41d60e
mov ecx, ebx
imul esi, ecx
add ebx, 1
call edi
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
jne 0x41d5f2
add esi, 4
xor ebx, ebx
call edi
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
je 0x41d643
mov ecx, ebx
imul esi, ecx
add ebx, 1
call edi
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
jne 0x41d627
add esi, 2
xor ecx, ecx
jmp 0x41d650
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x41d66f
cmp eax, 3
je 0x41d66f
xor esi, ecx
jmp 0x41d674
mov eax, ecx
imul esi, eax
add ecx, 1
cmp ecx, 3
jl 0x41d650
lea ecx, [ebp - 0x270]
push ecx
push 0x46cf88
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
call ebx
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 0x41d6b1
cmp eax, 3
je 0x41d6b1
xor esi, ecx
jmp 0x41d6b6
mov eax, ecx
imul esi, eax
add ecx, 1
cmp ecx, 4
jl 0x41d692
lea ecx, [ebp - 0x270]
push ecx
push 0x46cf90
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, 2
je 0x41d6ef
cmp eax, 3
je 0x41d6ef
xor esi, ecx
jmp 0x41d6f4
mov eax, ecx
imul esi, eax
add ecx, 1
cmp ecx, 4
jl 0x41d6d0
lea ecx, [ebp - 0x270]
push ecx
push 0x46cf98
call ebx
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 0x41d72f
cmp eax, 4
je 0x41d72f
and esi, ecx
jmp 0x41d731
sub esi, ecx
add ecx, 1
cmp ecx, 4
jl 0x41d710
push 0xfa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ebx, ebx
call edi
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
je 0x41d77d
mov eax, ebx
imul esi, eax
add ebx, 1
call edi
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
jne 0x41d761
add esi, 3
push 0xfa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ebx, ebx
call edi
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
je 0x41d7c4
mov eax, ebx
imul esi, eax
add ebx, 1
call edi
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
jne 0x41d7a8
add esi, 2
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 0x41d180