Function at 0x1010472e
Capabilities:
Create thread
Generate random numbers via rtlgenrandom
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov dword [esp + 8], ecx
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x78], eax
xor esi, esi
dec esi
lea eax, [esp + 0x30]
mov dword [eax + 4], esi
mov dword [eax], esi
push 8
push eax
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x10104bad
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], esi
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
mov eax, 8
mov dword [esp + eax + 0x58], 0x1019c15c
mov dword [esp + eax + 0x5c], 0
mov byte [esp + eax + 0x60], 0
add eax, 0xc
cmp eax, 0x20
jne 0x1010478f
mov ecx, dword [esp + 8]
lea eax, [ecx + 0x28]
mov dword [esp + 0x14], eax
lea edi, [ecx + 0x24]
mov dl, 1
xor esi, esi
mov dword [esp + 0x10], edi
mov ebx, dword [ecx + 0x1c]
cmp ebx, 0xffffffff
mov dword [esp + 0xc], edx
je 0x101047d9
mov dword [ecx + 0x1c], 0xffffffff
mov edi, ecx
jmp 0x101047f6
movzx eax, dl
and eax, 1
push eax
push ecx
mov edi, ecx
call fcn.10121fa6
add esp, 8
mov ebx, eax
cmp eax, 0xffffffff
je 0x101048c9
push 0x28
call fcn.10145ba4
add esp, 4
mov ecx, dword [edi + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], 0x1019c15c
mov dword [eax + 8], ebx
mov byte [eax + 0xc], 0
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov edi, dword [esp + 0x10]
mov dword [eax + 0x14], edi
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x20], ecx
lea ecx, [esi + esi*2]
lea ebx, [esp + ecx*4]
add ebx, 0x60
xor esi, esi
push esi
push esi
push eax
push 0x10104bf0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x30], eax
mov ecx, ebx
lea eax, [esp + 0x30]
push eax
call fcn.10104bb0
cmp dword [ebx + 4], esi
je 0x10104883
xor eax, eax
xor esi, esi
inc esi
test byte [esp + 0xc], 1
mov edx, 0
mov ecx, dword [esp + 8]
jne 0x101047c2
jmp 0x10104919
push 0x168
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
lea eax, [esp + 0x38]
push eax
call fcn.100d84a0
add esp, 0xc
mov ebx, dword [esp + 0x30]
lea eax, [ebx + 8]
push 0xc
push 0x101ad385
push eax
call fcn.10034b83
add esp, 0xc
test ebx, ebx
je 0x10104865
mov eax, dword [ebx]
mov esi, dword [eax]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
push 1
call esi
jmp 0x10104865
push 0x159
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
lea eax, [esp + 0x38]
push eax
call fcn.100d84a0
add esp, 0xc
mov ebx, dword [esp + 0x30]
lea eax, [ebx + 8]
push 0xf
push str.CreateNamedPipe
push eax
call fcn.10034b83
add esp, 0xc
test ebx, ebx
je 0x1010490d
mov eax, dword [ebx]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
push 1
call edi
xor ebx, ebx
dec ebx
mov edi, dword [esp + 8]
jmp 0x101047f6
mov dword [esp + 0x30], eax
lea esi, [esp + 0x20]
mov dword [esi], eax
lea edx, [esp + 0x5c]
mov dword [edx], eax
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push eax
push esi
push edx
push dword [ecx + 0x10]
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov ebx, dword [esi]
test ebx, ebx
je 0x10104a4e
mov eax, dword [esp + 8]
add eax, 0x2c
mov dword [esp + 0xc], eax
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x10104a3b
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x101049dc
mov esi, dword [esp + 0xc]
mov ecx, eax
lea edx, [ecx + 4]
cmp dword [ecx + 0x10], ebx
cmovae edx, ecx
cmovae esi, ecx
mov ecx, dword [edx]
test ecx, ecx
jne 0x1010496f
cmp esi, dword [esp + 0xc]
je 0x101049dc
cmp dword [esi + 0x10], ebx
ja 0x101049dc
test esi, esi
je 0x10104baa
mov edx, dword [esi + 4]
mov edi, esi
test edx, edx
je 0x101049a7
mov ecx, edx
mov edx, dword [edx]
test edx, edx
jne 0x1010499d
jmp 0x101049b0
mov ecx, dword [edi + 8]
cmp dword [ecx], edi
mov edi, ecx
jne 0x101049a7
mov edx, dword [esp + 0x14]
cmp dword [edx], esi
mov edi, dword [esp + 0x10]
jne 0x101049c2
mov edx, dword [esp + 0x14]
mov dword [edx], ecx
mov ecx, dword [esp + 8]
dec dword [ecx + 0x30]
push esi
push eax
call fcn.10038204
add esp, 8
push esi
call fcn.10145bd4
add esp, 4
mov ecx, ebx
call fcn.10104cb8
push ebx
call fcn.10145bd4
add esp, 4
mov eax, dword [esp + 8]
cmp byte [eax + 0x34], 0
jne 0x101049fc
cmp dword [eax + 0x30], 0
je 0x10104a47
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x5c], eax
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x68]
push eax
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov ebx, dword [esp + 0x20]
test ebx, ebx
jne 0x10104950
jmp 0x10104a4e
mov ecx, edi
call fcn.10083990
jmp 0x1010495f
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
pxor xmm0, xmm0
movdqu xmmword [esp + 0x4c], xmm0
movdqu xmmword [esp + 0x3c], xmm0
xor eax, eax
inc eax
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x34], esi
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x38], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
mov edi, dword [esp + 0x10]
push edi
call fcn.10121d40
add esp, 0xc
pxor xmm0, xmm0
movdqu xmmword [esp + 0x4c], xmm0
movdqu xmmword [esp + 0x3c], xmm0
xor eax, eax
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], esi
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push edi
call fcn.10121d40
add esp, 0xc
mov esi, 4
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [esp + esi + 0x64]
call edi
add esi, 0xc
cmp esi, 0x1c
jne 0x10104add
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x10104b9b
mov eax, dword [esp + 8]
mov edi, dword [eax + 0x28]
lea esi, [eax + 0x2c]
cmp edi, esi
je 0x10104b49
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x10104b25
mov ecx, ebx
call fcn.10104cb8
push ebx
call fcn.10145bd4
add esp, 4
test edi, edi
je 0x10104ba7
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x10104b3a
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x10104b30
jmp 0x10104b43
mov eax, dword [edi + 8]
cmp dword [eax], edi
mov edi, eax
jne 0x10104b3a
mov edi, eax
cmp eax, esi
jne 0x10104b0e
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 8]
push dword [edi + 0x2c]
call fcn.10038c70
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, 0xc
lea ecx, [esp + esi]
add ecx, 0x60
call fcn.101040bc
add esi, 0xfffffff4
cmp esi, 0xfffffff4
jne 0x10104b73
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.101465a3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, esi
call fcn.10083990
jmp 0x10104b00
int3
int3
int3