Function at 0x40b7d0
Capabilities:
Allocate thread local storage
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
sub esp, 0x78
mov ebx, dword [sym.imp.msvcrt.dll_strrchr]
mov dword [esp + 4], 0x2f
mov dword [esp], eax
call ebx
mov dword [esp + 4], 0x5c
test eax, eax
lea esi, [eax + 1]
cmove esi, edi
mov dword [esp], esi
call ebx
lea edx, [eax + 1]
test eax, eax
cmovne esi, edx
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll_strlen]
mov ebx, eax
cmp eax, 2
jbe 0x40b83d
lea edx, [eax - 2]
mov dword [esp + 4], 0x40feb3
lea eax, [esi + edx]
mov dword [ebp - 0x50], edx
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_strcmp]
mov edx, dword [ebp - 0x50]
test eax, eax
cmove ebx, edx
mov eax, 0xe
mov dword [esp + 4], esi
cmp ebx, eax
mov dword [esp], str.mfmediaengine
cmovbe eax, ebx
mov dword [esp + 8], eax
call dword [sym.imp.msvcrt.dll_strncmp]
test eax, eax
je 0x40b898
mov dword [esp + 4], edi
mov dword [esp], str.Fatal:_test__s_does_not_exist._n
call dword [sym.imp.msvcrt.dll_printf]
mov dword [esp], 1
call dword [0x40d064]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_fflush]
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
cmp byte [ebx + str.mfmediaengine], 0
jne 0x40b860
call dword [sym.imp.kernel32.dll_TlsAlloc]
mov dword [0x43e084], 0x410138
mov dword [0x43e080], eax
call fcn.00409270
mov ecx, dword [0x40d038]
test ecx, ecx
jne 0x40b8f2
mov edx, dword [0x42e04c]
mov eax, dword [0x42e02c]
add eax, dword [0x42e03c]
test edx, edx
je 0x40b8e0
add eax, dword [0x42e038]
mov edx, 0xff
cmp eax, edx
cmovg eax, edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.0040b0d0
mov esi, dword [0x42e020]
mov edi, dword [0x42e024]
mov edx, dword [0x42e028]
mov ebx, dword [sym.imp.msvcrt.dll_printf]
mov eax, esi
or eax, edi
or eax, edx
je 0x40b95e
cmp dword [0x42e060], 0
mov eax, 0x40fd45
jne 0x40ba14
mov dword [esp + 0x18], edx
mov ebx, dword [sym.imp.msvcrt.dll_printf]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.mfmediaengine
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x20]
mov dword [esp], str._04x:_s:_s_Silenced__d_todos___d_skips_and__d_traces._n
mov dword [esp + 4], eax
call ebx
mov eax, dword [0x42e034]
mov edi, str.failures
mov esi, str.failure
mov ecx, dword [0x42e02c]
mov dword [ebp - 0x50], eax
mov eax, dword [0x42e03c]
lea edx, [eax + ecx]
cmp edx, 1
cmovne esi, edi
mov edi, dword [0x42e038]
add eax, dword [0x42e040]
mov dword [ebp - 0x58], esi
mov esi, dword [0x42e030]
add eax, edi
add eax, esi
add eax, ecx
cmp dword [0x42e060], 0
mov dword [ebp - 0x54], eax
mov eax, 0x40fd45
jne 0x40ba04
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x50]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp - 0x58]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov ecx, dword [ebp - 0x54]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 8], str.mfmediaengine
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x20]
mov dword [esp], str._04x:_s:_s__d_tests_executed___d_marked_as_todo___d_as_flaky___d__s____d_skipped._n
mov dword [esp + 4], eax
call ebx
call fcn.0040b7a0
jmp 0x40b8c5
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x5c], edx
call fcn.0040af50
mov edx, dword [ebp - 0x5c]
jmp 0x40b9b0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], edx
call fcn.0040af50
mov edx, dword [ebp - 0x50]
jmp 0x40b929