Function at 0x4579d0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46d086
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1284
call fcn.00462760
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
mov dword [esp + 0x129c], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x129c], 1
call fcn.00449350
mov al, byte [ebx + 4]
test al, al
je 0x457bc6
lea eax, [esp + 0x54]
push eax
push 0x1000
lea ecx, [esp + 0x298]
push ecx
call dword [ebx + 0x17c]
test eax, eax
je 0x457bdf
mov eax, dword [esp + 0x54]
shr eax, 2
xor esi, esi
cmp eax, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], esi
jbe 0x457de0
lea ebx, [ebx]
mov ecx, dword [0x40b02c]
mov edx, dword [0x40b030]
mov dword [esp + 0x60], ecx
xor eax, eax
mov dword [esp + 0x64], edx
mov ecx, 0x3f
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
lea eax, [esp + esi*4 + 0x290]
mov dword [esp + 0x50], eax
mov eax, dword [eax]
push eax
push 0
push 0x410
call dword [sym.imp.kernel32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x457bb0
lea ecx, [esp + 0x5c]
push ecx
push 4
lea edx, [esp + 0x60]
push edx
push edi
call dword [ebx + 0x180]
test eax, eax
je 0x457ba9
mov ecx, dword [esp + 0x58]
push 0x104
lea eax, [esp + 0x64]
push eax
push ecx
push edi
call dword [ebx + 0x188]
push 0x100
push 0x160
lea esi, [ebx + 5]
push esi
push 0
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.shell32.dll_SHGetFileInfo]
mov eax, dword [esi]
mov dword [esp + 0x40], eax
xor eax, eax
lea ebx, [ebx]
mov cl, byte [esp + eax + 0x60]
mov byte [esp + eax + 0x188], cl
inc eax
test cl, cl
jne 0x457b20
lea ecx, [esp + 0x188]
push ecx
call fcn.0046bc10
lea edx, [esp + 0x18c]
push 0x5c
push edx
call fcn.004627a0
lea eax, [esp + 0x194]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x457b60
sub eax, edx
push eax
lea eax, [esp + 0x18c]
push eax
lea ecx, [esp + 0x2c]
call fcn.00436410
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx]
lea edx, [esp + 0x60]
push edx
push eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call fcn.00457050
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x14]
call fcn.00457940
mov esi, dword [esp + 0xc]
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
mov dword [esp + 0xc], esi
jb 0x457a80
jmp 0x457dde
push edi
push 2
mov dword [esp + 0x68], 0x128
call dword [ebx + 0x168]
cmp eax, edi
mov dword [esp + 0xc], eax
jne 0x457c24
mov esi, dword [ebp + 8]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00457870
lea ecx, [esp + 0x10]
call fcn.00449350
cmp dword [esp + 0x3c], 0x10
jb 0x457c0b
mov eax, dword [esp + 0x28]
push eax
call fcn.00461b2d
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x1294]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x60]
push ecx
push eax
call dword [ebx + 0x16c]
test eax, eax
je 0x457de0
xor eax, eax
lea ebx, [ebx]
mov cl, byte [esp + eax + 0x84]
mov byte [esp + eax + 0x188], cl
inc eax
test cl, cl
jne 0x457c40
lea edx, [esp + 0x188]
push edx
call fcn.0046bc10
mov esi, dword [sym.imp.shell32.dll_SHGetFileInfo]
add esp, 4
push 0x100
push 0x160
lea edi, [ebx + 5]
push edi
push 0
lea eax, [esp + 0x94]
push eax
call esi
mov ecx, dword [edi]
lea edx, [esp + 0x188]
push 0x5c
push edx
mov dword [esp + 0x48], ecx
call fcn.004627a0
lea eax, [esp + 0x190]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x457ca5
sub eax, edx
push eax
lea eax, [esp + 0x18c]
push eax
lea ecx, [esp + 0x2c]
call fcn.00436410
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x84]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
mov ecx, ebx
mov dword [esp + 0x50], eax
call fcn.00457050
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
call fcn.00457940
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x60]
push ecx
push edx
call dword [ebx + 0x170]
test eax, eax
je 0x457dde
jmp 0x457d10
xor eax, eax
jmp 0x457d20
mov cl, byte [esp + eax + 0x84]
mov byte [esp + eax + 0x188], cl
inc eax
test cl, cl
jne 0x457d20
lea eax, [esp + 0x188]
push eax
call fcn.0046bc10
add esp, 4
push 0x100
push 0x160
push edi
push 0
lea ecx, [esp + 0x94]
push ecx
call esi
mov edx, dword [edi]
lea eax, [esp + 0x188]
push 0x5c
push eax
mov dword [esp + 0x48], edx
call fcn.004627a0
lea eax, [esp + 0x190]
add esp, 8
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x457d80
sub eax, edx
push eax
lea ecx, [esp + 0x18c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00436410
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x84]
push edx
push eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call fcn.00457050
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x14]
call fcn.00457940
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x60]
push edx
push eax
call dword [ebx + 0x170]
test eax, eax
jne 0x457d10
xor edi, edi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00457870
mov ebx, dword [esp + 0x14]
cmp ebx, edi
je 0x457e35
mov edi, dword [esp + 0x18]
cmp ebx, edi
je 0x457e2c
lea esi, [ebx + 0x18]
cmp dword [esi], 0x10
jb 0x457e11
mov edx, dword [esi - 0x14]
push edx
call fcn.00461b2d
add esp, 4
mov dword [esi], 0xf
mov dword [esi - 4], 0
mov byte [esi - 0x14], 0
add esi, 0x2c
lea eax, [esi - 0x18]
cmp eax, edi
jne 0x457e00
push ebx
call fcn.00461b2d
add esp, 4
cmp dword [esp + 0x3c], 0x10
jb 0x457e49
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00461b2d
add esp, 4
mov ecx, dword [esp + 0x1294]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4