Function at 0x1000bab0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10015014
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1001e02c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
push 0
push 0
push 0
lea esi, [edi + 0x24]
mov dword [ebp - 0x14], 0
push 0
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
mov dword [esi], eax
lea esi, [edi + 0x28]
push 0
push 0
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
mov dword [esi], eax
lea eax, [edi + 0x2c]
push 0
push 0
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 1
push 0
mov dword [edi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
cmp dword [edi + 0x24], 0
lea ecx, [edi + 0x30]
mov dword [ebp - 0x2c], ecx
mov dword [ecx], eax
je 0x1000bc8b
cmp dword [esi], 0
je 0x1000bc8b
cmp dword [edi + 0x2c], 0
je 0x1000bc8b
test eax, eax
je 0x1000bc8b
lea eax, [ebp - 0x14]
push eax
push 0
push edi
push 0x1000bd50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
add edi, 0x20
xor ecx, ecx
test eax, eax
mov dword [ebp - 0x1c], edi
mov esi, 0x80004005
cmovne esi, ecx
mov ecx, edi
mov dword [edi], eax
je 0x1000bc93
mov eax, dword [ebp - 0x20]
push 0xffffffffffffffff
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
mov ecx, edi
neg esi
sbb esi, esi
and esi, 0x80004005
test eax, eax
jne 0x1000bc93
push 0x10
call fcn.100110d5
mov edi, eax
add esp, 4
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov eax, dword [ebp - 0x18]
push 0
push 0
movups xmmword [edi], xmm0
mov ecx, dword [eax]
push 0
push 0
mov dword [edi + 4], ecx
mov dword [edi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
xor eax, eax
test edi, edi
mov esi, 0x8007000e
cmovne esi, eax
test esi, esi
js 0x1000bc5a
mov eax, dword [ebp - 0x1c]
push edi
push dword [eax]
push 0x1000c5f0
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
xor ecx, ecx
mov esi, 0x80000303
test eax, eax
cmovne esi, ecx
je 0x1000bc5a
mov eax, dword [edi]
test eax, eax
je 0x1000bc37
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edi + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [edi]
test eax, eax
je 0x1000bc4d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10
push edi
call fcn.10011068
add esp, 8
jmp 0x1000bcb8
mov eax, dword [ebp - 0x28]
push 0
push 0xffffffffffffffff
push dword [eax]
mov eax, dword [ebp - 0x24]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
mov eax, dword [edi]
test eax, eax
je 0x1000bc7b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10
push edi
call fcn.10011068
mov ecx, dword [ebp - 0x1c]
add esp, 8
jmp 0x1000bc93
mov esi, 0x80004005
lea ecx, [edi + 0x20]
call fcn.10001570
mov ecx, dword [ebp - 0x20]
call fcn.10001570
mov ecx, dword [ebp - 0x24]
call fcn.10001570
mov ecx, dword [ebp - 0x28]
call fcn.10001570
mov ecx, dword [ebp - 0x2c]
call fcn.10001570
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10010b00
mov esp, ebp
pop ebp
ret