Function at 0x4036af
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x403710
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xe4], eax
mov dword [ebp - 0x2c], 0xefafdc02
mov dword [ebp - 0x3c], 0xefafdc03
mov dword [ebp - 0x1c], 0x8a645fd3
mov dword [ebp - 0x10], 0xfcfb40c2
mov edx, dword [ebp - 8]
cmp dword [edx + 0xe4], 0
je 0x4037f1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0xc], 0xa030
mov dword [ebp - 4], 0x9ea4bcfa
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xe4]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x100], ecx
push 4
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 8]
add eax, 0xa0
push eax
call fcn.0040100f
add esp, 0xc
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 0xe8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xe4]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0xd4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 0xe0], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x19c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x14], eax
mov dword [ebp - 0x34], 0x8764efd3
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
jmp 0x4037f9
push 0xa
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xe4]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x154], eax
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x48], 0x7654fde1
lea edx, [ebp - 0x38]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x60]
mov dword [eax], 0xddaf831e
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0xac], 0
push 0x188
push 0x64
push 0
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push 4
mov ecx, dword [ebp - 8]
add ecx, 0xa0
push ecx
lea edx, [ebp - 4]
push edx
call fcn.0040100f
add esp, 0xc
mov eax, dword [ebp - 4]
add eax, 0x15
mov dword [ebp - 4], eax
mov dword [ebp - 0xb0], 0xafefb70
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0xb0]
sub ecx, 0xafed872
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0x6c], 0xffff
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, dword [ebp - 8]
mov dword [edx + 0xe4], eax
mov byte [ebp - 0x140], 0xb
cmp dword [ebp - 0xb0], 0
jbe 0x403923
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jne 0x40391a
push 0x64
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push 0
push 0
push 0
call sub.AVIFIL32.dll_AVIBuildFilterA
call sub.MSACM32.dll_acmGetVersion
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0xb0], 0
jne 0x40393f
push 0x8000
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x403946
mov dword [ebp - 0x64], 0x40
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x64]
push edx
push 0x1000
mov eax, dword [ebp - 0x4c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xd8], eax
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xd8]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 4]
add ecx, 0x456
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x100]
add eax, 0x400
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x100], eax
mov dword [ebp - 0x50], 0
mov edx, dword [ebp - 8]
cmp dword [edx + 0xd8], 0
je 0x403b38
mov eax, dword [ebp - 8]
mov ecx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [eax + 0x134], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x100]
add eax, 0x100
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0xb00
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edx + 0x24], eax
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x158], 4
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x24], 0
jbe 0x403aeb
mov edx, dword [ebp - 4]
add edx, 0xf4291
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x403a35
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 4
push 0x1000
mov eax, dword [ebp - 0xb0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0xb0]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x70]
push eax
call fcn.0040100f
add esp, 0xc
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0xa8], 0xffffffff
lea edx, [ebp - 0x169]
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0xa8]
add eax, 1
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x164], ecx
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0xa8]
movzx eax, byte [edx]
sub eax, dword [ebp - 0x164]
mov byte [ebp - 0x169], al
mov ecx, dword [ebp - 0x68]
add ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0x15c]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0xb0]
jb 0x403a88
mov dword [ebp - 0xa8], 0xffffffff
jmp 0x403b0b
push 0x8000
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x188]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [ebp - 8]
push edx
call fcn.00401119
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xd8]
add ecx, 4
mov edx, dword [ebp - 8]
mov dword [edx + 0xd8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xd8]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x38]
mov dword [edx + 0x188], eax
mov eax, 1
mov esp, ebp
pop ebp
ret