Function at 0x4874c0
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x2068
call fcn.004e6a80
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x2064], eax
cmp dword [esp + 0x2070], 0x4e
push ebp
mov ebp, dword [esp + 0x2070]
push esi
mov esi, dword [esp + 0x2080]
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
je 0x487500
xor eax, eax
jmp 0x487c12
mov ecx, dword [edi]
cmp dword [esi], ecx
jne 0x4874f9
mov eax, dword [esi + 8]
push ebx
mov dword [esp + 0x18], 0
cmp eax, 0xfffffe64
ja 0x487b5f
je 0x487b1f
add eax, 0x1cc
cmp eax, 9
ja case.0x487531.457
jmp dword [eax*4 + 0x487c2c]
mov esi, dword [esi + 0x30]
test esi, esi
je 0x487579
mov ecx, dword [esi + 8]
lea eax, [esp + 0x1074]
push eax
push ecx
call dword [0x50140c]
test eax, eax
je 0x487579
lea edx, [esp + 0x1074]
push edx
call fcn.00445500
test al, al
je 0x487579
lea eax, [esp + 0x1074]
push eax
call fcn.00453550
cmp word [eax], 0
jne 0x487583
mov eax, 1
jmp 0x487c11
mov byte [edi + 9], 1
jmp case.0x487531.457
mov byte [edi + 9], 0
cmp dword [esi + 0x1c], 0
je case.0x487531.457
mov eax, dword [esi + 0x30]
test eax, eax
je case.0x487531.457
mov edx, dword [eax + 8]
lea ecx, [esp + 0x1074]
push ecx
push edx
call dword [0x50140c]
test eax, eax
je case.0x487531.457
xor eax, eax
jmp 0x4875d0
movzx ecx, word [esp + eax + 0x1074]
mov word [esp + eax + 0x74], cx
add eax, 2
test cx, cx
jne 0x4875d0
lea eax, [esp + 0x74]
push eax
call fcn.00453550
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x74]
lea edx, [eax + 2]
jmp 0x487600
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x487600
mov esi, dword [esi + 0x1c]
sub eax, edx
mov ecx, esi
sar eax, 1
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x487617
sub ecx, edi
sar ecx, 1
add ecx, eax
cmp ecx, 0x800
jae case.0x487531.457
mov eax, esi
mov edx, esi
jmp 0x487640
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x487640
lea edi, [esp + 0x74]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x487654
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x74]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.00445500
test al, al
je 0x487694
push 0x50d
call fcn.00463430
push eax
call fcn.004c2a40
add esp, 4
jmp case.0x487531.457
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x1078]
push ecx
call dword [0x50134c]
test eax, eax
je case.0x487531.457
mov esi, dword [esp + 0x10]
movzx edx, byte [esi + 8]
push edx
mov ecx, esi
call fcn.00487280
push 1
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call fcn.00486c40
jmp case.0x487531.457
mov esi, dword [esi + 0x34]
test esi, esi
je case.0x487531.457
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x572b44]
mov edx, dword [esi + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [0x572b44]
mov edx, dword [esi + 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [0x572b44]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push esi
push eax
call edx
jmp case.0x487531.457
mov edi, dword [esi + 0x5c]
test edi, edi
jne 0x48788c
mov esi, dword [esi + 0x3c]
mov ebp, dword [0x5016a4]
xor eax, eax
mov word [esp + 0x1074], ax
lea eax, [esp + 0x40]
push eax
push edi
push 0x113e
lea edx, [esp + 0x80]
push ecx
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], esi
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 0x800
call ebp
test eax, eax
je case.0x487531.457
nop
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx]
push esi
push 3
push 0x110a
push ecx
call ebp
mov esi, eax
test esi, esi
je 0x48786c
mov eax, dword [ebx]
lea edx, [esp + 0x40]
push edx
push 0
push 0x113e
push eax
call ebp
test eax, eax
je 0x48782f
lea eax, [esp + 0x1074]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4877b0
sub eax, edx
sar eax, 1
mov edx, eax
lea eax, [esp + 0x74]
lea edi, [eax + 2]
jmp 0x4877d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4877d0
sub eax, edi
sar eax, 1
add eax, edx
cmp eax, 0x7ff
jae 0x48782f
cmp word [esp + 0x1074], cx
je 0x487818
push 0x800
lea ecx, [esp + 0x78]
push ecx
call fcn.00452cf0
push 0x800
lea edx, [esp + 0x1078]
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.00469570
push 0x800
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x107c]
push edx
call fcn.004694f0
mov edx, dword [ebx]
lea ecx, [esp + 0x40]
push ecx
push 0
push 0x113e
lea eax, [esp + 0x80]
push edx
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0x800
call ebp
test eax, eax
jne 0x487770
jmp case.0x487531.457
mov ecx, dword [ebx]
lea eax, [esp + 0x1074]
push eax
push 0
push 0x800b
push ecx
call dword [0x501644]
push eax
call ebp
jmp case.0x487531.457
mov ecx, dword [edi + 8]
mov esi, dword [0x50140c]
lea eax, [esp + 0x1074]
push eax
xor edx, edx
push ecx
mov word [esp + 0x107c], dx
call esi
test eax, eax
je 0x48798d
cmp word [0x53c320], 0
jne 0x4878ed
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0x13
push 0
call dword [0x501444]
mov eax, dword [esp + 0x14]
push 0x53c320
push eax
call esi
mov eax, dword [0x572b44]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, 0x53c320
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4878f5
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x1078]
push ecx
push 0x53c320
call fcn.004ea5a5
add esp, 0xc
test eax, eax
jne 0x487957
lea edx, [esp + 0x74]
push edx
lea eax, [edi + 4]
push eax
push edi
push ebp
call fcn.00486760
test al, al
je 0x487965
xor eax, eax
jmp 0x487940
movzx ecx, word [esp + eax + 0x74]
mov word [esp + eax + 0x1074], cx
add eax, 2
test cx, cx
jne 0x487940
jmp 0x487965
mov edx, dword [edi + 8]
lea ecx, [esp + 0x1074]
push ecx
push edx
call esi
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
lea eax, [esp + 0x1074]
push eax
push 0
push 0x800b
push edx
call dword [0x501644]
push eax
call dword [0x5016a4]
jmp case.0x487531.457
call fcn.00447f80
cmp eax, 0x601
jb case.0x487531.457
push str.shell32.dll
call dword [0x501378]
test eax, eax
je case.0x487531.457
push str.SHCreateItemFromIDList
push eax
call dword [0x5013c4]
test eax, eax
je case.0x487531.457
mov edx, dword [edi + 8]
lea ecx, [esp + 0x28]
push ecx
push 0x504754
push edx
call eax
test eax, eax
jne case.0x487531.457
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
push 0x504728
push 0
push ecx
call fcn.004866f0
test eax, eax
jne case.0x487531.457
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
lea ecx, [esp + 0x24]
push ecx
push 0x504754
push 1
push eax
call edx
test eax, eax
jne case.0x487531.457
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x80058000
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jne case.0x487531.457
mov ecx, dword [esp + 0x14]
push 0x800
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.004694f0
mov eax, dword [esp + 0x14]
push eax
call dword [0x5016d4]
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
lea ecx, [esp + 0x74]
push ecx
push 0
push 0x800b
push eax
call dword [0x501644]
push eax
call dword [0x5016a4]
jmp case.0x487531.457
test byte [esi + 0x40], 0x40
jne case.0x487531.457
mov edi, dword [esi + 0x5c]
test edi, edi
je case.0x487531.457
mov eax, dword [0x53c31c]
mov ecx, eax
inc eax
mov dword [0x53c31c], eax
test ecx, ecx
ja case.0x487531.457
mov eax, dword [edi]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [edi + 4]
push 0x50af28
push 0
push ecx
push eax
call edx
test eax, eax
jl 0x487ae1
mov eax, dword [esi + 0x3c]
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
push eax
mov eax, dword [edi]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00486090
jmp 0x487ae5
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
mov ecx, dword [esi + 0x3c]
lea edx, [esp + 0x68]
push edx
push 0
push 0x1115
push eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], 0x486400
mov dword [esp + 0x80], 0
call dword [0x5016a4]
dec dword [0x53c31c]
jmp case.0x487531.457
movzx eax, word [esi + 0xc]
cmp eax, 0x2e
je 0x487b53
cmp eax, 0x71
je 0x487b47
cmp eax, 0x74
jne case.0x487531.457
movzx ecx, byte [edi + 8]
push ecx
mov ecx, edi
call fcn.00487280
jmp case.0x487531.457
mov ecx, edi
call fcn.004866b0
jmp case.0x487531.457
mov ecx, edi
call fcn.00487370
jmp case.0x487531.457
cmp eax, 0xfffffffb
jne case.0x487531.457
lea edx, [esp + 0x1c]
push edx
call dword [0x501568]
lea eax, [esp + 0x1c]
push eax
push ebp
call dword [0x501524]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov esi, dword [0x5016a4]
lea eax, [esp + 0x30]
push eax
push 0
mov dword [esp + 0x38], ecx
mov ecx, dword [edi]
push 0x1111
push ecx
mov dword [esp + 0x44], edx
call esi
mov eax, dword [esp + 0x3c]
test eax, eax
je case.0x487531.457
mov edx, dword [edi]
push eax
push 9
push 0x110b
push edx
call esi
mov ebx, 4
test byte [esp + 0x38], bl
je case.0x487531.457
lea eax, [esp + 0x1c]
push eax
push ebp
call dword [0x501528]
mov eax, dword [edi]
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x40]
push edx
push 0
push 0x113e
push eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ecx
call esi
test eax, eax
je case.0x487531.457
mov eax, dword [esp + 0x64]
test eax, eax
je case.0x487531.457
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
push ebp
mov ecx, edi
call fcn.00485c50
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2070]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004e6a64
add esp, 0x2068
ret 0x10