Function at 0x402b60
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x486b37
push eax
mov dword fs:[0], esp
sub esp, 0x768
push ebx
push ebp
push esi
mov esi, dword [esp + 0x788]
mov ebp, ecx
push edi
push esi
push 4
mov eax, dword [ebp + 0x1c]
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
je 0x402c3f
lea ecx, [esp + 0x18]
push edi
push ecx
mov ecx, ebp
call fcn.00476dce
push 0x64
mov ecx, eax
mov dword [esp + 0x784], 0
call fcn.0047c523
mov ecx, dword [esp + 0x788]
mov esi, eax
mov dl, byte [ecx]
mov bl, byte [esi]
mov al, dl
cmp dl, bl
jne 0x402bf6
test al, al
je 0x402bf2
mov dl, byte [ecx + 1]
mov bl, byte [esi + 1]
mov al, dl
cmp dl, bl
jne 0x402bf6
add ecx, 2
add esi, 2
test al, al
jne 0x402bce
xor eax, eax
jmp 0x402bfb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x780], 0xffffffff
sete bl
call fcn.0047c0f3
test bl, bl
jne 0x402da5
mov eax, dword [ebp + 0x1c]
push edi
push 1
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
jne 0x402ba4
mov esi, dword [esp + 0x78c]
lea ecx, [esp + 0x28c]
push ecx
push esi
mov ecx, ebp
call fcn.004024a0
mov edx, dword [esp + 0x788]
lea ecx, [esp + 0x10]
push edx
call fcn.0047c161
mov ebx, 1
cmp esi, 0xffff0000
mov dword [esp + 0x780], ebx
mov dword [esp + 0x18], 0
jne 0x402dac
push 0x28
lea ecx, [esp + 0x14]
call fcn.00475dd3
inc eax
lea ecx, [esp + 0x10]
push eax
push 0
call fcn.00475a8e
mov eax, dword [esp + 0x10]
push 0x29
push 0
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0047c72f
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
push eax
call fcn.0047c523
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x3c]
mov ecx, edx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x402dfc
mov eax, dword [0x4b20c8]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x188]
push 0x104
push ecx
mov byte [esp + 0x788], 2
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
lea edx, [esp + 0x678]
push 0
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x194]
push eax
push ecx
call fcn.004640ad
add esp, 0x14
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.0047be68
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x784], 3
call fcn.0047c161
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00463ffe
add esp, 8
test eax, eax
jne 0x402d78
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x1c]
call fcn.0047c0f3
lea ecx, [esp + 0x14]
mov byte [esp + 0x780], 2
call fcn.0047c0f3
lea ecx, [esp + 0x20]
mov byte [esp + 0x780], 1
call fcn.0047c0f3
jmp 0x402dfc
mov eax, edi
jmp 0x402f32
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [eax - 8]
push eax
call fcn.0047c523
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x28c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.0047c27c
lea ecx, [esp + 0x28c]
push ecx
mov ecx, ebp
call fcn.00402850
mov esi, eax
push ebx
push 0x5c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], esi
call fcn.00475a5a
lea edx, [esp + 0x20]
push ebx
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x788], 4
call fcn.00475cdf
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push ecx
push eax
call fcn.00463ffe
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
setne bl
call fcn.0047c0f3
lea ecx, [esp + 0x14]
mov byte [esp + 0x780], 1
call fcn.0047c0f3
test bl, bl
je 0x402e75
push 0x4ad124
lea ecx, [esp + 0x14]
call fcn.0047c4cf
mov eax, dword [esp + 0x10]
push 0x101
lea edx, [esp + 0x2c]
push 0x160
push edx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
push ecx
mov ebx, edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [esp + 0x78c]
push esi
cmp eax, 0xffff0000
push 0xffff0002
jne 0x402f08
mov edx, dword [esp + 0x790]
push 0xffff0000
push edi
push ebx
push edx
mov ecx, ebp
call fcn.00402f50
mov esi, eax
test esi, esi
jne 0x402ef4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x788]
push eax
push 0xffff0002
push 0xffff0000
push edi
push ebx
push ecx
mov ecx, ebp
call fcn.00402f50
mov esi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x402f1c
push 1
push esi
mov ecx, ebp
call fcn.0047700c
jmp 0x402f1c
mov edx, dword [esp + 0x790]
push eax
push edi
push ebx
push edx
mov ecx, ebp
call fcn.00402f50
mov esi, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x780], 0xffffffff
call fcn.0047c0f3
mov eax, esi
mov ecx, dword [esp + 0x778]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x774
ret 8