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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10124678
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x10167c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
test edx, edx
jne 0x10034fde
xor ecx, ecx
jmp 0x10034ff2
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10034fe3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x10]
call fcn.1000b940
mov dword [ebp - 0x20], 0
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x10035327
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
push eax
call fcn.10085d82
lea eax, [ebp - 0x38]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0xd]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
push 0x10033ae0
push 0x1016e97c
call fcn.1008615f
add esp, 0x10
test eax, eax
je 0x100352fc
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
push eax
call fcn.10085dbc
mov ecx, dword [0x1016e978]
lea eax, [ebp - 0x2c]
add esp, 4
mov byte [ebp - 4], 0
push eax
call fcn.10061400
mov edx, dword [eax]
lea ecx, [esi - 0x10]
or ebx, 0xffffffff
mov byte [ebp - 4], 6
mov dword [ebp - 0x24], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x1c], eax
cmp eax, ecx
je 0x100350e8
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x100350d9
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x100350d9
push dword [ebp - 0x1c]
call fcn.10008570
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x100350d1
mov esi, dword [ebp - 0x24]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
jmp 0x100350e8
push dword [edx - 0xc]
lea ecx, [ebp - 0x18]
push edx
call fcn.1000b940
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10035106
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi - 0xc], 0
jne 0x10035140
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10035128
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor edi, edi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x1c]
cmp eax, 0x1388
jae 0x10035173
mov edi, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1003512a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1003512a
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x10035331
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 7
push eax
je 0x100351a2
call fcn.10034e40
jmp 0x100351a7
call fcn.10035550
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100086f0
add esp, 0xc
mov byte [ebp + 0xb], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
call fcn.10085d82
lea eax, [ebp - 0x28]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0xb]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
push 0x1002e2e0
push 0x1016dc08
call fcn.1008615f
add esp, 0x10
test eax, eax
je 0x100352e2
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
call fcn.10085dbc
mov ecx, dword [0x1016dc04]
add esp, 4
mov byte [ebp - 4], 7
call fcn.1003ded0
mov edi, dword [ebp - 0x1c]
test eax, eax
je 0x100352a3
push dword [ebp + 8]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
mov dword [ebp - 0x2c], 0
call fcn.1002e480
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x14], eax
mov ecx, dword [edx + 0x18]
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 8], ecx
mov dword [edx + 0x18], eax
test ecx, ecx
je 0x1003526d
mov eax, ebx
lock xadd dword [ecx + 4], eax
jne 0x1003526d
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 8]
mov eax, ebx
lock xadd dword [ecx + 8], eax
jne 0x1003526a
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x14]
push edx
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [ebp - 0x14]
push esi
push 0x10133524
mov ecx, dword [edx + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x14]
push edi
push 2
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov ecx, ebx
lock xadd dword [edi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x100352be
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100352da
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x20]
jmp 0x1003512a
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
call fcn.10085ddd
add esp, 4
mov byte [ebp - 4], 9
test al, al
je 0x1003534e
jmp 0x1003533b
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
push eax
call fcn.10085ddd
add esp, 4
mov byte [ebp - 4], 2
test al, al
je 0x1003534e
sub esp, 8
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.1000c170
call fcn.1000cb30
push 0x80004005
call fcn.10008520
push 0x80004005
call fcn.10008520
sub esp, 8
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.1000c170
call fcn.1000cb30
call fcn.10086177
int3