Function at 0x403f40
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 0x403faa
lea ebx, [eax - 2]
mov dword [esp + 4], 0x408885
lea eax, [esi + ebx]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_strcmp]
test eax, eax
cmove edi, ebx
mov ecx, str.wbemdisp
mov dword [ebp - 0x1c], esi
mov ebx, 0x408b34
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 0x403fde
cmp byte [esi + edi], 0
je 0x404020
add ebx, 8
mov esi, dword [ebx]
test esi, esi
jne 0x403fc0
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 [0x40600c]
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 [0x419040], ebx
mov dword [0x40900c], eax
call dword [ebx + 4]
mov eax, dword [0x406008]
test eax, eax
je 0x404152
mov esi, dword [0x419020]
mov ecx, dword [0x409008]
mov edi, dword [0x419024]
mov edx, dword [0x419028]
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 0x4040b8
cmp dword [ebp - 0x20], 0
mov eax, 0x4087c5
je 0x404083
mov dword [ebp - 0x1c], edx
call fcn.00403d40
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 [0x419038]
mov eax, dword [0x419034]
mov edx, str.failures
mov ecx, dword [0x41902c]
mov edi, dword [0x419030]
mov dword [ebp - 0x20], eax
mov eax, str.failure
add ecx, esi
cmp ecx, 1
cmovne eax, edx
add esi, dword [0x41903c]
add esi, edi
add esi, dword [0x41902c]
cmp dword [0x409008], 0
mov dword [ebp - 0x24], eax
mov eax, 0x4087c5
je 0x40410e
mov dword [ebp - 0x28], ecx
call fcn.00403d40
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 [0x41902c]
add eax, dword [0x419038]
mov edx, 0xff
cmp eax, 0xff
cmovg eax, edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret