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

Disassembly:
push 0xffffffffffffffff
push 0x1007dff0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10097060]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov esi, dword [ebp + 0x14]
call fcn.10065ba0
test eax, eax
jne 0x100482f5
call fcn.10065b20
test eax, eax
jne 0x100482f5
mov ebx, dword [esi + 0x59774]
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x59260]
cmp eax, 0x1f4
jbe 0x100482f5
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x1004808f
mov eax, dword [ebx + 0x30]
imul eax, eax, 0x64
xor edx, edx
div ecx
cmp eax, 0x50
jae 0x1004808f
lea eax, [esp + 0x14]
push eax
mov ecx, str.b__rY
call fcn.10001a30
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x28], 0
mov ecx, dword [ebp + 0x14]
add ecx, 0xc
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x30], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.1004a5b0
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x2c], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10047fbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x10047ff9
mov eax, esi
call fcn.10059b90
mov edi, dword [esi]
mov eax, ebx
call fcn.1004a950
test eax, eax
jne 0x10047ff9
cmp dword [esi + 0x14], eax
jne 0x10047ff9
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x10047ff9
mov esi, dword [esp + 0x2c]
mov eax, esi
call fcn.1002a6c0
test eax, eax
je 0x100482dd
lea eax, [esp + 0x14]
push eax
mov ecx, 0x1008a8f8
call fcn.10001a30
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x28], 1
mov ecx, dword [ebp + 0x14]
add ecx, 0xc
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x30], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.1004a5b0
mov esi, eax
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1004808f
mov eax, esi
call fcn.10059b90
mov edi, dword [esi]
mov eax, ebx
call fcn.1004a950
test eax, eax
jne 0x1004808f
cmp dword [esi + 0x14], eax
jne 0x1004808f
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1004808f
mov esi, dword [esp + 0x2c]
mov eax, esi
call fcn.1002a6c0
test eax, eax
je 0x100482dd
lea eax, [esp + 0x14]
push eax
mov ecx, 0x1008a904
call fcn.10001a30
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x28], 2
mov ecx, dword [ebp + 0x14]
add ecx, 0xc
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x30], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.1004a5b0
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x2c], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10048101
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x1004813c
mov eax, esi
call fcn.10059b90
mov edi, dword [esi]
mov eax, ebx
call fcn.1004a950
test eax, eax
jne 0x1004813c
cmp dword [esi + 0x14], eax
jne 0x1004813c
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1004813c
mov esi, dword [esp + 0x2c]
mov eax, esi
call fcn.1002a6c0
test eax, eax
je 0x100482dd
lea eax, [esp + 0x14]
push eax
mov ecx, 0x1008a910
call fcn.10001a30
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x28], 3
mov ecx, dword [ebp + 0x14]
add ecx, 0xc
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x30], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.1004a5b0
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x2c], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100481ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x100481e9
mov eax, esi
call fcn.10059b90
mov edi, dword [esi]
mov eax, ebx
call fcn.1004a950
test eax, eax
jne 0x100481e9
cmp dword [esi + 0x14], eax
jne 0x100481e9
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x100481e9
mov esi, dword [esp + 0x2c]
mov eax, esi
call fcn.1002a6c0
test eax, eax
je 0x100482dd
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x100481ff
mov eax, dword [ebx + 0x30]
imul eax, eax, 0x64
xor edx, edx
div ecx
cmp eax, 0x32
jbe 0x1004824b
lea eax, [esp + 0x14]
push eax
mov ecx, 0x1008a91c
call fcn.10001a30
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x28], 4
mov ecx, dword [ebp + 0x14]
add ecx, 0xc
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x30], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.1004a5b0
mov esi, eax
lea eax, [esp + 0x14]
jmp 0x10048295
lea eax, [esp + 0x18]
push eax
mov ecx, 0x1008a928
call fcn.10001a30
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x28], 5
mov ecx, dword [ebp + 0x14]
add ecx, 0xc
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x30], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.1004a5b0
mov esi, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x100482f5
mov eax, esi
call fcn.10059b90
mov edi, dword [esi]
mov eax, ebx
call fcn.1004a950
test eax, eax
jne 0x100482f5
cmp dword [esi + 0x14], eax
jne 0x100482f5
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x100482f5
mov esi, dword [esp + 0x2c]
mov eax, esi
call fcn.1002a6c0
test eax, eax
jne 0x100482f5
mov eax, dword [esi]
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
push eax
mov ecx, ebx
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x59260], eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4