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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe6c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x190], edx
mov dword [ebp - 0x194], edx
mov dword [ebp - 0x188], edx
mov dword [ebp - 0x18c], edx
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x184], edx
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x178], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x567725
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x10
mov ecx, 0x10
mov dl, 1
mov eax, dword [0x47123c]
call fcn.00481c44
mov edx, dword [0x5925c0]
mov dword [edx], eax
push 0x4101
push 0x160
lea eax, [ebp - 0x174]
push eax
push 0
push 0x567734
call sub.shell32.dll_SHGetFileInfo
mov edx, eax
mov eax, dword [0x5925c0]
mov eax, dword [eax]
call fcn.00481f54
mov eax, dword [0x5925c0]
mov eax, dword [eax]
mov byte [eax + 0x42], 1
push 0x20
mov ecx, 0x20
mov dl, 1
mov eax, dword [0x47123c]
call fcn.00481c44
mov edx, dword [0x59202c]
mov dword [edx], eax
push 0x4100
push 0x160
lea eax, [ebp - 0x174]
push eax
push 0
push 0x567734
call sub.shell32.dll_SHGetFileInfo
mov edx, eax
mov eax, dword [0x59202c]
mov eax, dword [eax]
call fcn.00481f54
mov eax, dword [0x59202c]
mov eax, dword [eax]
mov byte [eax + 0x42], 1
push pe_nt_image_headers32
push 0x160
lea eax, [ebp - 0x174]
push eax
push 0
mov eax, dword [0x592318]
mov eax, dword [eax]
call fcn.004051e0
push eax
call sub.shell32.dll_SHGetFileInfo
mov eax, dword [0x592410]
mov edx, dword [ebp - 0x174]
mov dword [eax], edx
mov eax, dword [0x592858]
mov edx, dword [ebp - 0x170]
mov dword [eax], edx
push 0x102
push 0x160
lea eax, [ebp - 0x174]
push eax
push 0
mov eax, dword [0x592318]
mov eax, dword [eax]
call fcn.004051e0
push eax
call sub.shell32.dll_SHGetFileInfo
mov eax, dword [0x592398]
mov edx, dword [ebp - 0x170]
mov dword [eax], edx
lea eax, [ebp - 8]
push eax
push 0x11
mov eax, dword [0x5924f8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
push 0x4008
push 0x160
lea eax, [ebp - 0x174]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetFileInfo
mov eax, dword [0x5920fc]
mov edx, dword [ebp - 0x170]
mov dword [eax], edx
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x5927a0]
mov eax, dword [eax]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
mov edx, dword [0x5925c0]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9d0]
call fcn.00454190
mov dl, 1
mov eax, dword [0x426150]
call fcn.0042c18c
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x47123c]
call fcn.00481bf8
mov edx, dword [0x592330]
mov dword [edx], eax
mov edx, dword [0x592858]
mov edx, dword [edx]
mov eax, dword [0x5925c0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.004822b4
mov eax, dword [0x592330]
mov eax, dword [eax]
mov ecx, 0xff000005
mov edx, dword [ebp - 0xc]
call fcn.00482198
mov edx, dword [0x592398]
mov edx, dword [edx]
mov eax, dword [0x5925c0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.004822b4
mov eax, dword [0x592330]
mov eax, dword [eax]
mov ecx, 0xff000005
mov edx, dword [ebp - 0xc]
call fcn.00482198
mov edx, dword [0x5920fc]
mov edx, dword [edx]
mov eax, dword [0x5925c0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.004822b4
mov eax, dword [0x592330]
mov eax, dword [eax]
mov ecx, 0xff000005
mov edx, dword [ebp - 0xc]
call fcn.00482198
mov eax, dword [0x5920e0]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x59256c]
mov dword [eax], 1
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [0x59243c]
mov edx, dword [edx]
lea eax, [ebp - 0x178]
mov ecx, 0x567740
call fcn.0040502c
mov eax, dword [ebp - 0x178]
call fcn.00409f80
test al, al
je 0x566da3
mov edx, dword [0x59243c]
mov edx, dword [edx]
lea eax, [ebp - 0x17c]
mov ecx, 0x567740
call fcn.0040502c
mov eax, dword [ebp - 0x17c]
call fcn.004051e0
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x566db1
mov eax, dword [0x593668]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x184]
mov eax, dword [ebp - 0x14]
call fcn.00409a00
mov ecx, dword [ebp - 0x184]
lea eax, [ebp - 0x180]
mov edx, 0x567754
call fcn.0040502c
mov ecx, dword [ebp - 0x180]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0042cc68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9e8]
mov eax, dword [eax + 0x3b4]
mov ecx, 0xff00ff
mov edx, dword [ebp - 0xc]
call fcn.00482198
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 7
jne 0x566db6
mov dword [ebp - 0x14], 2
xor eax, eax
push ebp
push 0x566e9f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18c]
mov eax, dword [ebp - 0x14]
call fcn.00409a00
mov ecx, dword [ebp - 0x18c]
lea eax, [ebp - 0x188]
mov edx, 0x567760
call fcn.0040502c
mov ecx, dword [ebp - 0x188]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0042cc68
mov eax, dword [0x592330]
mov eax, dword [eax]
mov ecx, 0xff00ff
mov edx, dword [ebp - 0xc]
call fcn.00482198
mov eax, dword [ebp - 0x14]
add eax, 0xffffffef
sub eax, 4
jae 0x566e95
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9e8]
mov eax, dword [eax + 0x3b4]
mov ecx, 0xff00ff
mov edx, dword [ebp - 0xc]
call fcn.00482198
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x566eb0
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x17
jne 0x566e17
mov dword [ebp - 0x14], 1
lea edx, [ebp - 0x194]
mov eax, dword [ebp - 0x14]
call fcn.00409a00
mov ecx, dword [ebp - 0x194]
lea eax, [ebp - 0x190]
mov edx, 0x56776c
call fcn.0040502c
mov ecx, dword [ebp - 0x190]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0042cc68
mov eax, dword [0x592330]
mov eax, dword [eax]
mov ecx, 0xff00ff
mov edx, dword [ebp - 0xc]
call fcn.00482198
cmp dword [ebp - 0x14], 0x19
jne 0x566f2a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x89c]
mov eax, dword [eax + 0x168]
mov edx, dword [ebp - 0xc]
call fcn.0042a184
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x1f
jne 0x566ec4
mov ecx, 0x567778
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0042cc68
mov eax, dword [0x592330]
mov eax, dword [eax]
mov ecx, 0xff00ff
mov edx, dword [ebp - 0xc]
call fcn.00482198
mov eax, dword [0x59232c]
mov dword [eax], 0xfffffffe
mov edx, dword [0x592330]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x844]
call fcn.004b6934
mov edx, dword [0x592330]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
call fcn.004b6934
mov edx, dword [0x592330]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.004b6934
mov edx, dword [0x592330]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x668]
call fcn.004b6934
mov edx, dword [0x592330]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7b8]
call fcn.004b6934
mov edx, dword [0x592330]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x860]
call fcn.004b6934
mov edx, dword [0x592330]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x448]
call fcn.004abe90
mov edx, dword [0x592330]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x418]
call fcn.004abe90
mov edx, dword [0x592330]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e4]
call fcn.004abe90
mov edx, dword [0x5925c0]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9e4]
call fcn.0045ce98
mov ecx, 0x10
xor edx, edx
mov eax, 0x567784
call fcn.00498b60
mov edx, dword [0x59207c]
mov dword [edx], eax
mov edx, dword [0x59207c]
mov edx, dword [edx]
mov eax, dword [0x5925c0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.004822b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9e8]
mov eax, dword [eax + 0x3b4]
mov ecx, 0xff000005
mov edx, dword [ebp - 0xc]
call fcn.00482198
mov edx, dword [0x592330]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x66c]
call fcn.004a4f6c
mov edx, dword [0x592330]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4d0]
call fcn.004a4f6c
mov edx, dword [0x592330]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x638]
call fcn.004d7670
mov edx, dword [0x592330]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x62c]
call fcn.004a4f44
mov edx, dword [0x592330]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa30]
call fcn.0045ce98
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x848]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00570218
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x63c]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00570218
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84c]
add eax, 0x4c
mov edx, 0x567794
call fcn.00404d58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x850]
add eax, 0x4c
mov edx, 0x5677b0
call fcn.00404d58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x854]
add eax, 0x4c
mov edx, 0x5677c0
call fcn.00404d58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x62c]
add eax, 0x4c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x854]
mov edx, dword [edx + 0x4c]
call fcn.00404d58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x624]
add eax, 0x4c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x84c]
mov edx, dword [edx + 0x4c]
call fcn.00404d58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x628]
add eax, 0x4c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x850]
mov edx, dword [edx + 0x4c]
call fcn.00404d58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84c]
mov edx, 5
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x850]
mov edx, 6
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x624]
mov edx, 5
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x628]
mov edx, 6
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x858]
mov edx, 8
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x630]
mov edx, 8
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
mov edx, 3
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov edx, 4
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
mov edx, 6
call fcn.004a4e5c
mov edx, dword [0x592330]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x668]
call fcn.004b6934
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6ac]
mov edx, 0xa
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x71c]
mov edx, 9
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x538]
mov edx, 0xe
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x388]
mov edx, 0xf
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x394]
mov edx, 0x10
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x398]
mov edx, 0x11
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7d4]
mov edx, 0x12
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7e0]
mov edx, 0x12
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7dc]
mov edx, 0x13
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7e4]
mov edx, 0x14
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7d8]
mov edx, 0x15
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4d4]
mov edx, 0x18
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x828]
mov edx, 0x1a
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ac]
mov edx, 0x19
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x39c]
mov edx, 0x28
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a0]
mov edx, 0x29
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x754]
mov edx, 0x2a
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a0]
mov edx, dword [eax + 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x86c]
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x754]
mov edx, dword [eax + 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x868]
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x370]
mov edx, 0x1b
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
mov edx, 0x1c
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32c]
mov edx, 0x20
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
mov edx, 0x21
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
mov edx, 0x22
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x340]
mov edx, 0x23
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4cc]
mov edx, 0x26
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov edx, 0x25
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x27
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6d4]
mov edx, 0x2b
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x53c]
mov edx, 0x2c
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x710]
mov edx, 0x1f
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6cc]
mov edx, 0x2d
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
mov edx, 0x2e
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x378]
mov edx, 0x32
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6b4]
mov edx, 0x33
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e8]
mov edx, 0x1f
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ec]
mov edx, 0x1e
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
mov edx, dword [eax + 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x420]
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32c]
mov edx, dword [eax + 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x424]
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
mov edx, dword [eax + 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x434]
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x340]
mov edx, dword [eax + 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x43c]
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5a8]
mov edx, 0x1c
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x41c]
mov edx, 0x27
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
mov edx, dword [eax + 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6bc]
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60c]
mov edx, 0x30
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3fc]
mov edx, 0x31
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
mov edx, dword [eax + 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a4]
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84c]
mov edx, dword [eax + 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44c]
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x718]
mov edx, 0x31
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x864]
mov edx, 0x34
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x854]
mov edx, 7
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x62c]
mov edx, 7
call fcn.004a4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x888]
mov edx, 0xb
call fcn.004a4e5c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.00582fa8
mov eax, dword [ebp - 4]
mov byte [eax + 0x945], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x85c]
xor edx, edx
call fcn.00474b4c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x89c]
mov dl, 1
call fcn.0043a238
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x894]
xor edx, edx
call fcn.00474b4c
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x593668]
je 0x5676ff
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FreeLibrary
lea eax, [ebp - 0xc]
call fcn.0040f728
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56772c
lea eax, [ebp - 0x194]
mov edx, 8
call fcn.00404d28
ret