Function at 0x576599e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x514
push ebx
push esi
push edi
push 0x5768a1f0
push 0x50
push str.__hW
call fcn.57659990
add esp, 0xc
test eax, eax
je 0x57659a10
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x514
ret
mov al, byte [0x576876ec]
mov ecx, 0x40
mov byte [esp + 0xc], al
xor eax, eax
lea edi, [esp + 0xd]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
stosw word es:[edi], ax
push ecx
push str.native
push str.SOFTWARECygnus_SolutionsCygwinmounts_v2_
stosb byte es:[edi], al
call fcn.57660af0
mov ebx, dword [sym.imp.USER32.dll_CharLowerA]
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call ebx
mov dl, byte [0x576876ec]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x319]
mov byte [esp + 0x318], dl
mov byte [esp + 0x41c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x41d]
mov byte [esp + 0x110], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x214], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x215]
lea edx, [esp + 0x110]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x5768a0ec
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x110]
push ecx
call ebx
mov al, byte [esp + 0xc]
test al, al
je 0x57659b3c
lea edx, [esp + 0xc]
push edx
call fcn.57659960
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x10]
push ecx
lea ecx, [esp + 0x118]
push eax
push ecx
call sub.MSVCRT.dll_strncmp
add esp, 0x10
test eax, eax
jne 0x57659b82
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x514
ret
lea edx, [esp + 0xc]
push str.C:_appscygwin_bin
push edx
call sub.MSVCRT.dll_sprintf
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x14]
push ecx
lea ecx, [esp + 0x11c]
push eax
push ecx
call sub.MSVCRT.dll_strncmp
add esp, 0x14
test eax, eax
jne 0x57659b82
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x514
ret
push ebp
lea edx, [esp + 0x31c]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.INCOPS3
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x31c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x31c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
lea edi, [esp + 0x31c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x320]
push ecx
push edx
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
pop ebp
jne 0x57659c0f
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x514
ret
lea eax, [esp + 0x41c]
push str.c:program_files_secu_drm
push eax
call sub.MSVCRT.dll_sprintf
lea edi, [esp + 0x424]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x118]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x428]
push ecx
push edx
call sub.MSVCRT.dll_strncmp
add esp, 0x14
test eax, eax
jne 0x57659c5e
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x514
ret
lea eax, [esp + 0x214]
push str.c:_appsutil
push eax
call sub.MSVCRT.dll_sprintf
lea edi, [esp + 0x21c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x118]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x220]
push ecx
push edx
call sub.MSVCRT.dll_strncmp
add esp, 0x14
test eax, eax
jne 0x57659cad
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x514
ret
lea eax, [esp + 0x214]
push str.z:cnxt_src_toolexe
push eax
call sub.MSVCRT.dll_sprintf
lea edi, [esp + 0x21c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x118]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x220]
push ecx
push edx
call sub.MSVCRT.dll_strncmp
add esp, 0x14
neg eax
sbb eax, eax
pop edi
pop esi
inc eax
pop ebx
add esp, 0x514
ret