Function at 0x416d20
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e4e6
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x45c00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x348], ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push 8
mov dword [ebp - 0x350], eax
mov dword [ebp - 0x340], edi
call fcn.00449b46
mov esi, eax
mov dword [ebp - 0x70], 3
xor ebx, ebx
mov dword [ebp - 0x78], esi
xor eax, eax
mov dword [ebp - 0x344], ebx
add esp, 4
mov dword [ebp - 0x74], ebx
mov word [esi], ax
mov dword [ebp - 4], eax
lea ebx, [eax + 2]
cmp byte [edi], al
je 0x416e98
push dword [edi + 0xc]
lea ecx, [ebp - 0x54]
push dword [edi + 8]
call fcn.004250d0
xor esi, esi
add esp, 8
cmp word [ebp - 0x54], si
je 0x416dbc
inc esi
cmp word [ebp + esi*2 - 0x54], 0
jne 0x416db3
xor ecx, ecx
lea eax, [esi + 1]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
add esp, 4
mov dword [ebp - 0x6c], eax
lea ecx, [esi*2 + 2]
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
push ecx
lea ecx, [ebp - 0x54]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 1
push eax
mov edx, 0xdb0
lea ecx, [ebp - 0x84]
call fcn.004165f0
add esp, 4
mov dword [ebp - 0x34c], eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
cmp eax, ecx
je 0x416e7b
mov ebx, dword [eax + 4]
mov dword [ebp - 0x344], ebx
cmp ebx, 3
jbe 0x416e5c
xor ecx, ecx
lea eax, [ebx + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
add esp, 4
mov esi, eax
push dword [ebp - 0x78]
call fcn.00449b03
add esp, 4
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x70], ebx
jmp 0x416e5f
mov esi, dword [ebp - 0x78]
lea eax, [ebx*2 + 2]
mov dword [ebp - 0x74], ebx
push eax
mov eax, dword [ebp - 0x34c]
push dword [eax]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
push dword [ebp - 0x84]
call fcn.00449b03
add esp, 4
mov byte [ebp - 4], 0
push dword [ebp - 0x6c]
call fcn.00449b03
add esp, 4
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
lea ebx, [ecx + edx*2]
cmp ebx, ecx
je 0x416ec2
movzx eax, word [ebx - 2]
sub ebx, 2
cmp eax, 0x5c
je 0x417262
cmp eax, 0x2f
je 0x417262
cmp ebx, ecx
jne 0x416ea5
or ebx, 0xffffffff
xor eax, eax
lea esi, [ebx + 1]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
cmp esi, edx
jbe 0x416ed9
mov esi, edx
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
add esp, 4
mov dword [ebp - 0x68], esi
mov edi, eax
mov dword [ebp - 0x64], esi
mov eax, dword [ebp - 0x340]
add esi, esi
mov dword [ebp - 0x6c], edi
push esi
push dword [eax + 0x18]
push edi
call sub.msvcrt.dll_memcpy
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov byte [ebp - 4], 3
xor esi, esi
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x340]
mov edi, dword [eax + 0x18]
add edi, 2
cmp word [edi + ebx*2], si
lea edi, [edi + ebx*2]
je 0x416f4a
inc esi
cmp word [edi + esi*2], 0
jne 0x416f42
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
add esp, 4
mov dword [ebp - 0x84], eax
lea ecx, [esi*2 + 2]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], esi
push ecx
push edi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x348]
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 4
call fcn.00416be0
mov ecx, dword [ebp - 0x348]
lea eax, [ebp - 0x84]
push eax
call fcn.00416be0
mov esi, dword [ebp - 0x68]
xor ecx, ecx
mov edx, 2
lea edi, [esi + 1]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
add esp, 4
mov dword [ebp - 0x60], eax
lea ecx, [edi + edi]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
push ecx
push dword [ebp - 0x6c]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.00421600
mov ecx, dword [ebp - 0x60]
mov edx, 0xa
mov eax, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x80]
push esi
mov word [ecx + eax*2], dx
inc eax
xor edx, edx
mov dword [ebp - 0x5c], eax
mov word [ecx + eax*2], dx
lea ecx, [ebp - 0x60]
call fcn.00421690
mov ebx, dword [ebp - 0x60]
lea eax, [esi*2 + 2]
mov edi, dword [ebp - 0x5c]
push eax
push dword [ebp - 0x84]
lea ecx, [ebx + edi*2]
push ecx
call sub.msvcrt.dll_memcpy
add edi, esi
add esp, 0xc
mov dword [ebp - 0x5c], edi
cmp dword [ebp - 0x58], edi
jne 0x41704c
lea ecx, [ebp - 0x60]
call fcn.00421600
mov edi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x344]
mov eax, 0xa
mov word [ebx + edi*2], ax
xor ecx, ecx
lea eax, [edi + 1]
mov word [ebx + eax*2], cx
lea ecx, [ebp - 0x60]
push esi
mov dword [ebp - 0x5c], eax
call fcn.00421690
mov edi, dword [ebp - 0x60]
lea eax, [esi*2 + 2]
mov ebx, dword [ebp - 0x5c]
push eax
push dword [ebp - 0x78]
lea ecx, [edi + ebx*2]
push ecx
call sub.msvcrt.dll_memcpy
add ebx, esi
add esp, 0xc
mov dword [ebp - 0x5c], ebx
cmp dword [ebp - 0x58], ebx
jne 0x4170a5
lea ecx, [ebp - 0x60]
call fcn.00421600
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x60]
mov eax, 0xa
xor ecx, ecx
mov word [edi + ebx*2], ax
lea eax, [ebx + 1]
mov ebx, dword [ebp - 0x340]
mov word [edi + eax*2], cx
mov dword [ebp - 0x5c], eax
cmp byte [ebx + 1], cl
je 0x4171b7
mov edx, 0x3f4
lea ecx, [ebp - 0x35c]
call fcn.00416920
mov edi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x60]
push dword [edi + 4]
call fcn.00421690
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x5c]
lea ecx, [eax + esi*2]
mov eax, dword [edi + 4]
lea eax, [eax*2 + 2]
push eax
push dword [edi]
push ecx
call sub.msvcrt.dll_memcpy
add esi, dword [edi + 4]
add esp, 0xc
mov byte [ebp - 4], 5
mov dword [ebp - 0x5c], esi
push dword [ebp - 0x35c]
call fcn.00449b03
add esp, 4
xor esi, esi
inc esi
cmp byte [esi + 0x4530c4], 0
jne 0x417123
push esi
lea ecx, [ebp - 0x60]
call fcn.00421690
mov edi, dword [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x60]
lea edx, [eax + edi*2]
test esi, esi
je 0x417160
jmp 0x417150
movzx eax, byte [ecx + 0x4530c4]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jb 0x417150
xor eax, eax
lea ecx, [ebx + 0x10]
push eax
mov word [edx + esi*2], ax
add edi, esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0x5c], edi
push eax
call fcn.004251d0
add esp, 8
xor esi, esi
cmp byte [ebp - 0x34], 0
je 0x41718b
inc esi
cmp byte [ebp + esi - 0x34], 0
jne 0x417183
push esi
lea ecx, [ebp - 0x60]
call fcn.00421690
mov edi, dword [ebp - 0x60]
xor ecx, ecx
mov eax, dword [ebp - 0x5c]
lea edx, [edi + eax*2]
test esi, esi
je 0x4171b1
movzx eax, byte [ebp + ecx - 0x34]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jb 0x4171a3
xor eax, eax
mov word [edx + esi*2], ax
mov esi, dword [ebp - 0x348]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x110
push 0x2b4
lea eax, [ebp - 0x33c]
push eax
push 0x80
push dword [ebx + 0x18]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x417217
push dword [ebp - 0x350]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push dword [ebp - 0x33c]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call fcn.00449b03
add esp, 4
push dword [ebp - 0x84]
call fcn.00449b03
add esp, 4
push dword [ebp - 0x6c]
call fcn.00449b03
add esp, 4
push dword [ebp - 0x78]
call fcn.00449b03
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00449a40
mov esp, ebp
pop ebp
ret 0xc
sub ebx, ecx
sar ebx, 1
jmp 0x416ec5