Function at 0x42e10e
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x462a79
call fcn.0044a6d8
mov esi, ecx
push 0x47f2c8
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x78], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov byte [esi + 0x98], bl
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov byte [esi + 0xc8], bl
mov byte [esi + 0xc9], bl
cmp dword [ebp + 0x20], ebx
je 0x42e202
push 0x348
call fcn.0044a7fd
pop ecx
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x42e1da
push dword [ebp + 0x24]
mov ecx, eax
push dword [esi + 0x78]
push dword [ebp + 0x20]
call fcn.0042de22
mov edi, eax
jmp 0x42e1dc
xor edi, edi
or dword [ebp - 4], 0xffffffff
mov ecx, edi
mov dword [ebp + 0xc], edi
call fcn.0042d7e4
test al, al
je 0x42e1fa
push edi
lea ecx, [esi + 0xc]
mov dword [ebp + 0xc], ebx
call fcn.0042d85c
lea ecx, [ebp + 0xc]
call fcn.0042d845
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x42e2b0
lea eax, [esi + 0x9c]
push eax
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov edi, dword [sym.imp.KERNEL32.DLL_CreateSemaphoreW]
push ebx
push 1
push ebx
push ebx
call edi
push ebx
push 1
push ebx
push ebx
mov dword [esi + 0xb4], eax
call edi
mov dword [esi + 0xb8], eax
cmp eax, ebx
je 0x42e263
cmp dword [esi + 0xb4], ebx
je 0x42e263
lea eax, [ebp + 0x14]
push eax
push ebx
push esi
push 0x42d78c
push 0x10000
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x94], eax
mov edi, dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
push str.dbghelp.dll
call edi
mov dword [esi + 0x70], eax
cmp eax, ebx
je 0x42e286
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [esi + 0x74], eax
push str.rpcrt4.dll
call edi
mov dword [esi + 0x7c], eax
cmp eax, ebx
je 0x42e2a6
push str.UuidCreate
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [esi + 0x80], eax
push dword [ebp + 8]
mov ecx, esi
call fcn.0042e0db
xor edi, edi
inc edi
cmp dword [ebp - 0x10], edi
jne 0x42e2c3
push 0x47f2a8
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
cmp dword [ebp + 0x18], ebx
je 0x42e366
push 0x47f2a8
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ecx, dword [0x47f2c0]
cmp ecx, ebx
jne 0x42e30a
push 0x18
call fcn.0044a7fd
pop ecx
mov dword [ebp + 0x20], eax
mov dword [ebp - 4], edi
cmp eax, ebx
je 0x42e2fc
mov ecx, eax
call fcn.0041cb6e
jmp 0x42e2fe
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [0x47f2c0], ecx
lea eax, [ebp + 0x10]
push eax
mov dword [ebp + 0x10], esi
call fcn.0042e088
test byte [ebp + 0x18], 1
je 0x42e32d
push 0x42df1d
call dword [sym.imp.KERNEL32.DLL_SetUnhandledExceptionFilter]
mov dword [esi + 0x88], eax
test byte [ebp + 0x18], 2
je 0x42e344
push 0x42dae3
call fcn.0044a9f0
pop ecx
mov dword [esi + 0x8c], eax
test byte [ebp + 0x18], 4
je 0x42e35b
push 0x42dc6e
call fcn.00449f90
pop ecx
mov dword [esi + 0x90], eax
push 0x47f2a8
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
call fcn.0044a7b0
ret 0x20