Function at 0x4c1240
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fc2cb
push eax
mov edx, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x7a8
or ecx, 0xffffffff
xor eax, eax
push ebx
push ebp
push esi
push edi
mov edi, edx
lea ebx, [esp + 0x4b4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
mov bl, 0x3a
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [edx + 1]
and ecx, 3
cmp al, bl
rep movsb byte es:[edi], byte [esi]
je 0x4c1424
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebp, [esp + 0x34]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x4c12e6
lea esi, [esp + ecx + 0x34]
mov dl, byte [esi]
cmp dl, 0x5c
mov byte [esp + eax + 0x2b4], dl
jne 0x4c12e0
cmp eax, 2
jge 0x4c12e6
inc eax
dec esi
cmp eax, ecx
jl 0x4c12cd
sub ecx, eax
mov edx, ecx
test edx, edx
jle 0x4c1307
mov ebp, ecx
lea esi, [esp + 0x34]
lea edi, [esp + 0x5b4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov byte [esp + edx + 0x5b4], 0
test eax, eax
jle 0x4c1337
lea esi, [esp + edx + 0x35]
mov dl, byte [esi + ecx]
cmp dl, 0x5c
je 0x4c132a
mov byte [esp + ecx + 0x2b4], dl
jne 0x4c1332
mov byte [esp + ecx + 0x2b4], 0
inc ecx
cmp ecx, eax
jl 0x4c1319
mov byte [esp + eax + 0x2b4], 0
lea edi, [esp + 0x2b4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0x2b3]
mov cl, byte [esp + ecx + 0x2b3]
cmp cl, 0x22
jne 0x4c1366
mov byte [eax], 0
lea edi, [esp + 0x5b4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
test ebp, ebp
jle 0x4c138b
cmp byte [esp + eax + 0x5b4], bl
je 0x4c138b
inc eax
cmp eax, ebp
jl 0x4c137d
mov edx, ebp
sub edx, eax
lea ecx, [edx + 1]
test ecx, ecx
jle 0x4c13af
mov ebx, ecx
lea esi, [esp + eax + 0x5b3]
lea edi, [esp + 0x34]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp eax, ebp
mov byte [esp + edx + 0x35], 0
jne 0x4c13e5
lea eax, [esp + 0x234]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x234]
lea edx, [esp + 0x34]
push ecx
push str._s_system32drivers
push edx
call fcn.004f175f
add esp, 0xc
lea eax, [esp + 0x2b4]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [esp + 0x4b8]
push eax
push str._s_s
push edx
call fcn.004f175f
add esp, 0x10
mov dword [esp + 0x7c0], 0xffffffff
lea eax, [esp + 0x4b4]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [esp + 0x14]
push eax
call fcn.00402b80
lea ecx, [esp + 0x14]
mov dword [esp + 0x7c0], 2
call fcn.00402d30
cmp eax, 1
jbe 0x4c17fa
lea ecx, [esp + 0x14]
call fcn.00402c10
push eax
call fcn.004fa6c0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
mov ebp, dword [esp + 0x7d0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Beijing_Rising
mov edx, ecx
mov esi, edi
mov edi, ebp
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004f2d80
add esp, 0xc
test eax, eax
je 0x4c14c4
mov edi, 0x52a2cc
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, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push str.Jiangmin_Co
push ebp
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4c14f8
mov edi, 0x52a2bc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push str.Eset
push ebp
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4c152c
mov edi, str.NOD32
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, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push str.Symantec_Corporation
push ebp
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4c1560
mov edi, 0x52a29c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push str.Kingsoft_Corporation
push ebp
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4c1594
mov edi, 0x52a28c
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, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push str.Network_Associates
push ebp
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4c15c8
mov edi, str.McAfee
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push str.McAfee_Inc
push ebp
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4c15fc
mov edi, str.McAfee
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, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push str.F_Secure_Corporation
push ebp
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4c1630
mov edi, str.F_Secure
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push str.Kaspersky_Lab
push ebp
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4c1664
mov edi, 0x52a254
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, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x5156bc
push ebp
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4c1698
mov edi, 0x52a244
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0xc
mov dword [esp + 0x10], ecx
jl 0x4c186d
lea ecx, [esp + 0x14]
mov ebx, 1
call fcn.00402d00
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0xb
jle 0x4c16d5
mov ebx, 2
lea ecx, [esp + 0x14]
call fcn.00402cd0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
mov ebp, ecx
call fcn.004fa6c0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x7d4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp ebp, 0xb
rep movsb byte es:[edi], byte [esi]
jle 0x4c1721
inc ebx
lea ecx, [esp + 0x14]
call fcn.00402ca0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0xb
jle 0x4c173c
inc ebx
lea ecx, [esp + 0x14]
call fcn.00402c70
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0xb
jle 0x4c1757
inc ebx
lea ecx, [esp + 0x14]
call fcn.00402c40
cmp dword [esp + 0x10], 0xb
jl 0x4c186d
lea ecx, [esp + 0x14]
inc ebx
call fcn.00402be0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
mov ebp, ecx
call fcn.004fa6c0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x7d0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
cmp ebp, 0xb
rep movsb byte es:[edi], byte [esi]
jle 0x4c17b8
inc ebx
lea ecx, [esp + 0x14]
call fcn.00402bb0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.00402bb0
cmp esi, 0xb
jle 0x4c17de
inc ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x7c0], 0xffffffff
call fcn.00402ba0
mov ax, bx
jmp 0x4c1884
mov edi, 0x514ba8
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, dword [esp + 0x7cc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x514ba8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x7d4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x514ba8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x7d0]
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 + 0x14]
mov dword [esp + 0x7c0], 0xffffffff
call fcn.00402ba0
xor ax, ax
mov ecx, dword [esp + 0x7b8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x7b4
ret