Function at 0x401bf0
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x444b4a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push ebx
push ebp
push esi
push edi
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
xor ebp, ebp
cmp edi, ebp
mov dword [esp + 0x1ac], ebp
je 0x401daf
mov eax, dword [esp + 0x1b8]
mov dword [edi + 0x10], ebp
push eax
call dword [sym.imp.MSVCRT.dll__strdup]
mov esi, dword [esp + 0x1c4]
mov ebx, dword [sym.imp.MSVCRT.dll_strchr]
add esp, 4
mov dword [edi], eax
mov dword [esp + 0x10], ebp
cmp byte [esi], 0x20
jne 0x401c64
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x401c5c
cmp byte [esi], 0
je 0x401d05
push 0x2c
push esi
call ebx
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x401c84
push eax
push esi
call ebx
add esp, 8
mov ebp, eax
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
mov byte [esp + 0x1ac], 1
je 0x401caf
mov ecx, ebp
sub ecx, esi
push ecx
push esi
mov ecx, eax
call fcn.004059c0
mov edi, eax
jmp 0x401cb1
xor edi, edi
mov eax, dword [esp + 0x10]
mov byte [esp + 0x1ac], 0
test eax, eax
lea esi, [esp + 0x10]
je 0x401ce4
mov edx, dword [esi]
mov ecx, dword [edi]
mov eax, dword [edx]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jle 0x401ce4
mov esi, dword [esi]
add esi, 4
cmp dword [esi], 0
jne 0x401cc5
mov edx, dword [esi]
mov dword [edi + 4], edx
mov dword [esi], edi
cmp byte [ebp], 0
je 0x401cff
mov edi, dword [esp + 0x14]
lea esi, [ebp + 1]
xor ebp, ebp
jmp 0x401c57
mov edi, dword [esp + 0x14]
xor ebp, ebp
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x1bc]
mov dword [edi + 8], eax
mov dword [esp + 0x10], ebp
cmp byte [esi], 0x20
jne 0x401d24
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x401d1c
cmp byte [esi], 0
je 0x401d91
push 0x2c
push esi
call ebx
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x401d40
push ebp
push esi
call ebx
add esp, 8
mov edi, eax
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebp
mov byte [esp + 0x1ac], 2
je 0x401d69
mov ecx, edi
sub ecx, esi
push ecx
push esi
mov ecx, eax
call fcn.004059c0
jmp 0x401d6b
xor eax, eax
lea edx, [esp + 0x10]
mov ecx, eax
push edx
mov byte [esp + 0x1b0], 0
call fcn.00405a50
cmp byte [edi], 0
je 0x401d8d
lea esi, [edi + 1]
mov edi, dword [esp + 0x14]
jmp 0x401d17
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c4]
mov eax, dword [esp + 0x10]
push 0x2c
push ecx
mov dword [edi + 4], eax
call fcn.00405a90
add esp, 8
mov dword [edi + 0xc], eax
jmp 0x401db1
xor edi, edi
mov eax, dword [0x453018]
mov esi, 0x453018
cmp eax, ebp
je 0x401ddd
mov edx, dword [esi]
mov ecx, dword [edi]
mov eax, dword [edx]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jle 0x401ddd
mov esi, dword [esi]
add esi, 0x10
cmp dword [esi], ebp
jne 0x401dbf
mov edx, dword [esi]
mov ebx, dword [esp + 0x1b8]
push 2
push 0x44b244
mov dword [edi + 0x10], edx
push ebx
mov dword [esi], edi
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x401e47
mov eax, dword [0x453008]
push 0xcb
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, dword [esp + 0x1b4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push 1
push 0x1002
push esi
mov ebx, eax
call edi
push ebx
push 0xffffffffffffffff
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push ebx
mov ebp, eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ebx, dword [esp + 0x1b8]
jmp 0x401ea2
mov ecx, 0x57
xor eax, eax
lea edi, [esp + 0x48]
mov dword [esp + 0x44], ebp
rep stosd dword es:[edi], eax
push 0x111
lea ecx, [esp + 0x48]
push 0x160
push ecx
push ebp
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov esi, dword [esp + 0x1b4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push 1
push 0x1002
push esi
call edi
mov edx, dword [esp + 0x44]
push edx
push 0xffffffffffffffff
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov ebp, eax
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 3
push ecx
push 0
push 0x1007
push esi
mov dword [esp + 0x2c], SysStringLen
mov dword [esp + 0x30], 0
mov dword [esp + 0x44], ebp
mov dword [esp + 0x3c], ebx
call edi
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], eax
push edx
push 0
push 0x1006
push esi
mov dword [esp + 0x28], 4
mov dword [esp + 0x48], eax
call edi
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x1bc]
lea ecx, [esp + 0x18]
inc ebp
push ecx
push 0
push 0x1006
push esi
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], eax
call edi
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x1c0]
lea eax, [esp + 0x18]
inc ebp
push eax
push 0
push 0x1006
push esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], edx
call edi
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c4]
lea edx, [esp + 0x18]
inc ebp
push edx
push 0
push 0x1006
push esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], ecx
call edi
mov ecx, dword [esp + 0x1a4]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a0
ret