Function at 0x10064470
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086af0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x100ab008]
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 edi, ecx
mov al, byte [edi + 5]
lea ebx, [edi + 5]
test al, al
jne 0x10064755
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
lea eax, [ebp - 0x14]
push eax
push 4
push edi
push 0x10063aa0
push 0
push 0
mov dword [ebp - 0x14], 0
call esi
mov dword [edi + 0x70], eax
lea eax, [ebp - 0x18]
push eax
push 4
push edi
push 0x10063cc0
push 0
push 0
mov dword [ebp - 0x18], 0
call esi
mov dword [edi + 0x74], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push edi
push 0x10063ee0
push 0
push 0
mov dword [ebp - 0x1c], 0
call esi
add esp, 0x48
mov dword [edi + 0x78], eax
cmp dword [edi + 0x70], 0
je 0x100646c2
cmp dword [edi + 0x74], 0
je 0x100646c2
test eax, eax
je 0x100646c2
mov al, 1
xchg byte [ebx], al
lea ecx, [edi + 4]
xor al, al
xchg byte [ecx], al
push dword [edi + 0x70]
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
call ebx
cmp eax, 0xffffffff
jne 0x100645b9
push 2
mov ecx, 0x100ae35c
call fcn.10076720
mov esi, eax
test esi, esi
je 0x100645b9
lea ecx, [ebp - 0x34]
call fcn.10004c70
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x34]
push 0x1009317c
push eax
call fcn.10076cd0
add esp, 0xc
lea eax, [ebp - 0x34]
mov ecx, 0x100ae35c
push 0x133
push str.RC::RCMessageTaskDispatcher::Run
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverapinew_srclibdriverctrl_srccommunication_rcmessagetaskdispatcher.cpp
push eax
push 2
call fcn.10076760
cmp esi, 1
jbe 0x100645aa
lea eax, [ebp - 0x34]
mov ecx, 0x100ae35c
push eax
call fcn.10076b00
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.10004be0
push dword [edi + 0x74]
call ebx
cmp eax, 0xffffffff
jne 0x1006463d
push 2
mov ecx, 0x100ae35c
call fcn.10076720
mov esi, eax
test esi, esi
je 0x1006463d
lea ecx, [ebp - 0x4c]
call fcn.10004c70
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x4c]
push 0x10093284
push eax
call fcn.10076cd0
add esp, 0xc
lea eax, [ebp - 0x4c]
mov ecx, 0x100ae35c
push 0x138
push str.RC::RCMessageTaskDispatcher::Run
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverapinew_srclibdriverctrl_srccommunication_rcmessagetaskdispatcher.cpp
push eax
push 2
call fcn.10076760
cmp esi, 1
jbe 0x1006462e
lea eax, [ebp - 0x4c]
mov ecx, 0x100ae35c
push eax
call fcn.10076b00
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.10004be0
push dword [edi + 0x78]
call ebx
cmp eax, 0xffffffff
jne 0x10064755
push 2
mov ecx, 0x100ae35c
call fcn.10076720
mov esi, eax
test esi, esi
je 0x10064755
lea ecx, [ebp - 0x64]
call fcn.10004c70
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x64]
push 0x100932bc
push eax
call fcn.10076cd0
add esp, 0xc
lea eax, [ebp - 0x64]
mov ecx, 0x100ae35c
push 0x13d
push str.RC::RCMessageTaskDispatcher::Run
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverapinew_srclibdriverctrl_srccommunication_rcmessagetaskdispatcher.cpp
push eax
push 2
call fcn.10076760
cmp esi, 1
jbe 0x100646ba
lea eax, [ebp - 0x64]
mov ecx, 0x100ae35c
push eax
call fcn.10076b00
lea ecx, [ebp - 0x64]
jmp 0x10064749
cmp dword [0x100ae35c], 0
je 0x10064755
push ecx
mov ecx, 0x100ae35c
call fcn.10075990
mov eax, dword [0x100ae35c]
cmp byte [eax + 0x54], 0
je 0x10064755
cmp dword [eax + 0x58], 2
jb 0x10064755
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x7c]
call fcn.10004c70
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x7c]
push 0x100931d0
push eax
call fcn.10076cd0
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, 0x100ae35c
push 0x12a
push str.RC::RCMessageTaskDispatcher::Run
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverapinew_srclibdriverctrl_srccommunication_rcmessagetaskdispatcher.cpp
push eax
push 2
call fcn.10076760
test bl, bl
je 0x10064746
lea eax, [ebp - 0x7c]
mov ecx, 0x100ae35c
push eax
call fcn.10076b00
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
call fcn.10004be0
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.1007b6f9
mov esp, ebp
pop ebp
ret