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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x738
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x4001
push 0x2b4
lea eax, [ebp - 0x6c8]
push eax
xor edi, edi
push edi
push 0x4c8a2c
mov ebx, ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x30
mov esi, eax
xor eax, eax
lea ecx, [ebp - 0x734]
push edi
push ecx
mov dword [ebp - 0x6f8], edi
mov dword [ebp - 0x6f4], eax
mov dword [ebp - 0x6f0], eax
mov dword [ebp - 0x6ec], eax
mov dword [ebp - 0x6e8], eax
mov dword [ebp - 0x6e4], eax
mov dword [ebp - 0x6e0], eax
mov dword [ebp - 0x6dc], eax
mov dword [ebp - 0x6d8], eax
mov dword [ebp - 0x6d4], eax
mov dword [ebp - 0x738], edi
call fcn.00499330
mov edx, dword [ebx + 0x788]
add esp, 0xc
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0x1109
push edx
call esi
mov eax, dword [ebx + 0x788]
push edi
push 0x64
push 0x1121
push eax
call esi
lea ecx, [ebp - 0x6d0]
push ecx
push edi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x47c2f0
lea edx, [ebp - 0x6fc]
push edx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jns 0x47bf47
lea eax, [ebp - 0x6cc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x47bf34
mov eax, dword [ebp - 0x6cc]
mov edx, dword [ebp - 0x6d0]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret
push 0x10
call fcn.0049964e
add esp, 4
cmp eax, edi
je 0x47c03a
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x6d0]
mov dword [eax], ecx
mov edx, dword [ebp - 0x6d0]
mov dword [eax + 4], edx
mov dword [ebp - 0x6d4], eax
or eax, 0xffffffff
mov dword [ebp - 0x6e8], eax
mov dword [ebp - 0x6dc], eax
mov dword [ebp - 0x6e0], eax
lea eax, [ebp - 0x738]
push eax
push 0
mov ecx, 0xa
lea esi, [ebp - 0x6f8]
lea edi, [ebp - 0x730]
mov dword [ebp - 0x6f8], 0x67
mov dword [ebp - 0x6d8], 1
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x788]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x1132
push ecx
mov dword [ebp - 0x734], 0xffff0002
call edi
mov edx, dword [ebx + 0x788]
mov esi, eax
push esi
push 2
push 0x1102
push edx
call edi
mov edx, dword [ebp - 0x6d0]
lea eax, [ebp - 0x414]
push eax
mov ecx, ebx
add ecx, 0xbe0
push edx
call fcn.00441930
push 0x4e87dc
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x47c081
mov ecx, dword [ebx + 0x788]
push esi
push 9
push 0x110b
push ecx
call edi
jmp 0x47c2a4
lea ecx, [ebp - 0x6cc]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x47c060
mov eax, dword [ebp - 0x6cc]
mov ecx, dword [ebp - 0x6d0]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [ebp - 0x6fc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret
push 0x11
mov ecx, ebx
call fcn.0047a6b0
test al, al
je 0x47c258
mov edx, dword [ebx + 0x788]
push esi
push 4
push 0x110a
push edx
call edi
mov ecx, dword [ebx + 0x788]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x6f4], eax
mov dword [ebp - 0x6f0], eax
mov dword [ebp - 0x6ec], eax
mov dword [ebp - 0x6e8], eax
mov dword [ebp - 0x6e4], eax
mov dword [ebp - 0x6e0], eax
mov dword [ebp - 0x6dc], eax
mov dword [ebp - 0x6d8], eax
mov dword [ebp - 0x6d4], eax
lea eax, [ebp - 0x6f8]
push eax
push 0
push 0x113e
push ecx
mov dword [ebp - 0x6f4], esi
mov dword [ebp - 0x6f8], 4
call edi
push 0x4e87dc
call fcn.00433850
add esp, 4
push 0x4e87dc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, ebx
mov dword [ebp - 0x704], eax
mov byte [edx + 0x990], 0
test esi, esi
je 0x47c24f
jmp 0x47c140
mov ecx, dword [ebx + 0x788]
xor eax, eax
mov dword [ebp - 0x6f4], eax
mov dword [ebp - 0x6f0], eax
mov dword [ebp - 0x6ec], eax
mov dword [ebp - 0x6e8], eax
mov dword [ebp - 0x6e4], eax
mov dword [ebp - 0x6e0], eax
mov dword [ebp - 0x6dc], eax
mov dword [ebp - 0x6d8], eax
mov dword [ebp - 0x6d4], eax
lea eax, [ebp - 0x6f8]
push eax
push 0
push 0x113e
push ecx
mov dword [ebp - 0x6f4], esi
mov dword [ebp - 0x6f8], 4
call edi
neg eax
sbb eax, eax
and eax, dword [ebp - 0x6d4]
push 0x103
mov ecx, dword [eax]
lea edx, [ebp - 0x20c]
push edx
mov edx, dword [eax + 8]
push ecx
mov ecx, ebx
push edx
add ecx, 0xbe0
call fcn.00441bc0
lea eax, [ebp - 0x20c]
push eax
call fcn.00433850
add esp, 4
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea edx, [ebp - 0x20c]
push 0x4e87dc
push edx
mov dword [ebp - 0x700], eax
call fcn.0049ab7a
add esp, 0xc
test eax, eax
jne 0x47c234
mov eax, dword [ebx + 0x788]
push esi
push 9
push 0x110b
push eax
call edi
mov ecx, dword [ebx + 0x788]
push esi
push 2
push 0x1102
push ecx
call edi
mov edx, dword [ebp - 0x704]
cmp dword [ebp - 0x700], edx
je 0x47c24f
mov eax, dword [ebx + 0x788]
push esi
push 6
push 0x110a
push eax
call edi
mov esi, eax
test esi, esi
jne 0x47c140
mov ecx, ebx
mov byte [ecx + 0x990], 1
mov edx, dword [ebx + 0x788]
push 0
push 9
push 0x110a
push edx
call edi
push eax
lea ecx, [ebx + 0x788]
call fcn.00443420
cmp dword [eax + 0xc], 0
jne 0x47c2a4
cmp dword [eax + 8], 0
push 1
jne 0x47c290
mov eax, dword [eax]
mov ecx, ebx
mov ecx, dword [ecx + 0x784]
jmp 0x47c29b
mov eax, dword [eax + 4]
mov edx, ebx
mov ecx, dword [edx + 0x784]
mov edx, dword [ecx]
push eax
push ecx
mov ecx, dword [edx + 0x2c]
call ecx
mov eax, dword [ebp - 0x6fc]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x6d0]
push 1
push ecx
push 0x20018
mov esi, ebx
mov edx, dword [esi + 4]
push 0x800f
push edx
lea ecx, [esi + 0x780]
call fcn.0043cd80
test al, al
jne 0x47c2f0
mov eax, dword [esi + 4]
push 0x10
push str.Error
push str.An_error_occured_when_trying_to_register_the_directory_monitor._As_a_result_the_InfraRecorder_explorer_tree_will_not_automatically_synchronize_with_Windows_Explorer.
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00499155
mov esp, ebp
pop ebp