Function at 0x402200
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 0x40226a
lea ebx, [eax - 2]
mov dword [esp + 4], 0x405925
lea eax, [esi + ebx]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_strcmp]
test eax, eax
cmove edi, ebx
mov ecx, str.msvcp110
mov dword [ebp - 0x1c], esi
mov ebx, 0x405bd4
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 0x40229e
cmp byte [esi + edi], 0
je 0x4022e0
add ebx, 8
mov esi, dword [ebx]
test esi, esi
jne 0x402280
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 [0x416060], ebx
mov dword [0x40602c], eax
call dword [ebx + 4]
mov eax, dword [0x404008]
test eax, eax
je 0x402412
mov esi, dword [0x416040]
mov ecx, dword [0x406028]
mov edi, dword [0x416044]
mov edx, dword [0x416048]
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 0x402378
cmp dword [ebp - 0x20], 0
mov eax, 0x405865
je 0x402343
mov dword [ebp - 0x1c], edx
call fcn.00402000
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 [0x416058]
mov eax, dword [0x416054]
mov edx, str.failures
mov ecx, dword [0x41604c]
mov edi, dword [0x416050]
mov dword [ebp - 0x20], eax
mov eax, str.failure
add ecx, esi
cmp ecx, 1
cmovne eax, edx
add esi, dword [0x41605c]
add esi, edi
add esi, dword [0x41604c]
cmp dword [0x406028], 0
mov dword [ebp - 0x24], eax
mov eax, 0x405865
je 0x4023ce
mov dword [ebp - 0x28], ecx
call fcn.00402000
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 [0x41604c]
add eax, dword [0x416058]
mov edx, 0xff
cmp eax, 0xff
cmovg eax, edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret