Function at 0x4dc3da
Capabilities:
Create thread
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov dword [esp + 4], ecx
mov eax, dword [0x597010]
xor eax, ebp
mov dword [esp + 0x68], eax
xor esi, esi
dec esi
lea eax, [esp + 0x28]
mov dword [eax + 4], esi
mov dword [eax], esi
push 8
push eax
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x4dc7f8
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], esi
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
mov eax, 8
mov dword [esp + eax + 0x48], 0x57bb1c
mov dword [esp + eax + 0x4c], 0
mov byte [esp + eax + 0x50], 0
add eax, 0xc
cmp eax, 0x20
jne 0x4dc430
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 4]
lea eax, [ecx + 0x28]
mov dword [esp + 0x10], eax
lea ebx, [ecx + 0x24]
mov dl, 1
xor esi, esi
mov dword [esp + 0xc], ebx
mov edi, dword [ecx + 0x1c]
cmp edi, 0xffffffff
mov dword [esp + 8], edx
je 0x4dc482
mov dword [ecx + 0x1c], 0xffffffff
mov ebx, ecx
jmp 0x4dc49f
movzx eax, dl
and eax, 1
push eax
push ecx
mov ebx, ecx
call fcn.004f872a
add esp, 8
mov edi, eax
cmp eax, 0xffffffff
je 0x4dc560
push 0x28
call fcn.005283f4
add esp, 4
mov ecx, dword [ebx + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], 0x57bb1c
mov dword [eax + 8], edi
mov byte [eax + 0xc], 0
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x20], ecx
lea ecx, [esi + esi*2]
lea edi, [esp + ecx*4]
add edi, 0x50
xor ebx, ebx
push ebx
push ebx
push eax
push 0x4dc840
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x28], eax
mov ecx, edi
lea esi, [esp + 0x28]
push esi
call fcn.004dc7fc
cmp dword [edi + 4], ebx
je 0x4dc52d
xor eax, eax
xor esi, esi
inc esi
test byte [esp + 8], 1
mov edx, 0
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0xc]
jne 0x4dc46b
jmp 0x4dc59d
push 0x14a
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push esi
call fcn.0047af90
add esp, 0xc
mov eax, dword [esp + 0x28]
add eax, 8
push 0xc
push 0x58ac34
push eax
call fcn.0042d698
add esp, 0xc
mov ecx, esi
call fcn.0047b000
jmp 0x4dc50e
push 0x13b
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
lea edi, [esp + 0x30]
push edi
call fcn.0047af90
add esp, 0xc
mov eax, dword [esp + 0x28]
add eax, 8
push 0xf
push str.CreateNamedPipe
push eax
call fcn.0042d698
add esp, 0xc
mov ecx, edi
call fcn.0047b000
xor edi, edi
dec edi
jmp 0x4dc49f
mov dword [esp + 0x28], eax
lea esi, [esp + 0x1c]
mov dword [esi], eax
lea edx, [esp + 0x4c]
mov dword [edx], eax
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push eax
push esi
push edx
push dword [ecx + 0x10]
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov edi, dword [esi]
test edi, edi
je 0x4dc6c9
mov eax, dword [esp + 4]
add eax, 0x2c
mov dword [esp + 8], eax
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x4dc5e6
push ebx
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [esp + 8]
mov eax, dword [eax]
test eax, eax
je 0x4dc663
mov esi, dword [esp + 8]
mov ecx, eax
lea edx, [ecx + 4]
cmp dword [ecx + 0x10], edi
cmovae edx, ecx
cmovae esi, ecx
mov ecx, dword [edx]
test ecx, ecx
jne 0x4dc5f6
cmp esi, dword [esp + 8]
je 0x4dc663
cmp dword [esi + 0x10], edi
ja 0x4dc663
test esi, esi
je 0x4dc7f5
mov edx, dword [esi + 4]
mov ebx, esi
test edx, edx
je 0x4dc62e
mov ecx, edx
mov edx, dword [edx]
test edx, edx
jne 0x4dc624
jmp 0x4dc637
mov ecx, dword [ebx + 8]
cmp dword [ecx], ebx
mov ebx, ecx
jne 0x4dc62e
mov edx, dword [esp + 0x10]
cmp dword [edx], esi
mov ebx, dword [esp + 0xc]
jne 0x4dc649
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
mov ecx, dword [esp + 4]
dec dword [ecx + 0x30]
push esi
push eax
call fcn.0043126e
add esp, 8
push esi
call fcn.00528424
add esp, 4
mov ecx, edi
call fcn.004dc908
push edi
call fcn.00528424
add esp, 4
mov eax, dword [esp + 4]
cmp byte [eax + 0x34], 0
jne 0x4dc683
cmp dword [eax + 0x30], 0
je 0x4dc6c2
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x4c], eax
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x58]
push eax
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x4dc5d4
jmp 0x4dc6c9
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov bl, 1
lea esi, [esp + 0x34]
xor edi, edi
dec edi
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
pxor xmm0, xmm0
movdqu xmmword [esi], xmm0
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0xc]
call fcn.004f84c4
add esp, 0xc
test bl, 1
mov ebx, 0
jne 0x4dc6d2
mov esi, 4
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [esp + esi + 0x54]
call edi
add esi, 0xc
cmp esi, 0x1c
jne 0x4dc731
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x4dc757
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [esp + 4]
mov ebx, dword [eax + 0x28]
lea esi, [eax + 0x2c]
cmp ebx, esi
je 0x4dc7a0
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x4dc77c
mov ecx, edi
call fcn.004dc908
push edi
call fcn.00528424
add esp, 4
test ebx, ebx
je 0x4dc7f2
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4dc791
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x4dc787
jmp 0x4dc79a
mov eax, dword [ebx + 8]
cmp dword [eax], ebx
mov ebx, eax
jne 0x4dc791
mov ebx, eax
cmp eax, esi
jne 0x4dc765
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 4]
push dword [edi + 0x2c]
call fcn.00431b20
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, 0xc
lea ecx, [esp + esi]
add ecx, 0x50
call fcn.004dbdcc
add esi, 0xfffffff4
cmp esi, 0xfffffff4
jne 0x4dc7ca
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.00528e13
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3
int3
int3