Function at 0x477750
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bea3
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x604654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 6
push 0x5b2614
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00434740
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
push 6
cmovae edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x1ac]
xor esi, esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x18c], esi
push str.folder
mov dword [ebp - 0x19c], esi
mov dword [ebp - 0x198], 7
mov word [ebp - 0x1ac], ax
call fcn.00413b10
lea eax, [ebp - 0x1ac]
mov ecx, 0x610560
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.0045dd70
mov edx, dword [ebp - 0x198]
cmp edx, 8
jb 0x47783b
mov ecx, dword [ebp - 0x1ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x477831
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4779f4
push edx
push ecx
call fcn.004a3dd5
add esp, 8
mov eax, dword [ebp - 0x18c]
cmp eax, dword [0x610564]
je 0x477851
mov esi, dword [eax + 0x20]
jmp 0x47797b
push 0x4110
push 0x160
lea eax, [ebp - 0x188]
push eax
push 0x10
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x47797b
push dword [ebp - 0x188]
call dword [sym.imp.USER32.dll_DestroyIcon]
push 6
xor eax, eax
mov dword [ebp - 0x19c], esi
push str.folder
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x198], 7
mov word [ebp - 0x1ac], ax
call fcn.00413b10
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x18c]
mov dword [ebp - 0x18c], 0
push eax
mov ecx, 0x610560
call fcn.0045dd70
mov eax, dword [ebp - 0x18c]
mov ecx, dword [0x610564]
cmp eax, ecx
jne 0x477955
mov esi, dword [ecx]
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x18c], eax
mov ecx, 0x610564
lea eax, [ebp - 0x191]
push eax
mov edi, dword [esi + 4]
lea eax, [ebp - 0x18c]
push eax
push 0x5ab8f8
push edi
push esi
call fcn.0046f220
mov edx, eax
mov ecx, 0x71c71c6
mov eax, dword [0x610568]
sub ecx, eax
cmp ecx, 1
jb 0x4779f9
inc eax
mov ecx, 0x610560
mov dword [0x610568], eax
mov dword [esi + 4], edx
mov dword [edi], edx
mov eax, dword [0x610564]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.00440e90
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x184]
and ecx, 0xffffff
mov dword [eax + 0x20], ecx
lea ecx, [ebp - 0x1ac]
call fcn.0040c130
mov esi, dword [ebp - 0x184]
and esi, 0xffffff
mov eax, dword [0x610548]
test eax, eax
jne 0x47799b
push 0x610548
push 0x5b3a90
push 1
call dword [sym.imp.SHELL32.dll_SHGetImageList]
mov eax, dword [0x610548]
push 1
push esi
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov edx, dword [ebp - 0x14]
mov esi, eax
cmp edx, 0x10
jb 0x4779d7
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4779cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477a03
push edx
push ecx
call fcn.004a3dd5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a408b
mov esp, ebp
pop ebp
ret
call fcn.0053fae3
push str.list_T__too_long
call fcn.0047e67e
call fcn.0053fae3
int3