Function at 0x445644
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter

Disassembly:
push 0xffffffffffffffff
push 0x466d46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
mov eax, dword [esp + 0x17c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push eax
lea ecx, [esp + 0xa4]
call fcn.00405dc0
lea ecx, [esp + 0x30]
lea edx, [esp + 0x48]
push ecx
xor ebp, ebp
push 0xc
push edx
lea ecx, [esp + 0xac]
mov dword [esp + 0x18c], ebp
mov dword [esp + 0x3c], ebp
call fcn.00406080
mov edi, eax
cmp di, bp
je 0x4456a0
lea ecx, [esp + 0xa0]
mov dword [esp + 0x180], 0xffffffff
call fcn.00405f40
mov ax, di
jmp 0x445c7a
cmp dword [esp + 0xa8], 0xa504
jne 0x4456cd
lea ecx, [esp + 0xa0]
mov dword [esp + 0x180], 0xffffffff
call fcn.00405f40
mov ax, 0x404
jmp 0x445c7a
mov eax, dword [esp + 0x188]
add eax, 0xfffffffe
cmp eax, 4
ja case.0x4456e0.3
jmp dword [eax*4 + 0x445c98]
mov bl, 0x41
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x84]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x60]
push 1
rep stosd dword es:[edi], eax
lea eax, [esp + 0x64]
push 0x40
push eax
mov ecx, esi
call fcn.00444e30
push 1
lea ecx, [esp + 0x64]
push 0x40
push ecx
mov ecx, esi
call fcn.00444e30
mov edi, dword [esp + 0x194]
mov byte [esp + 0x2c], bl
mov ebx, dword [esp + 0x190]
push edi
push ebx
lea edx, [esp + 0x1e]
push ebp
lea eax, [esp + 0x38]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x41], 0x42
mov byte [esp + 0x42], 0x4c
mov byte [esp + 0x43], 0
call fcn.00445d10
cmp ax, bp
mov dword [esp + 0x10], eax
jne 0x445c5e
cmp byte [esp + 0x16], 0x53
sete al
test al, al
jne 0x4457c4
lea ecx, [esp + 0xa0]
mov dword [esp + 0x180], 0xffffffff
call fcn.00405f40
mov ax, 0x489
jmp 0x445c7a
mov bl, 0x43
jmp 0x4456e9
mov bl, 0x45
jmp 0x4456e9
mov bl, 0x47
jmp 0x4456e9
lea ecx, [esp + 0xa0]
mov dword [esp + 0x180], 0xffffffff
call fcn.00405f40
mov ax, 0x428
jmp 0x445c7a
push 0x1f4
lea ecx, [esp + 0x64]
push 0x40
push ecx
mov ecx, esi
call fcn.00444e30
cmp ax, bp
mov dword [esp + 0x10], eax
jne 0x445c5e
mov al, byte [esp + 0x60]
cmp al, 0x50
mov byte [esp + 0x16], al
je 0x4457f8
cmp al, 0x51
jne 0x4458c1
mov eax, dword [esp + 0x4e]
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x17]
push edx
mov edx, dword [esp + 0x4e]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
lea ecx, [esp + 0x70]
push eax
push ecx
mov ecx, esi
call fcn.00445350
cmp ax, bp
mov dword [esp + 0x10], eax
jne 0x445c5e
mov al, byte [esp + 0x17]
test al, al
je 0x44588d
push 0x3e8
lea edx, [esp + 0x14]
push 4
push edx
mov ecx, esi
mov byte [esp + 0x1c], 0x10
mov byte [esp + 0x1d], 1
mov byte [esp + 0x1e], 0x50
mov byte [esp + 0x1f], 3
call fcn.00444fe0
push 0x1f4
lea eax, [esp + 0x1a]
push 1
push eax
mov ecx, esi
call fcn.00444e30
cmp ax, bp
mov dword [esp + 0x10], eax
jne 0x445c5e
cmp byte [esp + 0x16], 0x50
je 0x4458c1
mov dword [esp + 0x10], 0x414
jmp 0x445c5e
push 0x3e8
lea ecx, [esp + 0x14]
push 4
push ecx
mov ecx, esi
mov byte [esp + 0x1c], 0x10
mov byte [esp + 0x1d], 1
mov byte [esp + 0x1e], 0x46
mov byte [esp + 0x1f], 3
call fcn.00444fe0
mov dword [esp + 0x10], 0x489
jmp 0x445c5e
cmp ebx, ebp
je 0x4458d2
push 0xbf800000
push 2
push edi
call ebx
add esp, 0xc
mov ebp, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea edx, [esp + 0x24]
push edx
call ebp
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.00465780
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], eax
push ecx
mov dword [esp + 0x2c], edx
call ebp
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.00465780
mov edi, eax
push 0xfa
lea eax, [esp + 0x1b]
push 1
push eax
mov ecx, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edx
call fcn.00444e30
test ax, ax
je 0x4459ae
test ebx, ebx
je 0x44595e
mov ecx, dword [esp + 0x194]
push 0xbf800000
push 2
push ecx
call ebx
add esp, 0xc
test al, al
jne 0x445aec
sub edi, dword [esp + 0x24]
cmp edi, 0xea60
jae case.0x445aa4.45
lea edx, [esp + 0x18]
push edx
call ebp
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.00465780
push 0xfa
lea ecx, [esp + 0x1b]
push 1
mov edi, eax
push ecx
mov ecx, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edx
call fcn.00444e30
test ax, ax
jne 0x44593e
mov al, byte [esp + 0x17]
cmp al, 0x2e
je 0x4459c7
cmp al, 0x50
je 0x4459d4
mov dword [esp + 0x10], 0x403
jmp 0x445c5e
mov dword [esp + 0x10], 0x3ed
jmp 0x445c5e
mov ebp, dword [esp + 0xb8]
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], 0xffffffff
cmp ebp, 0x400
mov edi, 0x400
jg 0x4459fd
mov edi, ebp
push 0x2710
push edi
push ebx
mov ecx, esi
call fcn.00444fe0
test ax, ax
mov dword [esp + 0x10], eax
jne 0x445c5e
mov eax, dword [esp + 0x190]
sub ebp, edi
add ebx, edi
test eax, eax
je 0x445a6d
mov eax, dword [esp + 0x24]
push eax
sub eax, ebp
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
mov eax, dword [esp + 0x20]
cmp edi, eax
mov dword [esp + 0x18], edi
je 0x445a6d
fild dword [esp + 0x18]
mov edx, dword [esp + 0x194]
push ecx
fstp dword [esp]
push 4
push edx
call dword [esp + 0x19c]
add esp, 0xc
test al, al
jne 0x445aec
mov dword [esp + 0x20], edi
push 0xa
lea eax, [esp + 0x1a]
push 1
push eax
mov ecx, esi
call fcn.00444e30
test ax, ax
je 0x445a8b
test ebp, ebp
jle 0x445af9
jmp 0x4459ee
movsx eax, byte [esp + 0x16]
add eax, 0xffffffd5
cmp eax, 0x3d
ja case.0x445aa4.48
xor ecx, ecx
mov cl, byte [eax + 0x445cc4]
jmp dword [ecx*4 + 0x445cac]
mov dword [esp + 0x10], 0x428
jmp 0x445c5e
mov dword [esp + 0x10], 0x3ec
jmp 0x445c5e
mov dword [esp + 0x10], 0x3f2
jmp 0x445c5e
mov dword [esp + 0x10], 0x413
jmp 0x445c5e
mov dword [esp + 0x10], 0x3ee
jmp 0x445c5e
mov dword [esp + 0x10], 0x41d
jmp 0x445c5e
cmp word [esp + 0x10], 0
jne 0x445c5e
push 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], 0
call fcn.00401390
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x180], 1
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x40], eax
je 0x445c03
lea edi, [esi + 0x1f8]
add eax, 8
push edi
push eax
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
test al, al
je 0x445bed
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
test eax, eax
je 0x445b5d
mov ebx, eax
mov edx, 0x49b128
mov ebp, 1
test edx, edx
je 0x445b79
mov eax, dword [0x49b12c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x49b120]
mov dword [esp + 0x20], 0
mov edi, dword [eax]
cmp edi, eax
je 0x445bbe
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x445b9b
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push ebx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x445bb7
mov edi, dword [edi]
mov eax, dword [0x49b120]
cmp edi, eax
jne 0x445b8c
jmp 0x445bbe
mov ecx, dword [edi + 8]
mov dword [esp + 0x20], ecx
mov edx, 0x49b128
dec ebp
test edx, edx
je 0x445bd4
mov eax, dword [0x49b12c]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test ebp, ebp
jg 0x445bbe
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x445bed
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x28]
mov dword [ecx + 0xd4], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov eax, dword [eax]
cmp eax, ecx
mov dword [esp + 0x40], eax
jne 0x445b32
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebp, eax
call edi
sub eax, ebp
cmp eax, 0x2710
jae 0x445c4d
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [edx + 0x14]
test ax, ax
jne 0x445c3e
mov eax, dword [esp + 0x24]
inc eax
cmp ax, 2
mov dword [esp + 0x24], eax
jg 0x445c4d
push 0x64
call ebx
call edi
sub eax, ebp
cmp eax, 0x2710
jb 0x445c1e
lea ecx, [esp + 0x34]
mov byte [esp + 0x180], 0
call fcn.004018b0
lea ecx, [esp + 0xa0]
mov dword [esp + 0x180], 0xffffffff
call fcn.00405f40
mov ax, word [esp + 0x10]
mov ecx, dword [esp + 0x178]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x174
ret 0x10