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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], esp
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x84], 0x1000ff30
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x80]
mov ecx, dword fs:[0]
mov dword [esi + 0x80], ecx
mov dword fs:[0], eax
cmp byte [ebx + 0x11], 0
je 0x1000e873
mov byte [esi + 1], 3
jmp 0x1000e899
mov eax, dword [0x100c0144]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp dword [eax + 0x10], 1
jbe 0x1000e891
mov byte [esi + 1], 1
jmp 0x1000e899
call fcn.10013a50
mov byte [esi + 1], al
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esi + 0x34], eax
lea eax, [esi + 0x68]
push edi
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, 0xb98b1b71
mov ecx, 0x57a64178
xor eax, dword [esi + 0x6c]
xor ecx, dword [esi + 0x68]
or ecx, eax
jne 0x1000e8e0
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x74]
mov eax, 4
xor ecx, 0xd6cb5d6d
xor edx, 0x63eb502c
or edx, ecx
mov ecx, edi
je 0x1000e927
lea eax, [esi + 0x58]
push edi
push eax
call dword [ebx + 0xc]
add esp, 8
mov eax, 0x98b63a2e
mov ecx, 0xe955980d
xor eax, dword [esi + 0x5c]
xor ecx, dword [esi + 0x58]
or ecx, eax
mov eax, 0xc
mov ecx, 0x1009ddca
jne 0x1000e92c
mov edx, dword [esi + 0x60]
mov ebx, dword [esi + 0x64]
xor edx, 0x342f5c46
xor ebx, 0xe9e659a3
or ebx, edx
jne 0x1000e92c
lea ecx, [edi + 4]
mov eax, 8
mov ecx, dword [ecx]
mov eax, dword [edi + eax]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
mov eax, dword [0x100c0144]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
movzx eax, byte [eax + 0xc]
test eax, eax
je 0x1000e953
cmp eax, 1
je 0x1000e97d
jmp 0x1000e9ba
mov eax, dword [0x100c0144]
mov ecx, dword fs:[0x2c]
mov edi, dword [ecx + eax*4]
lea eax, [edi + 8]
push 0x10011120
push eax
call fcn.10013b20
add esp, 8
mov byte [edi + 0xc], 1
mov eax, dword [0x100c0144]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 8]
test eax, eax
je 0x1000ecca
lock inc dword [eax]
jle 0x1000ecf3
test eax, eax
je 0x1000e9ba
mov dword [esi + 4], eax
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1000e9cd
cmp ecx, 2
jne 0x1000e9d9
xor ecx, ecx
jmp 0x1000e9e0
mov dword [esi + 4], 0
mov ecx, 9
mov edx, 0x1009ddd6
jmp 0x1000e9f2
mov ecx, 0x1009e297
mov eax, 4
jmp 0x1000e9e0
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
dec eax
test ecx, ecx
mov edx, 0x1009ddd6
cmovne edx, ecx
mov ecx, 9
cmovne ecx, eax
lea eax, [esi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], eax
lea eax, [esi + 0x34]
mov dword [esi + 0x4c], eax
lea eax, [esi + 0x38]
mov dword [esi + 0x50], eax
lea eax, [esi + 1]
mov dword [esi + 0x54], eax
movzx eax, byte [0x100c00f8]
test al, al
je 0x1000ea49
mov byte [0x100c00f8], 1
mov eax, dword [0x100c0144]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 0x1c]
cmp ecx, 2
je 0x1000ea4d
cmp ecx, 1
jne 0x1000ea64
lea eax, [eax + 0x20]
jmp 0x1000ea8e
xor eax, eax
jmp 0x1000ea52
mov eax, 1
mov dword [esi + 8], eax
lea eax, [esi + 0xc]
mov dword [esi + 0xc], 0
jmp 0x1000eaed
mov dword [esi + 0x88], 0
mov eax, dword [0x100c0144]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
lea eax, [eax + 0x1c]
push 0
push eax
call fcn.10035990
add esp, 8
mov ebx, dword [eax]
mov dword [eax], 0
lea eax, [esi + 0xc]
mov dword [esi + 8], 0
test ebx, ebx
mov dword [esi + 0xc], ebx
je 0x1000eaed
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
mov cl, 1
xor eax, eax
lea edi, [ebx + 8]
lock cmpxchg byte [ebx + 8], cl
jne 0x1000ecf5
mov dword [esi + 0x18], edi
mov eax, dword [0x100c00a0]
mov dword [esi + 0x2c], ebx
test eax, 0x7fffffff
je 0x1000eb33
mov byte [esi], 1
mov dword [esi + 0x88], 3
call fcn.10034f10
mov ebx, dword [esi + 0x2c]
xor al, 1
mov dword [esi + 0x1c], eax
jmp 0x1000eb3a
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
mov byte [esi + 2], 1
mov dword [esi + 0x88], 2
lea ecx, [esi + 0x48]
lea edx, [esi + 0x10]
push 0x1009de08
call fcn.1000ee70
add esp, 4
mov al, 1
xor ebx, ebx
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x1000ec5a
jmp 0x1000ec84
mov dword [esi + 0x1c], 0
movzx eax, byte [ebx + 9]
lea edx, [ebx + 0xc]
mov dword [esi + 0x88], 5
lea ecx, [esi + 0x48]
push 0x1009dde0
call fcn.1000ee70
add esp, 4
cmp byte [esi + 0x1c], 0
je 0x1000eba7
mov ecx, dword [esi + 0x18]
xor eax, eax
xchg byte [ecx], al
cmp al, 2
jne 0x1000eb73
push ecx
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle]
mov ecx, dword [esi + 0x24]
mov byte [0x100c00f8], 1
mov dword [esi + 0x10], ecx
mov eax, dword [0x100c0144]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 0x1c]
cmp edx, 2
je 0x1000ebd2
cmp edx, 1
jne 0x1000ebf2
lea eax, [eax + 0x20]
jmp 0x1000ec1f
mov eax, dword [0x100c00a0]
test eax, 0x7fffffff
je 0x1000eb61
mov byte [esi], 1
mov dword [esi + 0x88], 3
call fcn.10034f10
test al, al
jne 0x1000eb61
mov eax, dword [esi + 0x2c]
mov byte [eax + 9], 1
jmp 0x1000eb61
lock dec dword [ecx]
jne 0x1000ec4f
lea eax, [esi + 0x10]
mov byte [esi], 0
mov dword [esi + 0x88], 3
push eax
call fcn.10005370
add esp, 4
jmp 0x1000ec4f
mov dword [esi + 0x88], 4
mov eax, dword [0x100c0144]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
lea eax, [eax + 0x1c]
push 0
push eax
call fcn.10035990
add esp, 8
mov ecx, dword [esi + 0x10]
mov edx, dword [eax]
mov dword [eax], ecx
test edx, edx
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], 1
je 0x1000ec4f
lock dec dword [edx]
jne 0x1000ec4f
lea eax, [esi + 0x14]
mov byte [esi], 0
mov dword [esi + 0x88], 3
push eax
call fcn.10005370
add esp, 4
mov bl, 1
xor eax, eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1000ec84
lock dec dword [ecx]
jne 0x1000ec84
mov ecx, dword [esi + 0x20]
mov byte [esi + 3], al
lea eax, [esi + 4]
mov dword [esi + 0x88], 1
mov dword [esi + 0x30], ecx
push eax
mov dword [esi + 0x18], ebx
call fcn.10005160
mov ebx, dword [esi + 0x18]
add esp, 4
cmp dword [esi + 8], 0
mov eax, dword [esi + 0xc]
setne cl
test eax, eax
sete dl
or bl, cl
or bl, dl
cmp bl, 1
je 0x1000ecb6
lock dec dword [eax]
jne 0x1000ecb6
mov dword [esi + 0x88], 0xffffffff
push dword [esi + 0x20]
call fcn.10005370
add esp, 4
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x100c0144]
mov ecx, dword fs:[0x2c]
mov edi, dword [ecx + eax*4]
lea ecx, [edi + 8]
call fcn.10034e10
mov eax, dword [edi + 8]
lock inc dword [eax]
jg 0x1000e9a3
ud2
push edi
call fcn.10034d50
add esp, 4
jmp 0x1000eabf