Function at 0x407490
Capabilities:
Check for time delay via gettickcount
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5686b4
mov eax, dword fs:[0]
push eax
mov eax, 0x115c
call fcn.0054e4e0
mov eax, dword [0x5d4050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1158], ebx
mov dword [ebp - 4], 0
mov byte [ebp - 0x1151], 0
mov dword [ebp - 0x1130], 0xf
mov dword [ebp - 0x1134], 0
mov byte [ebp - 0x1144], 0
mov dword [ebp - 0x1118], 0xf
mov dword [ebp - 0x111c], 0
mov byte [ebp - 0x112c], 0
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [ebx + 0x28]
sub eax, dword [ebx + 8]
imul ecx, dword [ecx + 0x42c], 0x3e8
cmp eax, ecx
setae al
test al, al
jne 0x407662
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x1148]
push eax
push 0x1000
lea eax, [ebp - 0x1114]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x407945
mov ebx, dword [ebp - 0x1148]
xor edi, edi
shr ebx, 2
test ebx, ebx
je 0x407719
jmp 0x407580
mov eax, dword [ebp + edi*4 - 0x1114]
test eax, eax
je 0x4076fc
push eax
push 0
push 0x100410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4075d7
lea eax, [ebp - 0x114c]
push eax
push 4
lea eax, [ebp - 0x1150]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x4075d7
push 0x104
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x1150]
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameA]
sub esp, 0x18
lea edx, [ebp - 0x114]
mov ecx, esp
mov dword [ebp - 0x1160], esp
call fcn.004173c0
mov byte [ebp - 4], 3
lea edx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae edx, dword [ebp + 8]
sub esp, 0x18
mov ecx, esp
call fcn.004173c0
mov byte [ebp - 4], 2
call fcn.00418390
add esp, 0x30
test al, al
je 0x40764d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1158]
sub eax, dword [ecx + 8]
mov ecx, dword [ecx + 0x28]
imul ecx, dword [ecx + 0x42c], 0x3e8
cmp eax, ecx
jae 0x40764d
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x407616
mov byte [ebp - 0x1151], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x1151]
test al, al
je 0x407702
mov esi, 1
cmp dword [ebp - 0x1118], 0x10
jb 0x40767e
push dword [ebp - 0x112c]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x1130], 0x10
mov dword [ebp - 0x1118], 0xf
mov dword [ebp - 0x111c], 0
mov byte [ebp - 0x112c], 0
jb 0x4076b0
push dword [ebp - 0x1144]
call fcn.00421c08
add esp, 4
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x1130], 0xf
mov dword [ebp - 0x1134], 0
mov byte [ebp - 0x1144], 0
jb 0x4076dc
push dword [ebp + 8]
call fcn.00421c08
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00549fe1
mov esp, ebp
pop ebp
ret 0x18
mov al, byte [ebp - 0x1151]
inc edi
cmp edi, ebx
jb 0x407580
test al, al
jne 0x407662
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [ebp - 0x1158]
mov dword [ebp - 0x115c], 0
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0x320]
mov dword [ebp - 0x1160], eax
test eax, eax
je 0x407518
mov edi, dword [ebx + 0x28]
mov byte [ebp - 0x1151], 0
call esi
imul ecx, dword [edi + 0x42c], 0x3e8
sub eax, dword [ebx + 8]
cmp eax, ecx
jae 0x407662
mov esi, dword [edi + 0x31c]
mov esi, dword [esi]
cmp esi, dword [edi + 0x31c]
je 0x407921
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x28]
sub eax, dword [ebx + 8]
imul ecx, dword [ecx + 0x42c], 0x3e8
cmp eax, ecx
jae 0x407921
lea eax, [esi + 0x10]
lea ecx, [ebp - 0x1144]
cmp ecx, eax
je 0x4077aa
push 0xffffffffffffffff
push 0
push eax
call fcn.00402ac0
lea eax, [esi + 0x28]
lea ecx, [ebp - 0x112c]
cmp ecx, eax
je 0x4077c1
push 0xffffffffffffffff
push 0
push eax
call fcn.00402ac0
cmp dword [ebp - 0x1118], 0x10
lea edx, [ebp - 0x112c]
cmovae edx, dword [ebp - 0x112c]
sub esp, 0x18
mov edi, esp
mov dword [ebp - 0x1164], esp
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp byte [edx], 0
jne 0x4077fa
xor ecx, ecx
jmp 0x407809
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407800
sub ecx, ebx
push ecx
push edx
mov ecx, edi
call fcn.00402bf0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x1144]
cmp dword [ebp - 0x1130], 0x10
cmovae edx, dword [ebp - 0x1144]
sub esp, 0x18
mov edi, esp
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp byte [edx], 0
jne 0x407849
xor ecx, ecx
jmp 0x407859
mov ecx, edx
lea ebx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407850
sub ecx, ebx
push ecx
push edx
mov ecx, edi
call fcn.00402bf0
mov byte [ebp - 4], 2
call fcn.00407950
mov ebx, dword [ebp - 0x1158]
mov edi, eax
test edi, edi
je 0x4078cd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x28]
sub eax, dword [ebx + 8]
imul ecx, dword [ecx + 0x42c], 0x3e8
cmp eax, ecx
jae 0x4078b9
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4078b2
cmp eax, 0x102
je 0x407877
jmp 0x4078b9
mov byte [ebp - 0x1151], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x1151], 0
jne 0x407662
cmp byte [esi + 0xd], 0
jne 0x407912
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4078f2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x407912
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4078e6
jmp 0x407912
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x407910
jmp 0x407900
cmp esi, dword [eax + 8]
jne 0x407910
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x407900
mov esi, eax
mov eax, dword [ebx + 0x28]
cmp esi, dword [eax + 0x31c]
jne 0x407775
mov eax, dword [ebp - 0x115c]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
inc eax
mov dword [ebp - 0x115c], eax
cmp eax, dword [ebp - 0x1160]
jb 0x407740
jmp 0x407512
xor esi, esi
jmp 0x407667