Function at 0x1c245ca
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor eax, eax
mov ebx, ecx
push edi
mov ecx, 0x1c3ef18
inc eax
lock xadd dword [ecx], eax
inc eax
mov edi, dword [ebp + 0x18]
xor ecx, ecx
mov esi, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x58], ecx
mov dword [ebx + 0x5c], ecx
mov dword [ebx + 0x60], ecx
mov dword [ebx + 0x64], ecx
mov dword [ebx + 0x68], ecx
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x70], ecx
mov dword [ebx + 0x74], ecx
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x7c], ecx
mov dword [ebx + 0x80], ecx
mov dword [ebx + 0x84], ecx
mov dword [ebx + 0x88], ecx
mov byte [ebx + 0x8c], cl
mov dword [ebx + 0xa8], ecx
mov dword [ebx + 0xac], ecx
mov dword [ebx + 0xb0], ecx
mov dword [ebx + 0xb4], ecx
mov dword [ebx + 0xb8], ecx
mov word [ebx + 0xbc], cx
mov byte [ebx + 0xbe], cl
mov dword [ebp + 0xc], esi
cmp dword [ebp + 0x28], ecx
je 0x1c2466e
push dword [ebp + 0x28]
jmp 0x1c246bd
cmp dword [ebp + 0x20], ecx
je 0x1c24694
push 0x348
call fcn.01c25c0d
pop ecx
test eax, eax
je 0x1c246ba
push dword [ebp + 0x2c]
mov ecx, eax
push dword [ebx + 0x6c]
push dword [ebp + 0x20]
call fcn.01c24f45
jmp 0x1c246bc
cmp dword [ebp + 0x24], ecx
je 0x1c246e4
push 0x348
call fcn.01c25c0d
pop ecx
test eax, eax
je 0x1c246ba
push dword [ebp + 0x2c]
mov ecx, eax
push dword [ebx + 0x6c]
push dword [ebp + 0x24]
call fcn.01c24edf
jmp 0x1c246bc
xor eax, eax
push eax
lea ecx, [ebp + 0xc]
call fcn.01c24e7e
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1c246e2
mov ecx, esi
call fcn.01c250f9
test al, al
je 0x1c246e2
push esi
lea ecx, [ebx + 0xc]
xor esi, esi
call fcn.01c24e7e
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
jne 0x1c24798
lea eax, [ebx + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
xor eax, eax
push eax
push 1
push eax
push eax
call edi
mov dword [ebx + 0xa8], eax
xor eax, eax
push eax
push 1
push eax
push eax
call edi
mov dword [ebx + 0xac], eax
test eax, eax
je 0x1c24749
xor ecx, ecx
cmp dword [ebx + 0xa8], ecx
je 0x1c24749
lea eax, [ebp + 0x14]
push eax
push ecx
push ebx
push 0x1c2426e
push 0x10000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x88], eax
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x64], eax
test eax, eax
je 0x1c2476c
push str.MiniDumpWriteDump
push eax
call edi
mov dword [ebx + 0x68], eax
push str.rpcrt4.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 0x70], eax
test eax, eax
je 0x1c24789
push str.UuidCreate
push eax
call edi
mov dword [ebx + 0x74], eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.01c24eaa
mov edi, dword [ebp + 0x18]
xor ecx, ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ecx
lea ecx, [ebx + 0xc0]
xorps xmm0, xmm0
push eax
push dword [ecx]
movlpd qword [ebp - 0x14], xmm0
call fcn.01c24117
cmp dword [ebp - 4], 1
jne 0x1c247c5
push 0x1c3eefc
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
test edi, edi
je 0x1c2485e
push 0x1c3eefc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x1c3eef4]
test eax, eax
jne 0x1c24800
push 0xc
call fcn.01c25c0d
pop ecx
test eax, eax
je 0x1c247f9
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
jmp 0x1c247fb
xor eax, eax
mov dword [0x1c3eef4], eax
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], ebx
push ecx
mov ecx, eax
call fcn.01c24e29
mov eax, dword [ebp + 0x18]
test al, 1
je 0x1c24826
push 0x1c242c7
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [ebx + 0x7c], eax
mov eax, dword [ebp + 0x18]
test al, 2
je 0x1c2483e
push 0x1c24361
call fcn.01c2903f
mov dword [ebx + 0x80], eax
mov eax, dword [ebp + 0x18]
pop ecx
test al, 4
je 0x1c24853
push 0x1c244ca
call fcn.01c25be8
pop ecx
mov dword [ebx + 0x84], eax
push 0x1c3eefc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1c24870
mov ecx, esi
call fcn.01c25014
push esi
call fcn.01c25c5e
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28