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

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edi
je 0x4758c5
mov ecx, dword [0x54e230]
mov dword [eax], ecx
mov eax, dword [0x54e234]
test al, 1
je 0x4758d6
and eax, 2
pop edi
add esp, 0x18
ret
push ebx
push ebp
push esi
mov esi, dword [0x45f26d]
or eax, 1
push 0x8000
mov dword [0x54e234], eax
call esi
mov dword [esp + 0x1c], eax
or eax, 0x8000
push eax
call esi
push 0x4e493c
call dword [0x45f22e]
mov ebx, eax
cmp ebx, edi
je 0x47599c
mov ebp, dword [fcn.0045f183]
push 0x4e494c
call ebp
cmp eax, edi
mov dword [esp + 0x24], eax
je 0x47599c
push 0x4e4958
call ebp
mov edi, eax
test edi, edi
je 0x47599c
mov esi, dword [fcn.0045f17a]
push 0x4e4968
push edi
call esi
test eax, eax
mov dword [0x54e224], eax
je 0x47599c
push 0x4e4974
push edi
call esi
test eax, eax
mov dword [0x54e228], eax
je 0x47599c
push 0x4e4988
push edi
call esi
test eax, eax
mov dword [0x54e22c], eax
je 0x47599c
lea edx, [esp + 0x18]
push edx
push 0x4e4994
push 0x80000002
call dword [0x54e224]
test eax, eax
jne 0x4759bf
mov eax, dword [esp + 0x18]
test eax, eax
je 0x475992
push eax
call dword [0x54e22c]
mov dword [0x54e21c], 1
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4759aa
mov dword [eax], 0
mov eax, dword [esp + 0x1c]
push eax
call dword [0x45f26d]
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x18
ret
call fcn.00474e67
test eax, eax
je 0x4759ff
push 0x4e49b0
push ebx
call esi
mov edi, eax
test edi, edi
je 0x475ad6
push 0x54e230
call dword [fcn.0045f1f8]
push eax
call edi
test eax, eax
je 0x475ad6
mov eax, dword [0x54e230]
test eax, eax
jne 0x475ad6
jmp 0x47599c
push 0x4e49dc
call ebp
mov edi, eax
test edi, edi
je 0x475a62
push 0x4e49ec
push edi
call esi
mov ebx, eax
test ebx, ebx
je 0x475a62
push 0x4e4a08
push edi
call esi
mov edi, eax
test edi, edi
je 0x475a62
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
push ecx
push 4
push 0xffffffffffffffff
push 0
call ebx
test eax, eax
je 0x475a62
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov dword [0x54e230], edx
cmp dword [eax], 0
je 0x475a57
mov dword [esp + 0x14], 1
push eax
call edi
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x475ad6
push 0x4e4a18
call ebp
mov edi, eax
test edi, edi
je 0x47599c
push 0x4e4a24
push edi
call esi
mov ebx, eax
test ebx, ebx
je 0x47599c
push 0x4e4a40
push edi
call esi
mov edi, eax
test edi, edi
je 0x47599c
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
push ecx
push 4
push 0xffffffffffffffff
push 0
call ebx
test eax, eax
je 0x47599c
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov dword [0x54e230], edx
cmp dword [eax], 0
mov ebx, 1
jne 0x475acb
mov ebx, dword [esp + 0x14]
push eax
call edi
test ebx, ebx
je 0x47599c
mov eax, dword [esp + 0x24]
push 0x4e49c8
push eax
call esi
test eax, eax
je 0x475af5
push 0x1000
call eax
test eax, eax
je 0x47599c
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x475b05
mov ecx, dword [0x54e230]
mov dword [eax], ecx
mov edx, dword [esp + 0x1c]
push edx
call dword [0x45f26d]
mov eax, dword [0x54e234]
pop esi
pop ebp
or eax, 2
pop ebx
mov dword [0x54e234], eax
mov eax, 1
pop edi
add esp, 0x18
ret