Function at 0x10034670
Capabilities:
Check for time delay via queryperformancecounter
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009de50
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x10112018]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
call sym.ACE.dll_private:_void___thiscall_ACE_Time_Value::normalize_bool_
lea esi, [esp + 0x88]
call fcn.10035010
lea ecx, [esp + 0x78]
mov dword [esp + 0xd8], ebx
call sym.ACE.dll_public:_void___thiscall_ACE_Stats::reset_void_
lea esi, [esp + 0xc0]
mov dword [esp + 0xd8], 1
call fcn.10035010
lea ecx, [esp + 0xb0]
mov byte [esp + 0xd8], 2
call sym.ACE.dll_public:_void___thiscall_ACE_Stats::reset_void_
mov edi, dword [ebp + 0xc]
mov byte [esp + 0xd8], 3
cmp edi, ebx
jbe 0x10034958
mov ecx, dword [esp + 0x18]
mov eax, 0x10624dd3
imul dword [esp + 0x1c]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
push 0
push 0x3e8
mov ebx, edx
mov edx, dword [esp + 0x1c]
push ecx
push edx
mov esi, eax
call fcn.1009b800
add esi, eax
adc ebx, edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x10], edi
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
push 0
add esi, 0x2ac18000
push 0x989680
adc edi, 0xfe624e21
push edi
push esi
call fcn.1009b860
push 0
mov ebx, edx
push 0x989680
mov ecx, eax
cdq
push ebx
push ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
call fcn.1009b800
push 0
sub esi, eax
push 0xa
sbb edi, edx
push edi
push esi
call fcn.1009b860
push 0
lea ecx, [esp + 0x98]
mov dword [esp + 0xa0], eax
call sym.ACE.dll_private:_void___thiscall_ACE_Time_Value::normalize_bool_
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [esp + 0x44]
push ecx
call esi
cmp dword [esp + 0x58], 0
jl 0x100347e9
jg 0x100347e4
cmp dword [esp + 0x54], 0xffffffff
jbe 0x100347e9
or eax, 0xffffffff
jmp 0x100347ed
mov eax, dword [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x64]
push edx
call esi
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
push 0
add esi, 0x2ac18000
push 0x989680
adc edi, 0xfe624e21
push edi
push esi
call fcn.1009b860
push 0
mov ebx, edx
push 0x989680
mov ecx, eax
cdq
push ebx
push ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
call fcn.1009b800
push 0
sub esi, eax
push 0xa
sbb edi, edx
push edi
push esi
call fcn.1009b860
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x38], eax
call sym.ACE.dll_private:_void___thiscall_ACE_Time_Value::normalize_bool_
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x14], eax
sub eax, dword [esp + 0x94]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
sbb ecx, dword [esp + 0x98]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], ecx
js 0x100348af
jg 0x100348aa
cmp eax, 0x7fffffff
jbe 0x100348af
mov eax, bind
sub esi, dword [esp + 0x9c]
cdq
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
call sym.ACE.dll_private:_void___thiscall_ACE_Time_Value::normalize_bool_
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x68]
sbb ecx, dword [esp + 0x48]
mov dword [esp + 0x30], ecx
jne 0x100348eb
cmp eax, 0x7fffffff
jbe 0x100348f0
mov eax, bind
push eax
lea ecx, [esp + 0x7c]
call sym.ACE.dll_public:_int___thiscall_ACE_Stats::sample_int_
mov eax, 0x10624dd3
imul dword [esp + 0x1c]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
push 0
mov edi, edx
mov edx, dword [esp + 0x1c]
push 0x3e8
mov esi, eax
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.1009b800
add esi, eax
adc edi, edx
mov dword [esp + 0x30], edi
js 0x1003493c
jg 0x10034939
cmp esi, 0xffffffff
jbe 0x1003493c
or esi, 0xffffffff
imul esi, esi, 0x64
push esi
lea ecx, [esp + 0xb4]
call sym.ACE.dll_public:_int___thiscall_ACE_Stats::sample_int_
dec dword [esp + 0x10]
jne 0x10034755
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x7c], ebx
jbe 0x100349a6
mov ebx, dword [esp + 0x88]
mov ecx, dword [ebx]
xor esi, esi
lea edi, [esi + 1]
cmp ecx, ebx
je 0x1003498a
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
cdq
add esi, eax
adc edi, edx
cmp ecx, ebx
jne 0x1003497c
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0x2c]
push ecx
add esi, 0
push edx
adc edi, 0xffffffff
push edi
push esi
call sym.ACE.dll_public:_static_void___cdecl_ACE_Stats::quotient_unsigned_long_long_unsigned___int64___unsigned_int__class_ACE_Stats_Value__
add esp, 0x10
jmp 0x100349b1
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0xc0]
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
cmp dword [esp + 0xb4], ecx
jbe 0x10034a10
lea ebx, [ecx + 1]
mov ecx, dword [esi]
xor edi, edi
cmp ecx, esi
je 0x100349e8
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
cdq
add edi, eax
adc ebx, edx
cmp ecx, esi
jne 0x100349da
mov ecx, dword [esp + 0xb4]
lea eax, [esp + 0x44]
push eax
add edi, 0
push ecx
adc ebx, 0xffffffff
push ebx
push edi
call sym.ACE.dll_public:_static_void___cdecl_ACE_Stats::quotient_unsigned_long_long_unsigned___int64___unsigned_int__class_ACE_Stats_Value__
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x98]
add esp, 0x10
mov eax, dword [esp + 0x2c]
xor edx, edx
div ecx
mov byte [esp + 0xd8], 1
lea edx, [eax + 5]
mov eax, 0xcccccccd
mul edx
shr edx, 3
mov dword [sym.ACE.dll_unsigned_int_ACE_High_Res_Timer::global_scale_factor_], edx
mov edi, dword [esi]
mov dword [esp + 0x10], edx
cmp edi, esi
je 0x10034a55
lea ecx, [ecx]
mov ecx, dword [esp + 0xc8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push edi
mov edi, dword [edi]
call eax
cmp edi, esi
jne 0x10034a40
mov ecx, dword [esp + 0xc8]
mov dword [esi], esi
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push esi
call eax
mov dword [esp + 0xd8], 0xffffffff
mov esi, dword [ebx]
mov edi, dword [esp + 0x90]
cmp esi, ebx
je 0x10034a90
mov edi, edi
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push esi
mov esi, dword [esi]
mov ecx, edi
call eax
cmp esi, ebx
jne 0x10034a80
mov dword [ebx], ebx
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push ebx
mov ecx, edi
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret