Function at 0x4465c0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x48bee7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4acab8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
push 0x4ae310
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [esi], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esi + 8], edx
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 + 0x78], eax
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ecx
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 edi, ebx
je 0x44671b
push 0x348
call fcn.00470562
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ebx
cmp eax, ebx
je 0x4466b7
mov edx, dword [esp + 0x44]
mov ecx, dword [esi + 0x78]
push edx
push ecx
push edi
mov ecx, eax
call fcn.004462f0
mov edi, eax
jmp 0x4466b9
xor edi, edi
mov ecx, edi
mov dword [esp + 0x20], 0xffffffff
call fcn.00445900
mov ebp, eax
cmp ebp, ebx
je 0x446707
push ebp
mov ecx, edi
call fcn.00445450
push ebp
mov byte [esp + 0x30], al
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [esp + 0x2c], bl
je 0x446707
mov ebp, dword [esi + 0xc]
cmp ebp, edi
je 0x44671b
cmp ebp, ebx
je 0x446702
mov ecx, ebp
call fcn.00445a00
push ebp
call fcn.0046fa18
add esp, 4
mov dword [esi + 0xc], edi
jmp 0x44671b
cmp edi, ebx
je 0x44671b
mov ecx, edi
call fcn.00445a00
push edi
call fcn.0046fa18
add esp, 4
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x4467e8
lea edx, [esi + 0x9c]
push edx
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 0x44677d
cmp dword [esi + 0xb4], ebx
je 0x44677d
lea eax, [esp + 0x30]
push eax
push ebx
push esi
push 0x445960
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 ebp, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [esi + 0x70], eax
cmp eax, ebx
je 0x4467a2
push str.MiniDumpWriteDump
push eax
call ebp
mov dword [esi + 0x74], eax
push str.rpcrt4.dll
call edi
mov dword [esi + 0x7c], eax
cmp eax, ebx
je 0x4467be
push str.UuidCreate
push eax
call ebp
mov dword [esi + 0x80], eax
mov ecx, dword [esp + 0x28]
push 0xffffffffffffffff
push ebx
lea edi, [esi + 0x10]
push ecx
mov ecx, edi
call fcn.0042e1b0
cmp dword [edi + 0x18], 8
jb 0x4467db
mov edi, dword [edi + 4]
jmp 0x4467de
add edi, 4
mov ecx, esi
mov dword [esi + 0x64], edi
call fcn.00446460
mov edi, 1
cmp dword [esp + 0x14], edi
jne 0x4467fe
push 0x4ae2f0
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
cmp dword [esp + 0x38], ebx
je 0x4468b1
push 0x4ae2f0
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ecx, dword [0x4ae308]
cmp ecx, ebx
jne 0x44684e
push 0x18
call fcn.00470562
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edi
cmp eax, ebx
je 0x44683c
mov ecx, eax
call fcn.0042ee90
jmp 0x44683e
xor eax, eax
mov ecx, eax
mov dword [esp + 0x20], 0xffffffff
mov dword [0x4ae308], ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], esi
call fcn.0044b9f0
mov bl, byte [esp + 0x38]
test bl, 1
je 0x446876
push 0x446380
call dword [sym.imp.KERNEL32.DLL_SetUnhandledExceptionFilter]
mov dword [esi + 0x88], eax
test bl, 2
je 0x44688e
push 0x445e10
call fcn.00470755
add esp, 4
mov dword [esi + 0x8c], eax
test bl, 4
je 0x4468a6
push 0x445ff0
call fcn.0046fdff
add esp, 4
mov dword [esi + 0x90], eax
push 0x4ae2f0
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x20