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

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
sub esp, 0x4c
mov dword [ebp - 0x20], eax
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 edi, eax
cmp eax, 2
jbe 0x401dda
lea ebx, [eax - 2]
mov dword [esp + 4], 0x40538d
lea eax, [esi + ebx]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_strcmp]
test eax, eax
cmove edi, ebx
mov ecx, str.ndis
mov dword [ebp - 0x1c], esi
mov ebx, 0x40563c
mov esi, ecx
lea esi, [esi]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], edi
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll_strncmp]
test eax, eax
jne 0x401e0e
cmp byte [esi + edi], 0
je 0x401e50
add ebx, 8
mov esi, dword [ebx]
test esi, esi
jne 0x401df0
mov eax, dword [ebp - 0x20]
mov dword [esp], str.Fatal:_test__s_does_not_exist._n
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll_printf]
mov dword [esp], 1
call dword [0x40400c]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_fflush]
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
call dword [sym.imp.kernel32.dll_TlsAlloc]
mov dword [0x416040], ebx
mov dword [0x40600c], eax
call dword [ebx + 4]
mov eax, dword [0x404008]
test eax, eax
je 0x401f82
mov esi, dword [0x416020]
mov ecx, dword [0x406008]
mov edi, dword [0x416024]
mov edx, dword [0x416028]
mov eax, esi
mov dword [ebp - 0x20], ecx
mov ecx, dword [sym.imp.msvcrt.dll_printf]
or eax, edi
or eax, edx
mov dword [ebp - 0x1c], ecx
je 0x401ee8
cmp dword [ebp - 0x20], 0
mov eax, 0x4052d1
je 0x401eb3
mov dword [ebp - 0x1c], edx
call fcn.00401b70
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
mov ecx, dword fs:[0x18]
mov dword [esp + 8], eax
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
mov eax, dword [sym.imp.msvcrt.dll_printf]
mov dword [ebp - 0x1c], eax
call eax
mov esi, dword [0x416038]
mov eax, dword [0x416034]
mov edx, str.failures
mov ecx, dword [0x41602c]
mov edi, dword [0x416030]
mov dword [ebp - 0x20], eax
mov eax, str.failure
add ecx, esi
cmp ecx, 1
cmovne eax, edx
add esi, dword [0x41603c]
add esi, edi
add esi, dword [0x41602c]
cmp dword [0x406008], 0
mov dword [ebp - 0x24], eax
mov eax, 0x4052d1
je 0x401f3e
mov dword [ebp - 0x28], ecx
call fcn.00401b70
mov ecx, dword [ebp - 0x28]
mov edx, dword fs:[0x18]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x20]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x20]
mov dword [esp], str._04x:_s:_s__d_tests_executed___d_marked_as_todo___d__s____d_skipped._n
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
call eax
mov eax, dword [0x41602c]
add eax, dword [0x416038]
mov edx, 0xff
cmp eax, 0xff
cmovg eax, edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret