Function at 0x405c00
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 0x405c6a
lea ebx, [eax - 2]
mov dword [esp + 4], 0x40b1e4
lea eax, [esi + ebx]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_strcmp]
test eax, eax
cmove edi, ebx
mov ecx, str.xaudio2
mov dword [ebp - 0x1c], esi
mov ebx, 0x40b494
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 0x405c9e
cmp byte [esi + edi], 0
je 0x405ce0
add ebx, 8
mov esi, dword [ebx]
test esi, esi
jne 0x405c80
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 [0x408020]
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 [0x41c080], ebx
mov dword [0x40c04c], eax
call dword [ebx + 4]
mov eax, dword [0x40801c]
test eax, eax
je 0x405e12
mov esi, dword [0x41c060]
mov ecx, dword [0x40c048]
mov edi, dword [0x41c064]
mov edx, dword [0x41c068]
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 0x405d78
cmp dword [ebp - 0x20], 0
mov eax, 0x40b125
je 0x405d43
mov dword [ebp - 0x1c], edx
call fcn.00405a00
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 [0x41c078]
mov eax, dword [0x41c074]
mov edx, str.failures
mov ecx, dword [0x41c06c]
mov edi, dword [0x41c070]
mov dword [ebp - 0x20], eax
mov eax, str.failure
add ecx, esi
cmp ecx, 1
cmovne eax, edx
add esi, dword [0x41c07c]
add esi, edi
add esi, dword [0x41c06c]
cmp dword [0x40c048], 0
mov dword [ebp - 0x24], eax
mov eax, 0x40b125
je 0x405dce
mov dword [ebp - 0x28], ecx
call fcn.00405a00
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 [0x41c06c]
add eax, dword [0x41c078]
mov edx, 0xff
cmp eax, 0xff
cmovg eax, edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret