Function at 0x404610
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x32e8
call fcn.00530230
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x32e4], eax
mov eax, dword [esp + 0x32f0]
push ebx
mov ebx, dword [esp + 0x32f0]
push ebp
mov ebp, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0xc], eax
cmp dword [ebp], 0
je 0x4049ae
push esi
xor esi, esi
nop
push 0
push esi
push 0x150
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x40469f
test eax, eax
je 0x40469f
mov ecx, dword [eax]
cmp ecx, 2
je 0x404676
cmp ecx, 3
jne 0x404696
push 0x1008
push eax
call fcn.0053000d
add esp, 8
push 0
push esi
push 0x144
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
dec esi
inc esi
cmp esi, 0x80
jl 0x404650
push edi
xor edi, edi
push 0
push edi
push 0x150
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x4048e2
test eax, eax
je 0x4048e2
cmp dword [eax], 0
jne 0x4046e2
movzx eax, word [eax + 8]
push eax
call fcn.004c1b20
movzx ecx, word [ebx]
mov esi, eax
push ecx
call fcn.004c1b20
cmp esi, eax
je 0x4046f0
inc edi
cmp edi, 0x80
jl 0x4046a2
jmp 0x4048e2
cmp word [ebx + 2], 0x3a
jne 0x404714
movzx eax, word [ebx + 4]
test ax, ax
je 0x4048d9
cmp eax, 0x5c
jne 0x404714
cmp word [ebx + 6], 0
je 0x4048d9
push 0x800
push ebx
lea eax, [esp + 0x2fc]
xor esi, esi
push eax
mov dword [esp + 0x1c], esi
call fcn.004bdae0
lea eax, [esp + 0x2f4]
push 0x5c
push eax
call fcn.005317e5
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4048b5
lea esp, [esp]
add ebx, 2
cmp word [ebx], 0
je 0x4048b5
push 0x800
push ebx
lea eax, [esp + 0x22fc]
push eax
call fcn.004bdae0
lea eax, [esp + 0x22f4]
push 0x5c
push eax
call fcn.005317e5
mov esi, eax
add esp, 8
test esi, esi
je 0x4048b1
xor eax, eax
mov word [esi], ax
lea eax, [esp + 0x2f4]
push 0x800
push eax
lea eax, [esp + 0x12fc]
push eax
call fcn.004bdae0
lea ecx, [esp + 0x2f4]
mov eax, ebx
sub eax, ecx
lea ecx, [esp + 0x22f4]
and eax, 0xfffffffe
sub eax, ecx
add eax, esi
sar eax, 1
lea eax, [eax*2 + 2]
cmp eax, 0x1000
jae 0x4049c7
xor ecx, ecx
push 0x1008
mov word [esp + eax + 0x12f8], cx
call fcn.0052ffdd
add esp, 4
mov esi, eax
lea eax, [esp + 0x12f4]
push 0x800
push eax
mov dword [esi], 3
mov dword [esi + 4], 0
call fcn.004bd740
push eax
lea ecx, [esi + 8]
push ecx
call fcn.004bdae0
push 0x4201
push 0x2b4
lea eax, [esp + 0x48]
push eax
push 0
lea eax, [esp + 0x1304]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [esp + 0x38], esi
lea eax, [esp + 0x22f4]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], 0
lea eax, [esi + 1]
mov dword [esp + 0x18], 0x37
add eax, edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esi + 3]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x40b
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x5c
inc esi
push ebx
mov dword [esp + 0x18], esi
call fcn.005317e5
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x404750
jmp 0x4048b5
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x3c]
lea eax, [edi + 1]
push 0
add eax, esi
mov ecx, ebp
push eax
lea eax, [esi + 3]
push eax
push dword [esp + 0x20]
push 0xffffffffffffffff
push 0
push 2
push ebx
call fcn.00403f10
mov edi, eax
cmp edi, 0xffffffff
jne 0x40499b
cmp word [ebx], 0x5c
jne 0x4048f4
cmp word [ebx + 2], 0x5c
jne 0x4048f4
mov edi, dword [ebp + 4]
jmp 0x4048f7
or edi, 0xffffffff
push 0x1008
call fcn.0052ffdd
add esp, 4
mov esi, eax
push 0x800
push ebx
mov dword [esi], 2
mov dword [esi + 4], 0
call fcn.004bd740
push eax
lea ecx, [esi + 8]
push ecx
call fcn.004bdae0
push 0x4203
push 0x2b4
lea eax, [esp + 0x48]
push eax
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], 0x37
test eax, eax
jne 0x404964
lea eax, [esp + 0x4c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x40b
push dword [ebp]
mov dword [esp + 0x48], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x44], 2
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
push 0
push edi
push 0x14e
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov ecx, dword [esp + 0x32ec]
pop ebp
pop ebx
xor ecx, esp
call fcn.00530218
add esp, 0x32e8
ret 8
call fcn.0053013d
int3