Function at 0x4d9b88
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7e0
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x780], ebx
push esi
mov dword [ebp - 0x790], edi
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x20c]
push eax
push 0xb
call fcn.00403c82
add esp, 0x14
test eax, eax
je 0x4d9f34
push 0x2b4
lea eax, [ebp - 0x774]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x774]
push 0x4110
push 0x2b4
push eax
push 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [ebx + 0x2c], eax
test eax, eax
je 0x4d9f34
lea ecx, [ebx + 0x18]
call fcn.0043e2f5
mov eax, dword [edi]
mov esi, dword [eax]
mov dword [ebp - 0x77c], esi
cmp esi, eax
je 0x4d9c90
push 0x7b
pop ebx
push 0
lea ecx, [esi + 0x24]
call fcn.00402c26
cmp ax, bx
jne 0x4d9c71
mov eax, dword [esi + 0x38]
cmp dword [eax - 0xc], 0
jne 0x4d9c71
push esi
lea eax, [ebp - 0x778]
mov ecx, edi
push eax
call fcn.0043e3dc
mov esi, dword [ebp - 0x778]
mov dword [ebp - 0x77c], esi
jmp 0x4d9c82
lea ecx, [ebp - 0x77c]
call fcn.0040d404
mov esi, dword [ebp - 0x77c]
mov eax, dword [edi]
cmp esi, eax
jne 0x4d9c3c
mov esi, dword [eax]
mov ebx, dword [ebp - 0x780]
mov dword [ebp - 0x778], esi
cmp esi, eax
je 0x4d9edc
lea eax, [ebx + 0x24]
mov dword [ebp - 0x77c], eax
mov eax, dword [esi + 0x24]
sub eax, 0x10
push eax
call fcn.00402f5d
pop ecx
lea edi, [eax + 0x10]
cmp dword [edi - 0xc], 0
jl 0x4d9f47
push 0x7b
pop eax
cmp word [edi], ax
jne 0x4d9d46
lea eax, [esi + 0x14]
push eax
mov dword [ebp - 0x784], eax
lea ecx, [ebx + 0x24]
lea eax, [ebp - 0x798]
push eax
call fcn.004d86da
mov eax, dword [ebp - 0x798]
push 1
push 0
add eax, 0x30
push eax
push dword [esi + 0x20]
push dword [esi + 0x38]
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x7a0]
push eax
lea ecx, [ebx + 0x24]
call fcn.004d86da
mov eax, dword [ebp - 0x7a0]
lea ecx, [ebx + 0x24]
mov dword [eax + 0x1c], 1
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x7a8]
push eax
call fcn.004d86da
mov ecx, dword [ebp - 0x7a8]
lea eax, [esi + 0x44]
push eax
lea ecx, [ecx + 0x20]
call fcn.00402bd6
jmp 0x4d9ddb
mov ecx, dword [ebp - 0x77c]
lea ebx, [esi + 0x14]
push ebx
lea eax, [ebp - 0x7b0]
mov dword [ebp - 0x784], ebx
push eax
call fcn.004d86da
mov eax, dword [ebp - 0x7b0]
push 0x2b4
push 0
mov dword [eax + 0x1c], 2
lea eax, [ebp - 0x4c0]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x4c0]
push 0x200
push 0x2b4
push eax
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp - 0x77c]
lea eax, [ebp - 0x7b8]
push ebx
push eax
call fcn.004d86da
mov ebx, dword [ebp - 0x7b8]
lea eax, [ebp - 0x4b4]
push eax
call sub.msvcrt.dll_wcslen
pop ecx
push eax
lea eax, [ebp - 0x4b4]
push eax
lea ecx, [ebx + 0x20]
call fcn.00404550
mov ebx, dword [ebp - 0x780]
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x7c0]
push eax
lea ecx, [ebx + 0x24]
call fcn.004d86da
mov ecx, dword [ebp - 0x7c0]
lea eax, [esi + 0x24]
push eax
lea ecx, [ecx + 0x24]
call fcn.00402bd6
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x7c8]
push eax
lea ecx, [ebx + 0x24]
call fcn.004d86da
mov ecx, dword [ebp - 0x7c8]
lea eax, [esi + 0x38]
push eax
lea ecx, [ecx + 0x28]
call fcn.00402bd6
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x7d0]
push eax
lea ecx, [ebx + 0x24]
call fcn.004d86da
mov eax, dword [ebp - 0x7d0]
mov ecx, dword [esi + 0x20]
mov esi, dword [ebp - 0x784]
and dword [ebp - 0x788], 0
and dword [ebp - 0x78c], 0
mov dword [eax + 0x2c], ecx
lea eax, [ebp - 0x7d8]
push esi
push eax
lea ecx, [ebx + 0x24]
call fcn.004d86da
mov eax, dword [ebp - 0x7d8]
cmp dword [eax + 0x30], 0
jne 0x4d9eb5
lea eax, [ebp - 0x78c]
push eax
lea eax, [ebp - 0x788]
push eax
push edi
call fcn.004d92f9
add esp, 0xc
lea eax, [ebp - 0x7e0]
lea ecx, [ebx + 0x24]
push esi
push eax
call fcn.004d86da
push 0
push dword [ebp - 0x788]
push dword [ebx + 0x2c]
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov ecx, dword [ebp - 0x7e0]
mov dword [ecx + 0x30], eax
lea ecx, [edi - 0x10]
call fcn.004042e9
lea ecx, [ebp - 0x778]
call fcn.0040d404
mov eax, dword [ebp - 0x790]
mov esi, dword [ebp - 0x778]
cmp esi, dword [eax]
jne 0x4d9ca7
mov ecx, dword [ebx + 0x24]
xor esi, esi
mov eax, dword [ecx]
mov dword [ebp - 0x778], eax
cmp eax, ecx
je 0x4d9f2c
xor edi, edi
add eax, 0x14
lea ecx, [ebx + 0x18]
push eax
call fcn.0043a3b2
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x18]
imul ecx, esi
add ecx, 0xa
mov dword [edi + eax], ecx
lea ecx, [ebp - 0x778]
mov eax, dword [ebx + 0x18]
and dword [edi + eax + 4], 0
call fcn.0040d404
mov eax, dword [ebp - 0x778]
lea edi, [edi + 0x20]
inc esi
cmp eax, dword [ebx + 0x24]
jne 0x4d9eef
xor eax, eax
mov dword [ebx + 4], esi
inc eax
jmp 0x4d9f36
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 4
push 0x80070057
call fcn.00402ee3
int3