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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9be6
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
push ebx
push esi
push edi
mov eax, dword [0x50e018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 1
mov dword [ebp - 0x14], ebx
xor edi, edi
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov dword [ebp - 0x24], eax
cmp dword [0x513338], ebx
jne 0x46273e
cmp dword [0x51333c], ebx
jne 0x46273e
push 0x513338
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x46273e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
test eax, eax
jns 0x462648
fadd qword [0x4f1240]
fmul qword [0x4f1220]
call fcn.004cbd26
mov edi, eax
mov al, byte [0x5130bf]
lea ecx, [ebp - 0x88]
mov esi, edx
mov byte [ebp - 0xd], al
mov dword [ebp - 0xe8], 0x4eca38
mov dword [ebp - 0xd8], 0x4e4548
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push ebx
lea ecx, [ebp - 0xd0]
push ecx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x14], 1
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0xe8]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0xd0]
mov dword [ebp + eax - 0xe8], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xd0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0xe8]
mov ecx, dword [ecx + 4]
push ebx
push ebx
lea ecx, [ebp + ecx - 0xe8]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov dl, byte [ebp - 0xd]
mov byte [ebp - 0x3f], dl
mov dword [ebp - 0x38], 3
mov byte [ebp - 0x40], bl
mov dword [ebp - 0x3c], ebx
lea eax, [ebp - 0xd8]
push 0x4ed7c4
push eax
mov dword [ebp - 4], 4
call fcn.00405c70
add esp, 8
lea ecx, [ebp - 0xe8]
mov dword [ebp - 4], 0xffffffff
call fcn.00458570
jmp 0x46289b
xor esi, esi
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x46287d
cmp esi, 0xa
je 0x462762
inc esi
cmp esi, 0xa
jle 0x462740
jmp 0x462898
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
test eax, eax
jns 0x462778
fadd qword [0x4f1240]
fmul qword [0x4f1220]
call fcn.004cbd26
mov dword [ebp - 0x1c], edx
mov dl, byte [0x5130bf]
lea ecx, [ebp - 0x140]
mov edi, eax
mov byte [ebp - 0xd], dl
mov dword [ebp - 0x1a0], 0x4eca38
mov dword [ebp - 0x190], 0x4e4548
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push ebx
lea eax, [ebp - 0x188]
mov dword [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x14], 2
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x1a0]
mov edx, dword [ecx + 4]
lea ecx, [ebp - 0x188]
mov dword [ebp + edx - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 4]
push ebx
push ebx
lea ecx, [ebp + ecx - 0x1a0]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov cl, byte [ebp - 0xd]
mov byte [ebp - 0xf7], cl
mov dword [ebp - 0xf0], 3
mov byte [ebp - 0xf8], bl
mov dword [ebp - 0xf4], ebx
lea edx, [ebp - 0x190]
push 0x4ed7e8
push edx
mov dword [ebp - 4], 9
call fcn.00405c70
add esp, 8
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 4], 0xffffffff
call fcn.00458570
jmp 0x462898
fild qword [ebp - 0x30]
fmul qword [0x4f1210]
fild qword [0x513338]
fdivp st(1)
call fcn.004cbd26
mov edi, eax
mov dword [ebp - 0x1c], edx
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov eax, edi
mov edx, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret