Function at 0x40c7e5
Capabilities:
Check for sandbox and av modules

Disassembly:
push ebp
sub esp, 0x618
lea ebp, [esp - 4]
mov eax, dword [0x45a258]
xor eax, ebp
mov dword [ebp + 0x618], eax
push 0x170
mov eax, 0x449357
call fcn.00432fce
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x10]
mov edi, ecx
push eax
mov dword [ebp - 0x18], edi
call fcn.0040291c
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x5c
push dword [ebp - 0x10]
call fcn.0043022e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
cmp eax, ebx
je 0x40c842
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x40c86f
lea eax, [ecx - 0x10]
call fcn.00406004
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x618]
xor ecx, ebp
call fcn.0042deb1
add ebp, 0x61c
leave
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0040c765
pop ecx
pop ecx
cmp edi, ebx
je 0x40c8a0
push 0x45ea78
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 0x17c]
push eax
call fcn.0040c6b6
pop ecx
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.0040ca74
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040aa02
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00406004
push dword [ebp - 0x10]
call fcn.0040d868
pop ecx
test al, al
jne 0x40c8e0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
jmp 0x40c845
mov edi, str.dbghelp.dll
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
jne 0x40c8fb
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
je 0x40c90a
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 8], eax
cmp dword [esi + 8], ebx
jne 0x40c921
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00406004
mov eax, ebx
jmp 0x40c84c
push ebx
push 0x80
push 2
push ebx
push ebx
lea eax, [esi + 0xc]
push 0xc0000000
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40ca0d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ebx
lea edx, [ebp - 0x17c]
mov dword [ecx + 0x18], edx
push ebx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 0x214]
mov dword [ebp - 0x24], ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [esi + 8]
cmp eax, ebx
je 0x40c992
mov dword [ebp - 0x14], 1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
lea eax, [ebp - 0x20]
push str.360TrayMiniDmp_full.dmp
push eax
lea ecx, [ebp - 0x10]
call fcn.0040cab0
pop ecx
pop ecx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
mov byte [ebp - 4], 2
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x40c9ff
or dword [esi + 0x214], 2
mov eax, dword [esi + 0x214]
push ebx
push ebx
lea ecx, [ebp - 0x2c]
push ecx
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [esi + 8]
push dword [ebp - 0x18]
call edi
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00406004
xor eax, eax
mov word [ebp + 0x410], ax
mov eax, str.DumpUper.exe
lea ecx, [ebp + 0x410]
call fcn.0040d605
xor eax, eax
mov word [ebp], ax
push 1
mov eax, 0x410
lea edi, [ebp]
cmp dword [0x45ec78], ebx
je 0x40ca45
push str.verifier.exe
jmp 0x40ca4a
push 0x45f5f0
push dword [ebp - 0x1c]
push str.__s____s____d_
call fcn.0040cbc5
add esp, 0x10
lea eax, [ebp]
push ebx
push eax
lea ecx, [ebp + 0x410]
call fcn.0040d71f
mov ebx, dword [ebp - 0x14]
pop ecx
pop ecx
jmp 0x40c90f