Function at 0x100c973
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, ecx
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 8]
xor ebx, ebx
cmp eax, ebx
je 0x100c994
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 8], ebx
push edi
lea eax, [esi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov edi, dword [esi + 0x74]
jmp 0x100c9ae
mov ecx, dword [edi]
call fcn.01003f46
add edi, 4
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x74]
lea eax, [ecx + eax*4]
cmp edi, eax
jne 0x100c9a4
lea eax, [esi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
cmp byte [esi + 0x44], bl
je 0x100c9d2
call sub.DMRC.dll_DMrcExit
mov byte [esi + 0x44], bl
mov eax, dword [esi + 0x3c]
cmp eax, ebx
je 0x100c9ee
push 1
push eax
call dword [sym.imp.KERNEL32.dll_WaitForThreadpoolWorkCallbacks]
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseThreadpoolWork]
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x100ca16
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadpoolTimer]
push 1
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForThreadpoolTimerCallbacks]
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseThreadpoolTimer]
mov dword [esi + 0x38], ebx
lea eax, [esi + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
cmp dword [esi + 0x98], ebx
je 0x100ca51
lea edi, [esi + 0x90]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov dword [edi], eax
mov dword [eax + 4], edi
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
dec dword [edi + 8]
push 1
call fcn.0100c1ee
cmp dword [esi + 0x98], ebx
jne 0x100ca31
cmp dword [esi + 0x8c], ebx
je 0x100ca80
lea edi, [esi + 0x84]
mov eax, dword [edi]
mov ecx, dword [eax]
mov dword [edi], ecx
mov dword [ecx + 4], edi
mov dword [eax], ebx
mov dword [eax + 4], ebx
dec dword [edi + 8]
lea ecx, [eax - 4]
call fcn.01003931
cmp dword [esi + 0x8c], ebx
jne 0x100ca5f
lea eax, [esi + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea eax, [esi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edi, dword [esi + 0x5c]
jmp 0x100caa6
mov ecx, dword [edi]
call fcn.01003931
add edi, 4
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x5c]
lea eax, [ecx + eax*4]
cmp edi, eax
jne 0x100ca9c
mov dword [esi + 0x60], ebx
mov edi, dword [esi + 0x68]
jmp 0x100cac5
mov ecx, dword [edi]
call fcn.01003931
add edi, 4
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x68]
lea eax, [ecx + eax*4]
cmp edi, eax
jne 0x100cabb
mov dword [esi + 0x6c], ebx
mov edi, dword [esi + 0x74]
jmp 0x100cae4
mov ecx, dword [edi]
call fcn.01003931
add edi, 4
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x74]
lea eax, [ecx + eax*4]
cmp edi, eax
jne 0x100cada
lea eax, [esi + 0x58]
push eax
mov dword [esi + 0x78], ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov edi, dword [esi + 0xc]
jmp 0x100cb13
mov ecx, dword [edi]
cmp ecx, ebx
je 0x100cb10
push 1
call fcn.0100bc42
add edi, 4
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
lea eax, [ecx + eax*4]
cmp edi, eax
jne 0x100cb03
mov dword [esi + 0x10], ebx
mov edi, dword [esi + 0x18]
jmp 0x100cb38
mov ecx, dword [edi]
cmp ecx, ebx
je 0x100cb35
push 1
call fcn.0100bd12
add edi, 4
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [ecx + eax*4]
cmp edi, eax
jne 0x100cb28
mov dword [esi + 0x1c], ebx
mov edi, dword [esi + 0x24]
jmp 0x100cb5d
mov ecx, dword [edi]
cmp ecx, ebx
je 0x100cb5a
push 1
call fcn.0100bc42
add edi, 4
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x24]
lea eax, [ecx + eax*4]
cmp edi, eax
jne 0x100cb4d
mov dword [esi + 0x28], ebx
mov ecx, dword [esi + 0x30]
pop edi
cmp ecx, ebx
je 0x100cb7d
call fcn.0100f951
mov dword [esi + 0x30], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x100cb8d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x100cb9d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x34], ebx
mov byte [esi + 0x45], bl
pop esi
pop ebx
ret