Function at 0x4023c0
Capabilities:
Check if process is running under wine

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x118]
lea esi, [ebp - 0x114]
push ebx
lea ebx, [ebp - 0x110]
sub esp, 0x130
call fcn.00401890
mov dword [ebp - 0x118], 0x104
mov dword [ebp - 0x11c], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 4
mov dword [esp + 8], str.Test1
mov dword [esp + 4], str.SoftwareWineTest
mov dword [esp], 0x80000001
call dword [0x41c258]
sub esp, 0x1c
mov dword [ebp - 0x120], eax
call fcn.00404eb0
mov edx, dword [ebp - 0x120]
mov dword [eax], 0x40917b
mov dword [eax + 4], 0x1cc
xor eax, eax
cmp edx, 0x57
sete al
mov dword [esp + 8], edx
mov dword [esp + 4], str.Unexpected_retval__lu._n
mov dword [esp], eax
call fcn.00401870
mov dword [ebp - 0x118], 0x104
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 2
mov dword [esp + 8], str.Test1
mov dword [esp + 4], str.SoftwareWineTest
mov dword [esp], 0x80000001
call dword [0x41c258]
sub esp, 0x1c
mov dword [ebp - 0x120], eax
call fcn.00404eb0
mov edx, dword [ebp - 0x120]
mov dword [eax], 0x40917b
mov dword [eax + 4], 0x1d0
xor eax, eax
test edx, edx
sete al
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], str.Unexpected_retval__lu._n
call fcn.00401870
call fcn.00404eb0
mov dword [eax], 0x40917b
mov dword [eax + 4], 0x1d1
mov dword [esp], ebx
mov dword [esp + 4], 0x41c140
call dword [sym.imp.msvcrt.dll_strcmp]
mov dword [esp + 8], ebx
test eax, eax
mov dword [esp + 0xc], 0x41c140
sete al
mov dword [esp + 4], str.data___s__expected__s_n
movzx eax, al
mov dword [esp], eax
call fcn.00401870
call fcn.00404eb0
mov dword [eax], 0x40917b
mov dword [eax + 4], 0x1d2
mov eax, dword [ebp - 0x114]
mov dword [esp + 4], str.Unexpected_type__ld._n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00401870
mov dword [ebp - 0x118], 0x104
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Test1
mov dword [esp + 4], str.SoftwareWineTest
mov dword [esp], 0x80000001
call dword [0x41c258]
sub esp, 0x1c
mov dword [ebp - 0x120], eax
call fcn.00404eb0
mov edx, dword [ebp - 0x120]
mov dword [eax], 0x40917b
mov dword [eax + 4], 0x1d6
xor eax, eax
cmp edx, 0x65e
sete al
mov dword [esp + 8], edx
mov dword [esp + 4], str.Unexpected_retval__lu._n
mov dword [esp], eax
call fcn.00401870
mov dword [ebp - 0x118], 0x104
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 4
mov dword [esp + 8], str.Test2
mov dword [esp + 4], str.SoftwareWineTest
mov dword [esp], 0x80000001
call dword [0x41c258]
sub esp, 0x1c
mov dword [ebp - 0x120], eax
call fcn.00404eb0
mov edx, dword [ebp - 0x120]
mov dword [eax], 0x40917b
mov dword [eax + 4], 0x1da
xor eax, eax
cmp edx, 0x57
sete al
mov dword [esp + 8], edx
mov dword [esp + 4], str.Unexpected_retval__lu._n
mov dword [esp], eax
call fcn.00401870
mov dword [ebp - 0x118], 0x104
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 2
mov dword [esp + 8], str.Test2
mov dword [esp + 4], str.SoftwareWineTest
mov dword [esp], 0x80000001
call dword [0x41c258]
sub esp, 0x1c
mov dword [ebp - 0x120], eax
call fcn.00404eb0
mov edx, dword [ebp - 0x120]
mov dword [eax], 0x40917b
mov dword [eax + 4], 0x1de
xor eax, eax
test edx, edx
sete al
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], str.Unexpected_retval__lu._n
call fcn.00401870
call fcn.00404eb0
mov dword [eax], 0x40917b
mov dword [eax + 4], 0x1df
mov dword [esp], ebx
mov dword [esp + 4], str._LONGSYSTEMVAR__subdir1
call sub.msvcrt.dll_strcmp
mov dword [esp + 8], ebx
test eax, eax
mov dword [esp + 0xc], str._LONGSYSTEMVAR__subdir1
sete al
mov dword [esp + 4], str.data___s__expected__s_n
movzx eax, al
mov dword [esp], eax
call fcn.00401870
call fcn.00404eb0
mov dword [eax], 0x40917b
mov dword [eax + 4], 0x1e0
mov eax, dword [ebp - 0x114]
mov dword [esp + 4], str.Unexpected_type__ld._n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00401870
mov dword [ebp - 0x118], 0x104
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], str.Test2
mov dword [esp + 4], str.SoftwareWineTest
mov dword [esp], 0x80000001
call dword [0x41c258]
sub esp, 0x1c
mov ebx, eax
call fcn.00404eb0
mov dword [eax], 0x40917b
mov dword [eax + 4], 0x1e4
xor eax, eax
cmp ebx, 0x65e
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Unexpected_retval__lu._n
call fcn.00401870
mov eax, dword [ebp - 0x11c]
call fcn.00401230
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret