Function at 0x10019d54
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a08
call fcn.10044f70
mov eax, dword [0x10083adc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x1a08], edi
cmp edi, ebx
je 0x1001a097
cmp byte [edi], bl
je 0x1001a097
mov esi, 0x7ff
push esi
lea eax, [ebp - 0x1203]
push ebx
push eax
mov byte [ebp - 0x1204], bl
call fcn.10044b80
push esi
lea eax, [ebp - 0x803]
push ebx
push eax
mov byte [ebp - 0x804], bl
call fcn.10044b80
push 0x200
lea eax, [ebp - 0xa04]
push ebx
push eax
call fcn.10044b80
lea ecx, [ebp - 0x1204]
add esp, 0x24
mov eax, edi
sub ecx, edi
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x10019dd5
lea edx, [ebp - 0x804]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10019de9
lea eax, [ebp - 0x1204]
push eax
call fcn.10019cdc
pop ecx
test al, al
je 0x10019e19
xor eax, eax
mov cl, byte [ebp + eax - 0x1204]
mov byte [ebp + eax - 0x804], cl
inc eax
test cl, cl
jne 0x10019e06
lea eax, [ebp - 0x1204]
push 0x10063cf8
push eax
call fcn.10044fa0
pop ecx
pop ecx
cmp eax, ebx
je 0x10019e51
lea ecx, [ebp - 0x11ff]
cmp eax, ecx
jae 0x10019e51
add eax, 4
lea edx, [ebp - 0x804]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10019e45
jmp 0x10019ebf
lea eax, [ebp - 0x1204]
push 0x100639e0
push eax
call fcn.10044fa0
pop ecx
pop ecx
cmp eax, ebx
je 0x10019e89
lea ecx, [ebp - 0x11ff]
cmp eax, ecx
jae 0x10019e89
add eax, 4
lea edx, [ebp - 0x804]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10019e7d
jmp 0x10019ebf
lea eax, [ebp - 0x1204]
push str.._
push eax
call fcn.10044fa0
pop ecx
pop ecx
cmp eax, ebx
je 0x10019ebf
lea ecx, [ebp - 0x11ff]
cmp eax, ecx
jae 0x10019ebf
add eax, 2
lea edx, [ebp - 0x804]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10019eb5
cmp byte [ebp - 0x804], 0x2e
jne 0x10019f3d
cmp byte [ebp - 0x803], 0x5c
jne 0x10019f3d
xor eax, eax
mov cl, byte [ebp + eax - 0x804]
mov byte [ebp + eax - 0x1204], cl
inc eax
test cl, cl
jne 0x10019ed3
lea eax, [ebp - 0x1a04]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x1203]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10019f00
lea edi, [ebp - 0x1a04]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10019f10
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov cl, byte [ebp + eax - 0x1a04]
mov byte [ebp + eax - 0x804], cl
inc eax
test cl, cl
jne 0x10019f2a
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push str..exe
lea eax, [ebp - 0x804]
push eax
call esi
lea ecx, [ebp - 0x804]
mov edi, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019f5c
sub ecx, edx
lea eax, [ebp + ecx - 0x808]
cmp edi, eax
jne 0x10019f73
push 2
pop ebx
push str..com
lea eax, [ebp - 0x804]
push eax
call esi
lea ecx, [ebp - 0x804]
mov edi, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019f8c
sub ecx, edx
lea eax, [ebp + ecx - 0x808]
cmp edi, eax
jne 0x10019fa3
push 2
pop ebx
push str..scr
lea eax, [ebp - 0x804]
push eax
call esi
lea ecx, [ebp - 0x804]
mov esi, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019fbc
sub ecx, edx
lea eax, [ebp + ecx - 0x808]
cmp esi, eax
jne 0x10019fd3
push 2
pop ebx
test ebx, ebx
jne 0x10019fdf
xor eax, eax
inc eax
jmp 0x1001a099
push 0
lea eax, [ebp - 0xa04]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.1003568d
add esp, 0xc
cmp dword [0x1015568c], 0
mov bl, al
je 0x1001a03a
cmp byte [ebp + 0xc], 0
mov eax, str.lpCommandLine
jne 0x1001a012
mov eax, str.lpApplicationName
lea ecx, [ebp - 0x804]
push ecx
push dword [ebp - 0x1a08]
push eax
lea eax, [ebp - 0xa04]
push eax
movzx eax, bl
push eax
push str.isWhite_Process_SAL_ret__d_Hash__s__s__s___s_
push 0x63
call fcn.1004122a
add esp, 0x1c
mov esi, 0x800
push esi
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.10044b80
add esp, 0xc
test bl, bl
je 0x1001a097
test byte [0x10150cb4], 4
mov eax, str.SoftWare_trueEP_tc_FileSA
jne 0x1001a068
mov eax, str.SoftWare_trueEP_tc_FileSAN
push esi
lea ecx, [ebp - 0x804]
push ecx
lea ecx, [ebp - 0xa04]
push ecx
push eax
push reloc.WS2_32.dll_bind
call fcn.1004171d
xor eax, eax
add esp, 0x14
cmp byte [ebp - 0x804], al
sete al
dec eax
and eax, 0xfffffffd
inc eax
jmp 0x1001a099
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10044b6f
leave
ret