Function at 0x431395
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x44f56d
call fcn.0044d07c
mov eax, dword [ebp + 8]
sub esp, 0x2cc
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
je 0x4315a9
cmp byte [eax], bl
je 0x4315a9
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov edi, dword [ebp + 0x10]
shr edi, 0x10
mov dword [ebp - 0x1c], ebx
cmp edi, ebx
jne 0x4313e6
mov ecx, dword [ebp + 0x10]
and cl, 5
movzx edi, cl
neg edi
sbb edi, edi
and edi, 0x10
add edi, 0x10
push eax
lea ecx, [ebp - 0x10]
call fcn.00404b9e
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x431402
mov dword [eax], ebx
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 5
call esi
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0x3a
jne 0x43143e
push ecx
lea ecx, [ebp - 0x14]
call fcn.0043d5be
test al, al
je 0x431512
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 8
jmp 0x431512
mov eax, dword [ebp + 0xc]
cmp eax, 0x80000000
jne 0x43144e
xor eax, eax
or dword [ebp + 0x10], 2
test byte [ebp + 0x10], 4
je 0x431496
push 0x10
push edi
push edi
push 2
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
call esi
mov byte [ebp - 4], bl
push dword [ebp - 0x10]
call fcn.0043c28e
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], ebx
je 0x43148f
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
jmp 0x4315ab
cmp eax, ebx
jne 0x4315cd
test byte [ebp + 0x10], 2
jne 0x4315cd
push ecx
call fcn.00430c35
pop ecx
test al, al
jne 0x43150b
push str..ico
push dword [ebp + 8]
call fcn.0042e7ce
test al, al
je 0x4314dd
push 0x10
push edi
push edi
push 1
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x431512
jmp 0x431464
push str..exe
push dword [ebp + 8]
call fcn.0042e7ce
test al, al
je 0x431512
push ebx
push 1
push ebx
lea eax, [ebp - 0x20]
push eax
push edi
push edi
push ebx
push dword [ebp - 0x10]
call dword [0x461fcc]
cmp eax, 1
je 0x4315e6
mov dword [ebp - 0x1c], 0x10
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x43151c
or dword [eax], 1
test byte [ebp - 0x1c], 0x10
jne 0x431540
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push edi
push eax
push ebx
push ebx
push dword [ebp + 8]
call fcn.0043113c
add esp, 0x18
cmp eax, 2
je 0x4315e6
xor eax, eax
cmp edi, 0x18
setl al
mov edi, 0x2b4
push edi
push ebx
or dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2d8]
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x1c]
add esp, 0xc
or eax, 0x4000
push eax
push edi
lea eax, [ebp - 0x2d8]
push eax
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp eax, ebx
jne 0x4315ba
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
call esi
mov byte [ebp - 4], bl
push dword [ebp - 0x10]
call fcn.0043c28e
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], ebx
je 0x4315a9
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push ebx
push dword [ebp - 0x2d4]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
jmp 0x431464
push ebx
push 1
push ebx
lea ecx, [ebp - 0x20]
push ecx
push edi
push edi
push eax
push dword [ebp - 0x10]
call dword [0x461fcc]
cmp eax, 1
jne 0x431580
mov edi, dword [ebp - 0x20]
jmp 0x431466