Function at 0xbf7280
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
push esi
mov byte [ebp - 0x1d], 0
lea ecx, [ebp - 0x18]
call fcn.00c03a10
mov eax, dword [ebp + 0xc]
push eax
call fcn.00c184db
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
call fcn.00c14af4
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00c18781
add esp, 8
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00c18719
add esp, 4
push str.global_
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00c184f6
add esp, 8
cmp dword [ebp - 0x1c], eax
jne 0xbf72fe
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.00c03e90
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00c14a7a
add esp, 4
jmp 0xbf7335
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00c14a7a
add esp, 4
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00bfa460
test eax, eax
jne 0xbf7335
mov byte [ebp - 0x11d], 0
lea ecx, [ebp - 0x18]
call fcn.00c03ce0
mov al, byte [ebp - 0x11d]
jmp 0xbf7d8b
call fcn.00bfefa0
call fcn.00c034c0
lea ecx, [ebp - 0x18]
call fcn.00c049c0
push eax
call fcn.00c02750
mov dword [ebp - 4], eax
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0xbf7ccf
push 0xa
call fcn.00c036d0
test eax, eax
jne 0xbf7370
call fcn.00c00fd0
test eax, eax
jne 0xbf7398
cmp dword [ebp - 4], 0
je 0xbf7398
push 0x32
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [ebp - 0x11e], 0
lea ecx, [ebp - 0x18]
call fcn.00c03ce0
mov al, byte [ebp - 0x11e]
jmp 0xbf7d8b
push 0xa
call fcn.00c036d0
test eax, eax
je 0xbf73ce
call fcn.00bffd20
test eax, eax
jne 0xbf73ce
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [ebp - 0x11f], 0
lea ecx, [ebp - 0x18]
call fcn.00c03ce0
mov al, byte [ebp - 0x11f]
jmp 0xbf7d8b
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00c049c0
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00bfe8d0
test eax, eax
jne 0xbf740e
mov byte [ebp - 0x120], 0
lea ecx, [ebp - 0x18]
call fcn.00c03ce0
mov al, byte [ebp - 0x120]
jmp 0xbf7d8b
push 0xa
call fcn.00c036d0
test eax, eax
jne 0xbf7433
mov byte [ebp - 0x121], 1
lea ecx, [ebp - 0x18]
call fcn.00c03ce0
mov al, byte [ebp - 0x121]
jmp 0xbf7d8b
cmp dword [ebp + 0x1c], 0xfffffffe
jne 0xbf7441
call fcn.00bff790
mov dword [ebp + 0x1c], eax
mov byte [ebp - 0x1d], 1
push 0x10
lea edx, [ebp - 0x98]
push edx
push str.80_0U
call fcn.00c032b0
push 0x10
lea eax, [ebp - 0x74]
push eax
push str.960_0U
call fcn.00c032b0
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x98]
push edx
call fcn.00c01280
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x74]
push ecx
call fcn.00c01280
mov byte [ebp - 0x35], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0x84], 0
cmp dword [ebp + 0x24], 0
je 0xbf74ea
mov edx, dword [ebp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp - 0xe0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0xe0]
push eax
call fcn.00c18719
add esp, 4
cmp dword [ebp + 0x28], 0
je 0xbf752d
mov ecx, dword [ebp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 0x84]
push edx
call fcn.00c18719
add esp, 4
push 0
push 0
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0xc4]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0xe0]
push edx
call fcn.00bf6c10
add esp, 0x20
mov byte [ebp - 0x35], al
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00bf6c10
add esp, 0x20
movzx edx, al
test edx, edx
jne 0xbf75a9
movzx eax, byte [ebp - 0x35]
test eax, eax
jne 0xbf75a9
mov byte [ebp - 0x159], 0
jmp 0xbf75b0
mov byte [ebp - 0x159], 1
mov cl, byte [ebp - 0x159]
mov byte [ebp - 0x35], cl
movzx edx, byte [ebp - 0x35]
test edx, edx
je 0xbf75d1
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0xc5], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov byte [ebp - 0xcc], 0
movzx eax, byte [ebp - 0xc5]
test eax, eax
je 0xbf762f
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 0xc5], 0
mov byte [ebp - 0x7d], 1
push 0x14
call fcn.00c12640
add esp, 4
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0xbf7668
push 0
mov ecx, dword [ebp - 0x128]
call fcn.00c01b40
mov dword [ebp - 0x160], eax
jmp 0xbf7672
mov dword [ebp - 0x160], 0
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0xdc], ecx
lea ecx, [ebp - 0xd8]
call fcn.00c07cc0
mov ecx, dword [ebp - 0xdc]
call fcn.00c01df0
sub eax, 1
mov dword [ebp - 0xe4], eax
jmp 0xbf76ae
mov edx, dword [ebp - 0xe4]
sub edx, 1
mov dword [ebp - 0xe4], edx
cmp dword [ebp - 0xe4], 0
jl 0xbf7abb
mov byte [ebp - 0xe5], 1
movzx eax, byte [ebp - 0xe5]
test eax, eax
je 0xbf7732
cmp dword [ebp - 0x24], 0
je 0xbf7732
mov dword [ebp - 0xec], 0
jmp 0xbf76ee
mov ecx, dword [ebp - 0xec]
add ecx, 1
mov dword [ebp - 0xec], ecx
mov ecx, dword [ebp - 0x24]
call fcn.00c01df0
cmp dword [ebp - 0xec], eax
jge 0xbf7732
mov edx, dword [ebp - 0xec]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.00c01e10
mov esi, eax
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xdc]
call fcn.00c01e10
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0xbf7730
mov byte [ebp - 0xe5], 0
jmp 0xbf7732
jmp 0xbf76df
cmp dword [ebp + 0x2c], 0
je 0xbf779a
mov dword [ebp - 0xf0], 0
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp + 0x2c]
cmp dword [eax + edx*4], 0
je 0xbf7784
mov ecx, dword [ebp - 0xe4]
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.00c01e10
mov edx, dword [ebp - 0xf0]
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx + edx*4]
cmp edx, dword [eax]
je 0xbf7784
mov eax, dword [ebp - 0xf0]
add eax, 1
mov dword [ebp - 0xf0], eax
jmp 0xbf7742
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ebp + 0x2c]
cmp dword [edx + ecx*4], 0
je 0xbf779a
mov byte [ebp - 0xe5], 0
movzx eax, byte [ebp - 0xe5]
test eax, eax
je 0xbf7ab6
mov ecx, dword [ebp - 0xe4]
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.00c01e10
mov edx, dword [eax + 4]
push edx
call fcn.00c18719
add esp, 4
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0xfc]
push ecx
lea edx, [ebp - 0x100]
push edx
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0xe4]
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.00c01e10
mov edx, dword [eax + 4]
push edx
call fcn.00bf6fb0
add esp, 0x14
movzx eax, al
test eax, eax
jne 0xbf786b
movzx ecx, byte [ebp - 0x35]
test ecx, ecx
je 0xbf786b
push 0x8000
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xdc]
call fcn.00c01e10
mov ecx, dword [eax]
push ecx
call fcn.00c01ac0
test eax, eax
je 0xbf786b
mov edx, dword [ebp - 0x64]
push edx
call fcn.00c18719
add esp, 4
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0xfc]
push ecx
lea edx, [ebp - 0x100]
push edx
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00bf6fb0
add esp, 0x14
cmp dword [ebp - 0x88], 0
je 0xbf78c3
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0xf8]
push ecx
mov edx, dword [ebp - 0xfc]
push edx
mov eax, dword [ebp - 0x100]
push eax
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.00bf71e0
add esp, 0x24
movzx edx, al
test edx, edx
je 0xbf7ab6
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp - 0x100]
push ecx
mov edx, dword [ebp - 0xf4]
push edx
call fcn.00bf71e0
add esp, 0x24
movzx eax, al
test eax, eax
jne 0xbf7ab6
mov byte [ebp - 0x7d], 0
mov ecx, dword [ebp - 0xe4]
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.00c01e10
mov edx, dword [eax]
push edx
push 0
push 0x47a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
je 0xbf7a7b
mov eax, dword [ebp - 0x104]
push eax
call fcn.00c01050
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jne 0xbf7a6c
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x108]
jne 0xbf7a6c
cmp dword [ebp + 0x20], 0
jne 0xbf799d
mov edx, dword [ebp - 0xe4]
push edx
mov ecx, dword [ebp - 0xdc]
call fcn.00c01e10
add eax, 0xc
push eax
mov eax, dword [ebp - 0x104]
push eax
call fcn.00bff900
test eax, eax
jne 0xbf7a6c
cmp dword [ebp + 0x1c], 0xffffffff
je 0xbf7a0a
mov ecx, dword [ebp - 0xe4]
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.00c01e10
mov edx, dword [eax]
push edx
call fcn.00bff6e0
cmp eax, dword [ebp + 0x1c]
je 0xbf7a0a
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xdc]
call fcn.00c01e10
mov ecx, dword [eax]
push ecx
call fcn.00bff6e0
test eax, eax
jne 0xbf7a6c
mov edx, dword [ebp - 0xe4]
push edx
mov ecx, dword [ebp - 0xdc]
call fcn.00c01e10
add eax, 0xc
push eax
mov eax, dword [ebp - 0x104]
push eax
call fcn.00bff900
test eax, eax
je 0xbf7a6c
movzx ecx, byte [ebp + 0x3c]
push ecx
movzx edx, byte [ebp + 0x38]
push edx
movzx eax, byte [ebp + 0x34]
push eax
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [ebp + 0x40]
push edx
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xdc]
call fcn.00c01e10
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x104]
push edx
lea ecx, [ebp - 0x18]
call fcn.00c049c0
push eax
call fcn.00bf8d70
add esp, 0x20
cmp dword [ebp - 0x10c], 0
je 0xbf7a6c
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00c011a0
mov ecx, dword [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0xbf7ab6
mov edx, dword [ebp - 0xe4]
push edx
mov ecx, dword [ebp - 0xdc]
call fcn.00c01e10
cmp dword [eax], 0
je 0xbf7ab6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0xbf7ab6
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xdc]
call fcn.00c01f20
mov byte [ebp - 0xc5], 1
jmp 0xbf769f
cmp dword [ebp - 0x7c], 0
jne 0xbf7aca
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x110], 0
jmp 0xbf7ae5
mov ecx, dword [ebp - 0x110]
add ecx, 1
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0x110]
cmp eax, dword [ebp - 0x154]
jge 0xbf7b33
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0xd8]
cmp dword [edx + ecx*4], 0
je 0xbf7b31
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp + 0x30]
push ecx
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.00bf9350
add esp, 0xc
jmp 0xbf7ad6
cmp dword [ebp - 0x24], 0
je 0xbf7b93
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0xbf7b89
mov ecx, dword [ebp - 0x12c]
call fcn.00c01d80
mov ecx, 1
and ecx, 1
je 0xbf7b7b
mov edx, dword [ebp - 0x12c]
push edx
call fcn.00c125e4
add esp, 4
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x164], eax
jmp 0xbf7b93
mov dword [ebp - 0x164], 0
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xdc], 0
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
movzx eax, byte [ebp - 0x7d]
test eax, eax
jne 0xbf7bc1
cmp dword [ebp - 0x2c], 5
jne 0xbf761c
cmp dword [ebp - 0x64], 0
je 0xbf7bd1
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0xe0], 0
je 0xbf7be7
mov edx, dword [ebp - 0xe0]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x84], 0
je 0xbf7bfd
mov eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x88], 0
je 0xbf7c37
mov ecx, dword [ebp - 0xc0]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x28], 0
je 0xbf7c65
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x134], ecx
cmp dword [ebp - 0x134], 0
je 0xbf7cb5
mov ecx, dword [ebp - 0x134]
call fcn.00c01d80
mov edx, 1
and edx, 1
je 0xbf7ca7
mov eax, dword [ebp - 0x134]
push eax
call fcn.00c125e4
add esp, 4
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x168], ecx
jmp 0xbf7cbf
mov dword [ebp - 0x168], 0
lea ecx, [ebp - 0xd8]
call fcn.00c07cc0
jmp 0xbf7d74
mov edx, dword [ebp + 0x14]
push edx
call fcn.00bffa00
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0x14]
push eax
call fcn.00c01050
mov dword [ebp - 0x114], eax
movzx ecx, byte [ebp + 0x3c]
test ecx, ecx
jne 0xbf7cfe
cmp dword [ebp - 0x114], 0
jne 0xbf7d74
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x114]
jne 0xbf7d74
movzx eax, byte [ebp + 0x3c]
push eax
movzx ecx, byte [ebp + 0x38]
push ecx
movzx edx, byte [ebp + 0x34]
push edx
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp + 0x40]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.00c049c0
push eax
call fcn.00bf8d70
add esp, 0x20
movzx ecx, al
test ecx, ecx
je 0xbf7d74
cmp dword [ebp - 0x118], 0
je 0xbf7d70
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov edx, dword [ebp + 0x30]
push edx
mov eax, dword [ebp - 0x118]
push eax
call fcn.00bf9350
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0xbf7d74
mov byte [ebp - 0x1d], 1
mov dl, byte [ebp - 0x1d]
mov byte [ebp - 0x139], dl
lea ecx, [ebp - 0x18]
call fcn.00c03ce0
mov al, byte [ebp - 0x139]
pop esi
mov esp, ebp
pop ebp
ret