Function at 0x40ba90
Capabilities:
Query environment variable

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x98
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
call fcn.0040b0f0
mov dword [esp], 1
call dword [0x40c0ec]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_setvbuf]
mov dword [0x420108], esi
lea esi, [ebp - 0x98]
mov edi, dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
mov dword [0x420104], ebx
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], esi
mov dword [esp], str.WINETEST_PLATFORM
call edi
sub esp, 0xc
test eax, eax
je 0x40bc1d
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__strdup]
mov dword [str.windows], eax
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], esi
mov dword [esp], str.WINETEST_DEBUG
call edi
sub esp, 0xc
test eax, eax
jne 0x40bcbc
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], esi
mov dword [esp], str.WINETEST_INTERACTIVE
call edi
sub esp, 0xc
test eax, eax
jne 0x40bca9
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], esi
mov dword [esp], str.WINETEST_REPORT_SUCCESS
call edi
sub esp, 0xc
test eax, eax
jne 0x40bc96
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], esi
mov dword [esp], str.WINETEST_TIME
call edi
sub esp, 0xc
test eax, eax
jne 0x40bc83
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edi, str.windows
mov ecx, 8
mov esi, dword [str.windows]
mov dword [0x4201c4], eax
mov dword [0x4201c0], eax
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
je 0x40bc70
mov edx, dword [0x4100c4]
test edx, edx
je 0x40bc5d
mov eax, dword [ebx + 4]
test eax, eax
je 0x40bd0b
mov edi, str.__list
mov ecx, 7
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
seta bl
sbb bl, 0
movsx ebx, bl
test ebx, ebx
je 0x40bccf
call fcn.0040a820
mov ebx, eax
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp], str.ntdll.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push ecx
test eax, eax
je 0x40bb25
mov dword [esp + 4], str.wine_server_call
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push edx
push edx
test eax, eax
je 0x40bb25
mov dword [str.windows], 0x40f8c3
jmp 0x40bb25
mov dword [esp], 3
call dword [sym.imp.kernel32.dll_SetErrorMode]
push eax
jmp 0x40bbde
mov dword [esp], 0x40a770
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push ecx
jmp 0x40bbd4
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll_atoi]
mov dword [0x4100c8], eax
jmp 0x40bba5
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll_atoi]
mov dword [0x4100c0], eax
jmp 0x40bb85
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll_atoi]
mov dword [0x4100c4], eax
jmp 0x40bb65
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll_atoi]
mov dword [0x40c0e8], eax
jmp 0x40bb45
mov dword [esp], str.Valid_test_names:
mov edi, 0x40f934
call sub.msvcrt.dll_puts
mov esi, dword [sym.imp.msvcrt.dll_printf]
mov eax, str.msvcp140
lea esi, [esi]
nop
add edi, 8
mov dword [esp + 4], eax
mov dword [esp], str._____s_n
call esi
mov eax, dword [edi]
test eax, eax
jne 0x40bcf0
jmp 0x40bc0f
mov eax, str.msvcp140
call fcn.0040a820
mov ebx, eax
jmp 0x40bc0f