Function at 0x4679a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov ebx, ecx
mov eax, 1
push edi
mov ecx, 0x4b4388
lock xadd dword [ecx], eax
inc eax
mov dword [ebp - 4], eax
xor esi, esi
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 + 0x6c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
mov byte [ebx + 0x8c], 0
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xb8], 0
mov word [ebx + 0xbc], 0
mov byte [ebx + 0xbe], 0
test eax, eax
jne 0x467ad4
mov edi, dword [ebp + 0x20]
test edi, edi
je 0x467aaa
push 0x348
call fcn.0047bbb9
add esp, 4
test eax, eax
je 0x467b0d
push dword [ebp + 0x2c]
mov ecx, eax
push dword [ebx + 0x6c]
push edi
call fcn.004682b0
jmp 0x467ad0
mov edi, dword [ebp + 0x24]
test edi, edi
je 0x467b0d
push 0x348
call fcn.0047bbb9
add esp, 4
test eax, eax
je 0x467b0d
push dword [ebp + 0x2c]
mov ecx, eax
push dword [ebx + 0x6c]
push edi
call fcn.00468220
test eax, eax
je 0x467b0d
mov esi, eax
test esi, esi
je 0x467b0d
mov ecx, esi
call fcn.00468490
test al, al
je 0x467b0d
mov edi, dword [ebx + 0xc]
mov eax, esi
xor esi, esi
mov dword [ebp + 0x2c], eax
cmp eax, edi
je 0x467b0d
test edi, edi
je 0x467b0a
mov ecx, edi
call fcn.00468370
push edi
call fcn.0047bc0a
mov eax, dword [ebp + 0x2c]
add esp, 4
mov dword [ebx + 0xc], eax
cmp dword [ebx + 0xc], 0
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jne 0x467be6
lea eax, [ebx + 0x90]
push eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push 0
push 1
push 0
push 0
call edi
push 0
push 1
push 0
push 0
mov dword [ebx + 0xa8], eax
call edi
mov dword [ebx + 0xac], eax
test eax, eax
je 0x467b78
cmp dword [ebx + 0xa8], 0
je 0x467b78
lea eax, [ebp + 0x10]
push eax
push 0
push ebx
push 0x467590
push 0x10000
push 0
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 0x467b9b
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 0x467bb8
push str.UuidCreate
push eax
call edi
mov dword [ebx + 0x74], eax
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x10]
cmp edi, eax
je 0x467bce
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.0040ada0
cmp dword [edi + 0x14], 8
jb 0x467bd6
mov edi, dword [edi]
mov ecx, ebx
mov dword [ebx + 0x58], edi
call fcn.00467d70
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 0
lea ecx, [ebx + 0xc0]
xorps xmm0, xmm0
push eax
push dword [ecx]
movlpd qword [ebp - 0x14], xmm0
call fcn.004670c0
cmp dword [ebp - 4], 1
jne 0x467c13
push 0x4b436c
call edi
cmp dword [ebp + 0x18], 0
je 0x467cbe
push 0x4b436c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4b4364]
test eax, eax
jne 0x467c5c
push 0xc
call fcn.0047bbb9
add esp, 4
test eax, eax
je 0x467c55
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x467c57
xor eax, eax
mov dword [0x4b4364], eax
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
push ecx
mov ecx, eax
call fcn.0046c130
mov eax, dword [ebp + 0x18]
test al, 1
je 0x467c82
push 0x467650
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [ebx + 0x7c], eax
mov eax, dword [ebp + 0x18]
test al, 2
je 0x467c9c
push 0x467720
call fcn.0047cbf3
mov dword [ebx + 0x80], eax
add esp, 4
mov eax, dword [ebp + 0x18]
test al, 4
je 0x467cb3
push 0x467890
call fcn.0047bb94
add esp, 4
mov dword [ebx + 0x84], eax
push 0x4b436c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x467cd2
mov ecx, esi
call fcn.00468370
push esi
call fcn.0047bc0a
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28