Function at 0x10019ed8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a08
call fcn.10045420
mov eax, dword [0x10084adc]
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 0x1001a21b
cmp byte [edi], bl
je 0x1001a21b
mov esi, 0x7ff
push esi
lea eax, [ebp - 0x1203]
push ebx
push eax
mov byte [ebp - 0x1204], bl
call fcn.10045030
push esi
lea eax, [ebp - 0x803]
push ebx
push eax
mov byte [ebp - 0x804], bl
call fcn.10045030
push 0x200
lea eax, [ebp - 0xa04]
push ebx
push eax
call fcn.10045030
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 0x10019f59
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 0x10019f6d
lea eax, [ebp - 0x1204]
push eax
call fcn.10019e60
pop ecx
test al, al
je 0x10019f9d
xor eax, eax
mov cl, byte [ebp + eax - 0x1204]
mov byte [ebp + eax - 0x804], cl
inc eax
test cl, cl
jne 0x10019f8a
lea eax, [ebp - 0x1204]
push 0x10063d68
push eax
call fcn.10045450
pop ecx
pop ecx
cmp eax, ebx
je 0x10019fd5
lea ecx, [ebp - 0x11ff]
cmp eax, ecx
jae 0x10019fd5
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 0x10019fc9
jmp 0x1001a043
lea eax, [ebp - 0x1204]
push 0x10063a50
push eax
call fcn.10045450
pop ecx
pop ecx
cmp eax, ebx
je 0x1001a00d
lea ecx, [ebp - 0x11ff]
cmp eax, ecx
jae 0x1001a00d
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 0x1001a001
jmp 0x1001a043
lea eax, [ebp - 0x1204]
push str.._
push eax
call fcn.10045450
pop ecx
pop ecx
cmp eax, ebx
je 0x1001a043
lea ecx, [ebp - 0x11ff]
cmp eax, ecx
jae 0x1001a043
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 0x1001a039
cmp byte [ebp - 0x804], 0x2e
jne 0x1001a0c1
cmp byte [ebp - 0x803], 0x5c
jne 0x1001a0c1
xor eax, eax
mov cl, byte [ebp + eax - 0x804]
mov byte [ebp + eax - 0x1204], cl
inc eax
test cl, cl
jne 0x1001a057
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 0x1001a084
lea edi, [ebp - 0x1a04]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001a094
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 0x1001a0ae
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 0x1001a0e0
sub ecx, edx
lea eax, [ebp + ecx - 0x808]
cmp edi, eax
jne 0x1001a0f7
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 0x1001a110
sub ecx, edx
lea eax, [ebp + ecx - 0x808]
cmp edi, eax
jne 0x1001a127
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 0x1001a140
sub ecx, edx
lea eax, [ebp + ecx - 0x808]
cmp esi, eax
jne 0x1001a157
push 2
pop ebx
test ebx, ebx
jne 0x1001a163
xor eax, eax
inc eax
jmp 0x1001a21d
push 0
lea eax, [ebp - 0xa04]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.10035824
add esp, 0xc
cmp dword [0x1015668c], 0
mov bl, al
je 0x1001a1be
cmp byte [ebp + 0xc], 0
mov eax, str.lpCommandLine
jne 0x1001a196
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.100412e2
add esp, 0x1c
mov esi, 0x800
push esi
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.10045030
add esp, 0xc
test bl, bl
je 0x1001a21b
test byte [0x10151cb4], 4
mov eax, str.SoftWareTrojanCut_tc_FileSA
jne 0x1001a1ec
mov eax, str.SoftWareTrojanCut_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.100417d5
xor eax, eax
add esp, 0x14
cmp byte [ebp - 0x804], al
sete al
dec eax
and eax, 0xfffffffd
inc eax
jmp 0x1001a21d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004501f
leave
ret