Function at 0x1004a0b0
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e8101
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x10129fb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 4], 0
mov eax, dword [ebp + 8]
jne 0x1004a1ee
mov dword [esi + 8], 0
lea ecx, [esi + 0x10]
push eax
mov dword [esi + 0xc], 0
call fcn.1004a720
push esi
push 0
push esi
push 0x1004a580
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
jne 0x1004a1f5
call fcn.1006cd40
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1004a1ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x6c
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicluascriptwork_thread.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov ebx, eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000b040
push 3
push 0x100f2f40
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000b040
mov byte [ebp - 4], 1
call fcn.1006cd40
mov edi, eax
lea ecx, [ebp - 0x10c]
push 0x4b
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007ce0
mov esi, eax
push str.CWorkThread::Start__CreateThread_failed__errno:
push esi
mov byte [ebp - 4], 2
call fcn.10009020
add esp, 8
mov ecx, esi
push ebx
call fcn.10014510
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.100090e0
lea ecx, [ebp - 0x28]
call fcn.10008880
lea ecx, [ebp - 0x40]
call fcn.10008880
xor eax, eax
jmp 0x1004a2f4
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
cmp dword [esi + 8], 0
mov dword [ebp - 0x74], eax
jne 0x1004a2ef
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
call edi
sub eax, dword [ebp - 0x74]
cmp eax, dword [ebp + 0xc]
jae 0x1004a224
push 0xa
call ebx
cmp dword [esi + 8], 0
je 0x1004a210
cmp dword [esi + 8], 0
jne 0x1004a2ef
call fcn.1006cd40
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1004a1ee
push 0x6c
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicluascriptwork_thread.cc
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.1000b040
push 3
push 0x100f2f40
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 3
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1000b040
mov byte [ebp - 4], 4
call fcn.1006cd40
mov edi, eax
lea ecx, [ebp - 0x1a4]
push 0x53
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10007ce0
mov esi, eax
push str.CWorkThread::Start__wait_thread_running_timeout_
push esi
mov byte [ebp - 4], 5
call fcn.10009020
add esp, 8
mov ecx, esi
push dword [ebp + 0xc]
call fcn.10014510
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1a4]
call fcn.100090e0
lea ecx, [ebp - 0x58]
call fcn.10008880
lea ecx, [ebp - 0x70]
call fcn.10008880
xor eax, eax
jmp 0x1004a2f4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009e81e
mov esp, ebp
pop ebp
ret 8