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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
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 0xbf7e1e
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 0xbf7e58
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 0xbf7e58
mov dword [ebp - 0x11c], 0
lea ecx, [ebp - 0x18]
call fcn.00c03ce0
mov eax, dword [ebp - 0x11c]
jmp 0xbf8873
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 0xbf87b0
push 0xb
call fcn.00c036d0
test eax, eax
jne 0xbf7e93
call fcn.00c00fd0
test eax, eax
jne 0xbf7ebe
cmp dword [ebp - 4], 0
je 0xbf7ebe
push 0x32
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x120], 0
lea ecx, [ebp - 0x18]
call fcn.00c03ce0
mov eax, dword [ebp - 0x120]
jmp 0xbf8873
push 0xb
call fcn.00c036d0
test eax, eax
je 0xbf7ef7
call fcn.00bffd20
test eax, eax
jne 0xbf7ef7
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x124], 0
lea ecx, [ebp - 0x18]
call fcn.00c03ce0
mov eax, dword [ebp - 0x124]
jmp 0xbf8873
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.00bfe900
test eax, eax
jne 0xbf7f3a
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x18]
call fcn.00c03ce0
mov eax, dword [ebp - 0x128]
jmp 0xbf8873
push 0xb
call fcn.00c036d0
test eax, eax
jne 0xbf7f62
mov dword [ebp - 0x12c], 1
lea ecx, [ebp - 0x18]
call fcn.00c03ce0
mov eax, dword [ebp - 0x12c]
jmp 0xbf8873
cmp dword [ebp + 0x1c], 0xfffffffe
jne 0xbf7f70
call fcn.00bff790
mov dword [ebp + 0x1c], eax
mov byte [ebp - 0x1d], 1
push 0x10
lea edx, [ebp - 0x94]
push edx
push str.80_0U
call fcn.00c032b0
push 0x10
lea eax, [ebp - 0x70]
push eax
push str.960_0U
call fcn.00c032b0
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x94]
push edx
call fcn.00c01280
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.00c01280
mov byte [ebp - 0x31], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0x80], 0
cmp dword [ebp + 0x24], 0
je 0xbf8016
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 - 0xdc], eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0xdc]
push eax
call fcn.00c18719
add esp, 4
cmp dword [ebp + 0x28], 0
je 0xbf8050
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 - 0x80], eax
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 0x80]
push edx
call fcn.00c18719
add esp, 4
push 0
push 0
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0xc0]
push edx
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xbc]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
call fcn.00bf6c10
add esp, 0x20
mov byte [ebp - 0x31], al
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00bf6c10
add esp, 0x20
movzx edx, al
test edx, edx
jne 0xbf80c9
movzx eax, byte [ebp - 0x31]
test eax, eax
jne 0xbf80c9
mov byte [ebp - 0x161], 0
jmp 0xbf80d0
mov byte [ebp - 0x161], 1
mov cl, byte [ebp - 0x161]
mov byte [ebp - 0x31], cl
movzx edx, byte [ebp - 0x31]
test edx, edx
je 0xbf80f1
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0xc1], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov byte [ebp - 0xc8], 0
movzx eax, byte [ebp - 0xc1]
test eax, eax
je 0xbf8148
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 0xc1], 0
mov byte [ebp - 0x79], 1
push 0x14
call fcn.00c12640
add esp, 4
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0xbf8181
push 0
mov ecx, dword [ebp - 0x130]
call fcn.00c01b40
mov dword [ebp - 0x168], eax
jmp 0xbf818b
mov dword [ebp - 0x168], 0
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0xd8], ecx
lea ecx, [ebp - 0xd4]
call fcn.00c07cc0
mov ecx, dword [ebp - 0xd8]
call fcn.00c01df0
sub eax, 1
mov dword [ebp - 0xe0], eax
jmp 0xbf81c7
mov edx, dword [ebp - 0xe0]
sub edx, 1
mov dword [ebp - 0xe0], edx
cmp dword [ebp - 0xe0], 0
jl 0xbf85b1
mov byte [ebp - 0xe1], 1
movzx eax, byte [ebp - 0xe1]
test eax, eax
je 0xbf824b
cmp dword [ebp - 0x24], 0
je 0xbf824b
mov dword [ebp - 0xe8], 0
jmp 0xbf8207
mov ecx, dword [ebp - 0xe8]
add ecx, 1
mov dword [ebp - 0xe8], ecx
mov ecx, dword [ebp - 0x24]
call fcn.00c01df0
cmp dword [ebp - 0xe8], eax
jge 0xbf824b
mov edx, dword [ebp - 0xe8]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.00c01e10
mov esi, eax
mov eax, dword [ebp - 0xe0]
push eax
mov ecx, dword [ebp - 0xd8]
call fcn.00c01e10
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0xbf8249
mov byte [ebp - 0xe1], 0
jmp 0xbf824b
jmp 0xbf81f8
cmp dword [ebp + 0x2c], 0
je 0xbf82b3
mov dword [ebp - 0xec], 0
mov edx, dword [ebp - 0xec]
mov eax, dword [ebp + 0x2c]
cmp dword [eax + edx*4], 0
je 0xbf829d
mov ecx, dword [ebp - 0xe0]
push ecx
mov ecx, dword [ebp - 0xd8]
call fcn.00c01e10
mov edx, dword [ebp - 0xec]
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx + edx*4]
cmp edx, dword [eax]
je 0xbf829d
mov eax, dword [ebp - 0xec]
add eax, 1
mov dword [ebp - 0xec], eax
jmp 0xbf825b
mov ecx, dword [ebp - 0xec]
mov edx, dword [ebp + 0x2c]
cmp dword [edx + ecx*4], 0
je 0xbf82b3
mov byte [ebp - 0xe1], 0
movzx eax, byte [ebp - 0xe1]
test eax, eax
je 0xbf85ac
mov ecx, dword [ebp - 0xe0]
push ecx
mov ecx, dword [ebp - 0xd8]
call fcn.00c01e10
mov edx, dword [eax + 4]
push edx
call fcn.00c18719
add esp, 4
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xf8]
push ecx
lea edx, [ebp - 0xfc]
push edx
lea eax, [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0xe0]
push ecx
mov ecx, dword [ebp - 0xd8]
call fcn.00c01e10
mov edx, dword [eax + 4]
push edx
call fcn.00bf6fb0
add esp, 0x14
movzx eax, al
test eax, eax
jne 0xbf8384
movzx ecx, byte [ebp - 0x31]
test ecx, ecx
je 0xbf8384
push 0x8000
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0xe0]
push eax
mov ecx, dword [ebp - 0xd8]
call fcn.00c01e10
mov ecx, dword [eax]
push ecx
call fcn.00c01ac0
test eax, eax
je 0xbf8384
mov edx, dword [ebp - 0x60]
push edx
call fcn.00c18719
add esp, 4
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xf8]
push ecx
lea edx, [ebp - 0xfc]
push edx
lea eax, [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00bf6fb0
add esp, 0x14
cmp dword [ebp - 0x84], 0
je 0xbf83dc
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
mov edx, dword [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0xf4]
push ecx
mov edx, dword [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.00bf71e0
add esp, 0x24
movzx edx, al
test edx, edx
je 0xbf85ac
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0xf4]
push edx
mov eax, dword [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0xfc]
push ecx
mov edx, dword [ebp - 0xf0]
push edx
call fcn.00bf71e0
add esp, 0x24
movzx eax, al
test eax, eax
jne 0xbf85ac
mov byte [ebp - 0x79], 0
mov ecx, dword [ebp - 0xe0]
push ecx
mov ecx, dword [ebp - 0xd8]
call fcn.00c01e10
mov edx, dword [eax]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
je 0xbf85ac
mov eax, dword [ebp - 0x100]
push eax
call fcn.00c01050
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
jne 0xbf859f
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x104]
jne 0xbf859f
cmp dword [ebp + 0x20], 0
jne 0xbf84b6
mov edx, dword [ebp - 0xe0]
push edx
mov ecx, dword [ebp - 0xd8]
call fcn.00c01e10
add eax, 0xc
push eax
mov eax, dword [ebp - 0x100]
push eax
call fcn.00bff900
test eax, eax
jne 0xbf859f
cmp dword [ebp + 0x1c], 0xffffffff
je 0xbf8523
mov ecx, dword [ebp - 0xe0]
push ecx
mov ecx, dword [ebp - 0xd8]
call fcn.00c01e10
mov edx, dword [eax]
push edx
call fcn.00bff6e0
cmp eax, dword [ebp + 0x1c]
je 0xbf8523
mov eax, dword [ebp - 0xe0]
push eax
mov ecx, dword [ebp - 0xd8]
call fcn.00c01e10
mov ecx, dword [eax]
push ecx
call fcn.00bff6e0
test eax, eax
jne 0xbf859f
mov edx, dword [ebp - 0xe0]
push edx
mov ecx, dword [ebp - 0xd8]
call fcn.00c01e10
add eax, 0xc
push eax
mov eax, dword [ebp - 0x100]
push eax
call fcn.00bff900
test eax, eax
je 0xbf859f
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00c049c0
push eax
mov edx, dword [ebp - 0x100]
push edx
call fcn.00bf7d90
add esp, 0xc
test eax, eax
je 0xbf854f
mov dword [ebp - 0x108], 0
jmp 0xbf8584
push 0
mov eax, dword [ebp - 0xe0]
push eax
mov ecx, dword [ebp - 0xd8]
call fcn.00c01e10
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x100]
push edx
lea ecx, [ebp - 0x18]
call fcn.00c049c0
push eax
call fcn.00bf8f90
add esp, 0x10
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
je 0xbf859f
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00c011a0
mov ecx, dword [ebp - 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0xbf81b8
cmp dword [ebp - 0x78], 0
jne 0xbf85c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x10c], 0
jmp 0xbf85db
mov edx, dword [ebp - 0x10c]
add edx, 1
mov dword [ebp - 0x10c], edx
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x10c]
cmp ecx, dword [ebp - 0x15c]
jge 0xbf8629
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xd4]
cmp dword [eax + edx*4], 0
je 0xbf8627
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp + 0x30]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + eax*4]
push edx
call fcn.00bf9350
add esp, 0xc
jmp 0xbf85cc
cmp dword [ebp - 0x24], 0
je 0xbf8689
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 0xbf867f
mov ecx, dword [ebp - 0x134]
call fcn.00c01d80
mov edx, 1
and edx, 1
je 0xbf8671
mov eax, dword [ebp - 0x134]
push eax
call fcn.00c125e4
add esp, 4
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x16c], ecx
jmp 0xbf8689
mov dword [ebp - 0x16c], 0
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0xd8], 0
movzx eax, byte [ebp - 0x79]
test eax, eax
je 0xbf8135
cmp dword [ebp - 0x60], 0
je 0xbf86b8
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0xdc], 0
je 0xbf86ce
mov edx, dword [ebp - 0xdc]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x80], 0
je 0xbf86de
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x84], 0
je 0xbf8718
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x98]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x28], 0
je 0xbf8746
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x13c], ecx
cmp dword [ebp - 0x13c], 0
je 0xbf8796
mov ecx, dword [ebp - 0x13c]
call fcn.00c01d80
mov edx, 1
and edx, 1
je 0xbf8788
mov eax, dword [ebp - 0x13c]
push eax
call fcn.00c125e4
add esp, 4
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x170], ecx
jmp 0xbf87a0
mov dword [ebp - 0x170], 0
lea ecx, [ebp - 0xd4]
call fcn.00c07cc0
jmp 0xbf885b
mov edx, dword [ebp + 0x14]
push edx
call fcn.00bffa00
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x14]
push eax
call fcn.00c01050
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0xbf885b
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x110]
jne 0xbf885b
mov edx, dword [ebp - 4]
push edx
lea ecx, [ebp - 0x18]
call fcn.00c049c0
push eax
mov eax, dword [ebp + 0x14]
push eax
call fcn.00bf7d90
add esp, 0xc
test eax, eax
je 0xbf8809
mov byte [ebp - 0x1d], 1
jmp 0xbf885b
push 0
mov ecx, dword [ebp - 0x118]
push ecx
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x18]
call fcn.00c049c0
push eax
call fcn.00bf8f90
add esp, 0x10
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0xbf885b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [ebp + 0x30]
push eax
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.00bf9350
add esp, 0xc
movzx edx, al
test edx, edx
je 0xbf885b
mov byte [ebp - 0x1d], 1
movzx eax, byte [ebp - 0x1d]
mov dword [ebp - 0x144], eax
lea ecx, [ebp - 0x18]
call fcn.00c03ce0
mov eax, dword [ebp - 0x144]
pop esi
mov esp, ebp
pop ebp
ret