Function at 0x3f005080
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
mov ebx, edi
shr eax, 0x1e
and al, 1
shr ebx, 0x1f
mov byte [ebp - 8], bl
and edi, 0x3fffffff
mov byte [ebp - 0xc], al
call sym.tier0_s.dll_IsInFatalAssert
test al, al
jne 0x3f0053d6
push str._noassert
call sym.tier0_s.dll_Plat_CommandLineParamExists
add esp, 4
test al, al
je 0x3f0050cd
test bl, bl
je 0x3f0053d6
mov eax, dword fs:[0x2c]
mov ecx, dword [0x3f0924ac]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x3f04ec08]
cmp eax, dword [ecx + 0x408]
jg 0x3f0053df
mov ecx, 0x3f04ec04
call sym.tier0_s.dll_public:_bool___thiscall_CThreadLocalBase::BIsValid_void_const
test al, al
je 0x3f005130
mov ecx, 0x3f04ec04
call sym.tier0_s.dll_public:_void____thiscall_CThreadLocalBase::Get_void_const
mov ecx, 0x3f04ec04
lea esi, [eax + 1]
push esi
call sym.tier0_s.dll_public:_void___thiscall_CThreadLocalBase::Set_void__
lea eax, [esi - 1]
mov ecx, 0x3f04ec04
push eax
call sym.tier0_s.dll_public:_void___thiscall_CThreadLocalBase::Set_void__
cmp esi, 1
jg 0x3f0053d6
test bl, bl
je 0x3f005142
jmp 0x3f005138
test bl, bl
je 0x3f0053d6
call sym.tier0_s.dll_FreeCrashMemoryReserve
call sym.tier0_s.dll_SetInFatalAssert
cmp byte [0x3f04e7c8], 0
je 0x3f005150
call fcn.3f007390
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push 0x3f036a70
push edi
push esi
push 2
call sym.tier0_s.dll__SpewMessageTypeSourceFmt
add esp, 0x14
mov dword [ebp + 0xc], eax
call sym.tier0_s.dll_BGetMiniDumpLock
test al, al
jne 0x3f00518c
test bl, bl
je 0x3f0053d6
call sym.tier0_s.dll_BBlockingGetMiniDumpLock
test al, al
jne 0x3f00518c
xor eax, eax
mov dword [eax], 1
call sym.tier0_s.dll_BWritingMiniDump
test al, al
jne 0x3f0053c5
push 1
call sym.tier0_s.dll_SetInAssert
add esp, 4
cmp byte [0x3f04e7c8], 0
je 0x3f0051e4
push 1
lea eax, [ebp - 0xec]
mov dword [ebp - 0x4c], 0
push 6
push eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call sym.tier0_s.dll_RealGetCallStack
push 1
lea eax, [ebp - 0xec]
push 1
push eax
call sym.tier0_s.dll_RealPrintCallStack
add esp, 0x18
test bl, bl
je 0x3f0051f3
mov eax, dword [0x3f04e7b0]
test eax, eax
je 0x3f0051f3
call eax
mov eax, dword [0x3f04e7b4]
test eax, eax
je 0x3f0051fe
call eax
cmp dword [ebp + 0xc], 0
jne 0x3f0052ac
push str.DONT_BREAK_ON_ASSERT
call fcn.3f020832
add esp, 4
test eax, eax
jne 0x3f00524f
call sym.tier0_s.dll_ShouldUseNewAssertDialog
test al, al
je 0x3f00524f
push dword [ebp + 0x10]
push edi
push esi
call sym.tier0_s.dll_DoNewAssertDialog
add esp, 0xc
test al, al
je 0x3f00524f
cmp byte [0x3f04ec0c], 0
jne 0x3f00524f
push 0
call sym.tier0_s.dll_SetInAssert
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test bl, bl
je 0x3f0052ac
push str.Fatal_assert__application_exiting
push edi
push esi
push 2
call sym.tier0_s.dll__SpewMessageTypeSourceFmt
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x3f005289
mov ecx, dword [ebp + 0x10]
test ecx, ecx
push 1
push eax
push edi
mov eax, str.Fatal_assert
cmovne eax, ecx
push esi
push eax
call sym.tier0_s.dll_WriteMiniDump
add esp, 0x14
push str._ExitOnFatalAssert_n
push 1
push str.console
call sym.tier0_s.dll__DMsg
add esp, 0xc
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0
call fcn.3f004a60
lea ecx, [ebp - 0x24]
mov dword [ebp + 0xc], eax
push ecx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.3f004600
mov ebx, dword [ebp - 0x28]
cmp byte [ebx + 0xd], 0
jne 0x3f0052e8
cmp edi, dword [ebx + 0x14]
jne 0x3f0052e1
cmp esi, dword [ebx + 0x10]
setb al
test al, al
je 0x3f0052ed
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.3f004a60
cmp ebx, dword [eax]
jne 0x3f0053ad
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x3f0053ad
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
call fcn.3f021129
add esp, 4
mov dword [ebp - 0x10], eax
call fcn.3f004a60
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
call fcn.3f004600
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x3f005353
cmp edi, dword [ecx + 0x14]
jne 0x3f00534c
cmp esi, dword [ecx + 0x10]
setb al
test al, al
je 0x3f00539a
cmp dword [ebx + 4], 0x9249249
je 0x3f00541f
mov esi, dword [ebx]
push 0x1c
call fcn.3f01a46b
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], ecx
mov ecx, ebx
push eax
push dword [ebp + 0xc]
mov dword [eax], esi
push dword [ebp - 4]
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
call fcn.3f004de0
mov esi, dword [ebp + 8]
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
push esi
push dword [ebp + 0x10]
call sym.tier0_s.dll_WriteMiniDump
add esp, 0x14
push 0
call sym.tier0_s.dll_SetInAssert
add esp, 4
call sym.tier0_s.dll_MiniDumpUnlock
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
test bl, bl
je 0x3f0053d1
xor eax, eax
mov dword [eax], 1
call sym.tier0_s.dll_MiniDumpUnlock
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 0x3f04ec08
call fcn.3f01a5dc
add esp, 4
cmp dword [0x3f04ec08], 0xffffffff
jne 0x3f0050ed
mov ecx, 0x3f04ec04
call sym.tier0_s.dll_public:_void___thiscall_CThreadLocalBase::constructor_void_
push 0x3f035c70
call fcn.3f01aa47
push 0x3f04ec08
call fcn.3f01a592
add esp, 8
jmp 0x3f0050ed
call fcn.3f005040
int3