Function at 0x476120
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638862
mov eax, dword fs:[0]
push eax
sub esp, 0x7cc
mov eax, dword [0x6cf06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78c], ecx
lea ecx, [ebp - 0x94]
call fcn.0041d650
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.0041d650
mov byte [ebp - 4], 1
mov dword [ebp - 0x790], 0
mov ecx, dword [ebp - 0x78c]
call fcn.00475fe0
mov dword [ebp - 0x794], eax
mov eax, dword [ebp - 0x78c]
mov ecx, dword [ebp - 0x794]
mov dword [eax + 0x568], ecx
mov edx, dword [ebp - 0x78c]
mov eax, dword [ebp - 0x794]
mov dword [edx + 0x56c], eax
mov ecx, dword [ebp - 0x78c]
add ecx, 0x574
call fcn.0041e660
movzx ecx, al
test ecx, ecx
je 0x4762aa
mov ecx, dword [ebp - 0x78c]
add ecx, 0x5f8
call fcn.0041e660
movzx edx, al
test edx, edx
jne 0x476272
push 0x2b4
push 0
lea eax, [ebp - 0x4d4]
push eax
call fcn.004f2410
add esp, 0xc
mov dword [ebp - 0x798], 0x110
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [ebp - 0x794], eax
jle 0x476227
mov ecx, dword [ebp - 0x798]
mov dword [ebp - 0x798], ecx
jmp 0x476236
mov edx, dword [ebp - 0x798]
or edx, 1
mov dword [ebp - 0x798], edx
mov eax, dword [ebp - 0x798]
push eax
push 0x2b4
lea ecx, [ebp - 0x4d4]
push ecx
push 0x80
mov ecx, dword [ebp - 0x78c]
add ecx, 0x5f8
call fcn.0041d9e0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [ebp - 0x4d4]
mov dword [ebp - 0x790], edx
mov eax, dword [ebp - 0x790]
mov dword [ebp - 0x7b0], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.0041d7b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0041d7b0
mov eax, dword [ebp - 0x7b0]
jmp 0x4765b7
push 0x2c
mov ecx, dword [ebp - 0x78c]
add ecx, 0x574
call fcn.0041ee30
mov dword [ebp - 0x7a0], eax
cmp dword [ebp - 0x7a0], 0
jle 0x476394
mov ecx, dword [ebp - 0x7a0]
push ecx
lea edx, [ebp - 0x19c]
push edx
mov ecx, dword [ebp - 0x78c]
add ecx, 0x574
call fcn.0041e760
mov dword [ebp - 0x7b4], eax
mov eax, dword [ebp - 0x7b4]
mov dword [ebp - 0x7b8], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x7b8]
push ecx
lea ecx, [ebp - 0x94]
call fcn.0041d8c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x19c]
call fcn.0041d7b0
mov ecx, dword [ebp - 0x78c]
add ecx, 0x574
call fcn.0041e280
mov edx, dword [ebp - 0x7a0]
add edx, 1
sub eax, edx
push eax
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x78c]
add ecx, 0x574
call fcn.0041ee70
mov dword [ebp - 0x7bc], eax
mov ecx, dword [ebp - 0x7bc]
mov dword [ebp - 0x7c0], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x7c0]
push edx
lea ecx, [ebp - 0x118]
call fcn.0041d8c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.0041d7b0
jmp 0x4763ab
mov eax, dword [ebp - 0x78c]
add eax, 0x574
push eax
lea ecx, [ebp - 0x94]
call fcn.0041d8c0
mov dword [ebp - 0x7a8], 0
lea ecx, [ebp - 0x118]
call fcn.0041e660
movzx ecx, al
test ecx, ecx
jne 0x4763e3
lea ecx, [ebp - 0x118]
call fcn.0041d9e0
push eax
call fcn.0050453e
add esp, 4
mov dword [ebp - 0x7a8], eax
jmp 0x47642d
lea ecx, [ebp - 0x7d0]
call fcn.00475d90
mov byte [ebp - 4], 4
push 0x10
mov edx, dword [ebp - 0x794]
push edx
mov eax, dword [ebp - 0x794]
push eax
push 1
lea ecx, [ebp - 0x94]
call fcn.0041d9e0
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x790], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7d0]
call fcn.00475ea0
cmp dword [ebp - 0x790], 0
jne 0x4764c6
lea ecx, [ebp - 0x7d8]
call fcn.00475d90
mov byte [ebp - 4], 5
mov dword [ebp - 0x7a4], 0xffffffff
push 0x10
push 1
lea ecx, [ebp - 0x7a4]
push ecx
lea edx, [ebp - 0x790]
push edx
mov eax, dword [ebp - 0x794]
push eax
mov ecx, dword [ebp - 0x794]
push ecx
mov edx, dword [ebp - 0x7a8]
push edx
lea ecx, [ebp - 0x94]
call fcn.0041d9e0
push eax
call dword [sym.imp.USER32.dll_PrivateExtractIconsW]
mov dword [ebp - 0x7c4], eax
cmp dword [ebp - 0x7c4], 0xffffffff
je 0x4764ad
cmp dword [ebp - 0x7a4], 0xffffffff
je 0x4764ad
cmp dword [ebp - 0x7a4], 0
jne 0x4764b7
mov dword [ebp - 0x790], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7d8]
call fcn.00475ea0
cmp dword [ebp - 0x790], 0
jne 0x476584
push 0x2b4
push 0
lea eax, [ebp - 0x788]
push eax
call fcn.004f2410
add esp, 0xc
mov dword [ebp - 0x79c], 0x110
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [ebp - 0x794], eax
jle 0x476511
mov ecx, dword [ebp - 0x79c]
mov dword [ebp - 0x79c], ecx
jmp 0x476520
mov edx, dword [ebp - 0x79c]
or edx, 1
mov dword [ebp - 0x79c], edx
lea ecx, [ebp - 0x94]
call fcn.0041d9e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x476542
mov dword [ebp - 0x7ac], 0x10
jmp 0x47654c
mov dword [ebp - 0x7ac], 0x80
mov eax, dword [ebp - 0x79c]
push eax
push 0x2b4
lea ecx, [ebp - 0x788]
push ecx
mov edx, dword [ebp - 0x7ac]
push edx
lea ecx, [ebp - 0x94]
call fcn.0041d9e0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x788]
mov dword [ebp - 0x790], eax
mov ecx, dword [ebp - 0x790]
mov dword [ebp - 0x7c8], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.0041d7b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0041d7b0
mov eax, dword [ebp - 0x7c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e185
mov esp, ebp
pop ebp
ret